truffleruby
truffleruby copied to clipboard
A high performance implementation of the Ruby programming language, built on GraalVM.
``` core/truffle/ffi/pointer.rb:255:in `autorelease=' core/truffle/ffi/pointer.rb:255:in `new' core/truffle/ffi/pointer.rb:262:in `from_string' core/posix.rb:330:in `block (2 levels) in with_array_of_strings_pointer' core/posix.rb:329:in `map' core/posix.rb:329:in `block in with_array_of_strings_pointer' core/truffle/ffi/pointer.rb:250:in `new' core/posix.rb:328:in `with_array_of_strings_pointer' core/truffle/process_operations.rb:488:in `block in posix_spawnp' core/posix.rb:322:in `block in...
@gogainda [suggested](https://github.com/mudge/re2/pull/48#issuecomment-782714323) I report the following [build error when trying to test re2 against TruffleRuby HEAD](https://github.com/mudge/re2/pull/48/checks?check_run_id=1942571651): ``` *** Error in `/home/runner/.rubies/truffleruby-head/bin/truffleruby': malloc(): smallbin double linked list corrupted: 0x000000000b4ce570 *** =======...
```ruby class Foo def test TEST end end Bar1 = Foo.clone Bar1::TEST = 1 p Bar1.new.test # 1 on MRI 2.4.x ~ 3.0.0, NameError on TruffleRuby 21.0.0 ```
We're missing a few standard tags, like `RootBodyTag`, `CallTag`, `TryBlockTag`, and so on. Should we implement all of them? No particular need in mind though.
Truffleruby ``` ruby -e "puts Float(0.1e24)" 9.999999999999999e+22 ``` CRuby ``` ruby -e "puts Float(0.1e24)" 1.0e+23 ```
Full log: https://gist.github.com/gogainda/4606b4ef66d35a9436ff7be8577620d7 Haven't seen it before for Webrick ``` Leaked thread: TestWEBrickHTTPAuth#test_digest_auth_invalid: # [ 33/134] TestWEBrickHTTPProxy#test_connect[To redirect Truffle log output to a file use one of the following options:...
We should optimize `Thread.detect_recursion`, e.g., by moving some of it to Java, using EconomicMap instead of `{}.compare_by_identity` which forces computing `object_id`. That should also do the optimization of not computing...
This would make the error in such cases much clearer, rather than showing some random ABI mistmatch error. One idea is that TruffleRuby would define some global variable in the...
I'm not sure, if this is the right place to put in here. `childprocess` is used by `selenium-webdriver` (see https://rubygems.org/gems/childprocess/reverse_dependencies) `selenium-webdriver` gem is used by many testing libraries such as...
Implemented in https://github.com/ffi/ffi/commit/f8cfe29f2e4e1968651b165648886722173719c6.