truffleruby
truffleruby copied to clipboard
A high performance implementation of the Ruby programming language, built on GraalVM.
It looks like it isn't possible to override instance methods in a `::Data` subclass that is simply inheriting but not defining any fields. ```ruby #!/usr/bin/env ruby puts ?=*72 puts "Ruby...
The background is [this](https://graalvm.slack.com/archives/CMY63522F/p1749381199598639) Slack conversation with @eregon: I'd like to use TruffleRuby to programmatically run CocoaPods (which is written in Ruby) from a Kotlin/JVM application. It seems the easiest...
With SubstrateVM now compiling to WASI p1 with `--tool:svm-wasm`, next is TruffleRuby running on WASM. I tried running the following with `--tool:svm-wasm`, but it looks like the `--language:ruby` flag was...
I tried to run the [google-protobuf](https://github.com/protocolbuffers/protobuf/tree/main/ruby) test suite on TruffleRuby and encountered a segfault. I haven't been able to track down the cause of the segfault, but I have stripped...
Any help is appreciated whether it is: * implementing one of the Ruby 3.4 changes in TruffleRuby, and ensuring it is tested in specs or MRI tests and otherwise add...
While running the Protobuf test suite in order to reproduce #3860 I sporadically would receive a `StackOverflow` error. This occurred while running the test suite with a debug build of...
Hi, while it isn't super common, it'd be nice to support passing and retrieving structs by value with FFI. ```ruby require "ffi" module Hello extend FFI::Library ffi_lib "./libhello.dylib" class World...
From https://github.com/ruby/setup-ruby/actions/runs/15056771433/job/42324279144?pr=762 (https://github.com/ruby/setup-ruby/pull/762) Also https://github.com/ruby/setup-ruby/actions/runs/15068319050/job/42358221400 and more ``` Caused by: (java.lang.NullPointerException) from org.truffleruby.core.hash.library.PackedHashStoreLibrary.getHashed(PackedHashStoreLibrary.java:78) from org.truffleruby.core.hash.library.PackedHashStoreLibrary$LookupPackedEntryNode.getPackedArray(PackedHashStoreLibrary.java:485) from org.truffleruby.core.hash.library.PackedHashStoreLibraryFactory$LookupPackedEntryNodeGen.execute(PackedHashStoreLibraryFactory.java:140) from org.truffleruby.core.hash.library.PackedHashStoreLibrary.lookupOrDefault(PackedHashStoreLibrary.java:176) from org.truffleruby.core.hash.library.PackedHashStoreLibraryGen$HashStoreLibraryExports$Cached.lookupOrDefault(PackedHashStoreLibraryGen.java:443) from org.truffleruby.core.hash.HashNodes$GetIndexNode.get(HashNodes.java:209) from org.truffleruby.core.hash.HashNodesFactory$GetIndexNodeFactory$GetIndexNodeGen.execute(HashNodesFactory.java:671) from org.truffleruby.language.RubyCoreMethodRootNode.execute(RubyCoreMethodRootNode.java:58) /home/runner/.rubies/truffleruby-head/lib/mri/psych/visitors/visitor.rb:30:in `[]' from...
`ruby --version` ``` truffleruby 24.1.1, like ruby 3.2.4, Oracle GraalVM Native [x86_64-linux] ``` `gem install numo-narray` ``` compiling narray.c narray.c: In function ‘nary_copy_flags’: narray.c:948:5: error: implicit declaration of function ‘RBASIC’...
When I was trying to work around https://github.com/oracle/truffleruby/issues/3839 by setting the `BUNDLE_GEMFILE` environment variable, I realized that this also does not work: If I do `context.environment("BUNDLE_GEMFILE", "$workingDir/Gemfile")`, then `ENV['BUNDLE_GEMFILE']` is...