Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
A high performance implementation of the Ruby programming language, built on GraalVM.
翻訳待ち
Loading the full README.
Read the full README ↗TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language.
TruffleRuby comes in two distributions:
You can install either of those:
VERSION by dev).Native Standalone:
$ rbenv install truffleruby-VERSION
$ ruby-build -d truffleruby-VERSION ~/.rubies
$ asdf install ruby truffleruby-VERSION
$ mise install ruby@truffleruby-VERSION
$ ruby-install truffleruby
$ rvm install truffleruby # or truffleruby-head
JVM Standalone:
$ rbenv install truffleruby+graalvm-VERSION
$ ruby-build -d truffleruby+graalvm-VERSION ~/.rubies
$ asdf install ruby truffleruby+graalvm-VERSION
$ mise install ruby@truffleruby+graalvm-VERSION
$ ruby-install truffleruby-graalvm
- uses: ruby/setup-ruby@v1
with:
ruby-version: truffleruby # or truffleruby-head or truffleruby+graalvm or truffleruby+graalvm-head
Via Docker. For the Native Standalone there are release & nightly images. For the JVM Standalone there are no Docker images yet, but you can easily download it and take inspiration from the Native Standalone Dockerfiles.
Manually, by following the documentation.
You can use gem and bundle to install gems, as usual.
Please report any issues you might find on GitHub.
TruffleRuby aims to:
There are two main runtime configurations of TruffleRuby, Native and JVM, which have different trade-offs.
| Configuration: | Native (--native, default) | JVM (--jvm) |
|---|---|---|
| Time to start TruffleRuby | about as fast as MRI startup | slower |
| Time to reach peak performance | faster | slower |
| Peak performance (also considering GC) | good | best |
| Java host interoperability | needs reflection configuration | just works |
To find out which runtime configuration is being used, run ruby --version on the command line,
or check the value of RUBY_DESCRIPTION or TruffleRuby.native? in Ruby code.
Runtime configurations are further detailed in Deploying TruffleRuby.
TruffleRuby is actively tested on the following systems:
Architectures:
x86_64): Supported on Linuxarm64): Supported on Linux and on macOSYou may find that TruffleRuby will not work if you severely restrict the
environment, for example, by unmounting system filesystems such as /dev/shm.
openssl C extensionzlib C extensionWithout these dependencies, many libraries including RubyGems will not work. TruffleRuby will try to print a nice error message if a dependency is missing, but this can only be done on a best effort basis.
You also need to set up a UTF-8 locale if not already done.
See the contributor workflow document if you wish to build TruffleRuby from source.
We recommend that people trying TruffleRuby on their gems and applications get in touch with us for any help they might need.
TruffleRuby runs Rails and is compatible with many gems, including C extensions. TruffleRuby is not 100% compatible with MRI 4.0 yet. Please report any compatibility issues you might find. TruffleRuby passes around 98% of ruby/spec, more than any other alternative Ruby implementation.
This is the beginning of the README. Read the rest at the original. Read the full README ↗