truffleruby
truffleruby copied to clipboard
A high performance implementation of the Ruby programming language, built on GraalVM.
Here is a scenario to reproduce ```ruby # server.rb. No matter on which Ruby version it's running require 'socket' server = TCPServer.open(2000) loop { Thread.start(server.accept) do |client| client.puts "Hello world"...
Repeating a bit of background information from [this](https://graalvm.slack.com/archives/CMY63522F/p1709377340526689) Slack conversation: I'm setting up a Kotlin / Gradle project (with a non-GraalVM JDK) in which I'd like to use TruffleRuby to...
We previously started experimenting with moving a large Rails application to Truffleruby but hit several walls so far. We are on `truffleruby-jvm-24.0.01`. Please find the stacktrace below ``` dead handle...
👋 Hi! I recently looked at the CI run on the upstream repo. The job truffleruby-head on ubuntu-latest took a while (>26 minutes) to do anything in the step that...
Found by @mohamedhafez and reported [on Slack](https://graalvm.slack.com/archives/CMY63522F/p1720972187225879): ``` class: TypeError TruffleRuby doesn't have a case for the org.truffleruby.cext.CExtNodesFactory$RbStrResizeNodeFactory$RbStrResizeNodeGen node with values of type java.lang.Boolean=false java.lang.Integer=0 from org.truffleruby.cext.CExtNodesFactory$RbStrResizeNodeFactory$RbStrResizeNodeGen.executeAndSpecialize(CExtNodesFactory.java:4234) from org.truffleruby.cext.CExtNodesFactory$RbStrResizeNodeFactory$RbStrResizeNodeGen.execute(CExtNodesFactory.java:4212) from...
In the Readme, it does not specify how to install TruffleRuby in JVM mode from RVM. If that's not supported, perhaps the Readme could mention that?
From https://bugs.ruby-lang.org/issues/19293 As of CRuby 3.2.3 `Time.new` can take a string, parse it, and error if time info is missing. The current behavior of TruffleRuby does not error, but worse,...
MRI ``` irb(main):001> a = 0.8241000000000004.round(10) => 0.8241 irb(main):002> b = 0.8241000000000002.round(10) => 0.8241 irb(main):003> a == b => true ``` TruffleRuby ``` irb(main):001:0> a = 0.8241000000000004.round(10) => 0.8241 irb(main):002:0>...
https://github.com/jeremyevans/roda/blob/2bb51f46150c0a477b697f09b42efa29b947941a/lib/roda/plugins/sinatra_helpers.rb#L389 ```ruby def status(value = nil || (return @status)) @status = value end ``` CI failure https://github.com/jeremyevans/roda/actions/runs/10911350202/job/30283813459 Reported by @jeremyevans Most likely caused by https://github.com/oracle/truffleruby/commit/0f7290540e245c582a7c1bd016a76249c262b7d2 Already fixed in Prism upstream,...