Ruby YJIT Ported to Rust
github.com
Ruby YJIT Ported to Rust
1–10 of 93 posts
Re: Ruby YJIT Ported to Rust
#2Re: Ruby YJIT Ported to Rust
#3"YJIT code ported from C99 to Rust" Beyond passing the test suite, are there more numbers to compare both versions? (e.g., compilation time, lines of code, size of binaries, performance, etc.)
Re: Ruby YJIT Ported to Rust
#4"YJIT code ported from C99 to Rust" Beyond passing the test suite, are there more numbers to compare both versions? (e.g., compilation time, lines of code, size of binaries, performance, etc.)
> The new Rust version of YJIT has reached parity with the C version, in that it passes all the CRuby tests, is able to run all of the YJIT benchmarks, and performs similarly to the C version (because it works the same way and largely generates the same machine code). We've even incorporated some design improvements, such as a more fine-grained constant invalidation mechanism which we expect will make a big difference in Ruby on Rails applications.
Re: Ruby YJIT Ported to Rust
#5Re: Ruby YJIT Ported to Rust
#6Re: Ruby YJIT Ported to Rust
#7Re: Ruby YJIT Ported to Rust
#8"YJIT code ported from C99 to Rust" Beyond passing the test suite, are there more numbers to compare both versions? (e.g., compilation time, lines of code, size of binaries, performance, etc.)
Was looking for the same thing, what does this mean for Ruby performance?
Re: Ruby YJIT Ported to Rust
#9"YJIT code ported from C99 to Rust" Beyond passing the test suite, are there more numbers to compare both versions? (e.g., compilation time, lines of code, size of binaries, performance, etc.)
Was looking for the same thing, what does this mean for Ruby performance?
The Rust port doesn't change performance much according to the pull request description.
Re: Ruby YJIT Ported to Rust
#10Earlier quoted context omitted.
Was looking for the same thing, what does this mean for Ruby performance?
YJIT benchmarks can be found at https://speed.yjit.org/ The Rust port doesn't change performance much according to the pull request description.
Overall YJIT is 33.4% faster than interpreted CRuby! On Railsbench specifically, YJIT is 32.4% faster than CRuby!