truffleruby
truffleruby copied to clipboard
A high performance implementation of the Ruby programming language, built on GraalVM.
Given the following snippet: ```ruby class A def to_str "bang" end end Regexp.new(A.new) ``` CRuby will return `/bang/`. Truffleruby fails: ``` TruffleRuby doesn't have a case for the org.truffleruby.core.regexp.RegexpNodesFactory$RegexpCompileNodeFactory$RegexpCompileNodeGen node...
As mentioned in https://github.com/redis/hiredis-rb/pull/81, the test for the native extension seems to be failing at the moment. From https://github.com/redis/hiredis-rb/runs/7707432485?check_suite_focus=true: ``` [ [ SubstrateSegfaultHandler caught a segfault in thread 0x000055c1fbb29300 ]...
`define_method` when used with a block, generates a new call target every time. This is because the captured environment for the block needs to be injected into the method. This...
`Digest::RMD160` appears to be missing? ## Steps To Reproduce ```shell truffleruby -r digest -e 'p Digest::RMD160' ``` ### Expected Result ``` Digest::RMD160 ``` ### Actual Result ``` -e:1:in `const_missing': uninitialized...
Example: https://github.com/ruby-grape/grape/actions/runs/1699176889
https://github.com/ioquatix/sus/runs/4726484058?check_suite_focus=true This failure means there is probably something wrong with singleton_class and prepend in TruffleRuby. Line one is what we got and line two is what we want. ``` describe...
See https://github.com/jeremyevans/sequel/pull/1737#issuecomment-738999495 Related: https://github.com/oracle/truffleruby/issues/2227
I am playing with the Rails Simple Benchmark to get some performance information across Ruby impls. Running TruffleRuby 20.2 today I had the server crash with a segv. The app...
Extracted from #1398, to keep track more easily of it. @deepj noticed bundler/rubygems generates a lot of exceptions See https://gist.github.com/deepj/9a6dccfadd621780242a698274f7396a This was generated using `RUBYOPT=-d ruby bug.rb` where `bug.rb` comes...