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

MRI (CRuby) has a library to call out to Python called [pycall.rb](https://github.com/mrkn/pycall.rb). It would be interesting to make this work in GraalVM with TruffleRuby + GraalPython, where we could likely...

polyglot

I'll look into reducing the number of AST nodes we produce for Ruby code. Less nodes means less footprint, less deep (Java) stacks, faster interpreter, and maybe slightly faster PE....

performance

(discovered this while pairing with @chrisseaton on https://github.com/oracle/truffleruby/pull/2308) ```ruby puts RUBY_DESCRIPTION source = format('%s', 'foobar'.encode('utf-16le')) puts source.encoding ``` On MRI: ``` ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19] UTF-16LE ``` On...

compatibility

# Issue [WPScan](https://github.com/wpscanteam/wpscan) is a WordPress vulnerability scanner written in Ruby. Installation works fine on Fedora 30 after providing the following dependencies: ## Environment ``` (wpscan) [josevnz@macmini2 ~]$ uname -a...

The test suite of https://github.com/rubocop/rubocop-ast runs in ~4 seconds in Ruby TruffleRuby takes over 2 minutes. TruffleRuby-head in 3 successive runs took [3m26s](https://github.com/rubocop/rubocop-ast/runs/2062457261?check_suite_focus=true), failed (sorry no link) after 10 minutes...

performance

Today's jodosha released his ruby web benchmark (see https://twitter.com/hanamirb/status/1233002378930065408). So I wanted to try `hanami-api` and TruffleRuby. Unfortunately, `hanami-api` requires `2.7`. OK. So let's run rails and 10000 routes. And...

performance

https://github.com/thbar/kiba/ and https://github.com/thbar/kiba-ruby-benchmarks From https://github.com/oracle/truffleruby/issues/1054

performance

Due to probably how our `bin/rake`, etc, look like. See https://github.com/rubygems/rubygems/issues/3246#issuecomment-606764738

performance
priority

From discussion at https://github.com/oracle/truffleruby/issues/2257#issuecomment-785870837 For `Truffle::Interop.source_location`, `[String, Integer]` seems obvious. For date/time-related InteropLibrary messages, it's not that clear, but at least we should treat foreign date+time+zone the same as Ruby's...

polyglot

Tests are passing, but `run test` stage is failing ``` # Running: /home/runner/work/sidekiq/sidekiq/vendor/bundle/truffleruby/21.1.0-dev-3b05154d/gems/rack-2.2.3/lib/rack/media_type.rb:18: warning: `&' interpreted as argument prefix /home/runner/work/_temp/5ecf03dc-4058-4ee7-9ba1-cd5bb6a9ccd7.sh: line 1: 3639 Killed bundle exec rake Error: Process completed...

memory-footprint