Open
Description
This an issue to track all default gems with an extension, which might need specific support for TruffleRuby.
For some, we might just reuse the C extension and add TruffleRuby in the CI of those gems.
These default extension gems are problematic when they included in a Gemfile.lock, https://bugs.ruby-lang.org/issues/18567#note-30 has more details.
Related JRuby issue: jruby/jruby#6682
For some extensions gems, we have a different implementation, typically pure-Ruby.
For some extensions gems we use them as-is (just need to add truffleruby in CI).
- bigdecimal: Add TruffleRuby in CI ruby/bigdecimal#247
- cgi: should add to CI and look into failures. JRuby support PR for cgi/escape Add TruffleRuby support and add it in CI ruby/cgi#44
- date: Add TruffleRuby in CI ruby/date#115
- digest: Add Digest framework support #1390 We probably want to use the C extension to support
ruby/digest.h
- etc: Add TruffleRuby in CI and use the correct fallback pattern for rb_io_descriptor() ruby/etc#27
- fcntl
- fiddle: Use JRuby implementation for TruffleRuby ruby/fiddle#149
- io-console: Use the C extension on truffleruby ruby/io-console#23
- io-nonblock: Add TruffleRuby & JRuby in CI and use the correct fallback pattern for rb_io_descriptor() ruby/io-nonblock#12
- io-wait
- json: Test with TruffleRuby in CI ruby/json#402
- openssl
- pathname
- psych
- racc
- readline-ext
- stringio: we have a pure-Ruby implementation, similar to strscan Do not compile the C extension on TruffleRuby ruby/stringio#71
- strscan: we have a pure-Ruby implementation require "strscan.so" uses the strscan gem and does not work #2420 Add support for TruffleRuby in the gem ruby/strscan#35
- syslog
- zlib Add truffleruby-head in CI ruby/zlib#62
Pure-Ruby gems (good to add truffleruby in CI):
- logger: Add TruffleRuby in CI ruby/logger#115
- rdoc: Use a more portable way to check if code is parseable ruby/rdoc#1032
- reline: Add TruffleRuby in CI ruby/reline#768
- timeout: Reimplement Timeout.timeout with a single thread and a Queue ruby/timeout#15 the original pure-Ruby impl is too slow with 1 new Thread per call
- net-imap: Add JRuby and TruffleRuby to CI ruby/net-imap#454
- drb: Failures in test suite running on JRuby ruby/drb#36