truffleruby icon indicating copy to clipboard operation
truffleruby copied to clipboard

A high performance implementation of the Ruby programming language, built on GraalVM.

Results 235 truffleruby issues
Sort by recently updated
recently updated
newest added

Hi! The suite of Zeitwerk has [this test](https://github.com/fxn/zeitwerk/blob/49e61a98f6a6b95604e75750dbed9d069b82e968/test/lib/zeitwerk/test_concurrency.rb#L4-L19) to check autoloading blocks context switching (autoloading is thread-safe): ```ruby test "constant definition is synchronized" do files = [["m.rb",

compatibility

truffleruby 22.1.0, like ruby 3.0.2, GraalVM CE Native [x86_64-linux] Hit this randomly this morning doing a `bundle install` for a project called memfs (https://github.com/simonc/memfs). I was unable to replicate though....

bug

Hey there truffle-ruby devs and users. I am not sure if I made this suggestion before or not (I tend to often suggest more examples and documentation in many different...

documentation

Hey there eregon and others. A new GraalVM release is out and I wanted to test it. This is the copy/paste example I used: import org.graalvm.polyglot.*; class Embedding { public...

documentation
embedding

When I attempt to run large batch jobs with "nohup" with several different Rubies, TruffleRuby crashes because it can't correctly hook up STDERR. Specifically, what I see on all the...

compatibility

Truffleruby on the master branch declares [`rb_io_wait`](https://github.com/oracle/truffleruby/blob/0345f913981d115434f84b3efb3b4ccc6da10e2c/lib/cext/include/ruby/io.h#L166) but doesn't implement it. It also defines [`RUBY_IO_READABLE`](https://github.com/oracle/truffleruby/blob/0345f913981d115434f84b3efb3b4ccc6da10e2c/lib/cext/include/ruby/io.h#L45) without using it. This issue leads to a build error in ruby-pg [here](https://github.com/ged/ruby-pg/runs/4752866844?check_suite_focus=true#step:10:131). The `extconf.rb`...

There are plenty Ruby native gems written in C++ using rice gem. Currently, there is no option to compile them with TruffleRuby. Especially, there are missing C++ tools bundled with...

cexts

See https://github.com/ffi/ffi/pull/949#issuecomment-1098175336

compatibility
ffi

From @nateberkopec https://twitter.com/nateberkopec/status/1096880039491133441 Instructions to reproduce at https://gist.github.com/nateberkopec/a612498e9719af6b8775ecdcb8afaa18 (time to process 20 000 empty jobs with Sidekiq). We should investigate why it's slow. `hiredis` does not work yet (#1546). @nateberkopec...

performance

The following behavior is probably an artifact of the underlying implementation rather than a deliberate design choice, but I thought I would mention it: Given the following layout: ``` foo/a.h...