4 ms·
This is so cool! If new contributions to Ruby could be written in Rust, I'd be a lot more inclined to contribute. I don't think I'm alone here. Andy Kelley note
by hardwaregeek 5y ago
This is so cool! If new contributions to Ruby could be written in Rust, I'd be a lot more inclined to contribute. I don't think I'm alone here. Andy Kelley noted that the new Zig compiler has significantly more contributors, likely due to it being written in Zig and not C++.
Some people may roll their eyes at this, but it is a lot more enticing to work on a Rust codebase than a C/C++ one. I'm less likely to screw up and create a serious bug; I get a lot more help from the compiler; the build system is standardized and simple; and it's just plain fun.
- faitswulff 5y agoUnfortunately: > To be clear, it's OK to use Rust to implement YJIT (and other optional features in the future), but mainline CRuby will not be implemented in Rust. - Matz, https://bugs.ruby-lang.org/issues/18481#note-14 https://bugs.ruby-lang.org/issues/18481#note-14 On the other hand, there is Artichoke Ruby: https://github.com/artichoke/artichoke https://github.com/artichoke/artichoke
- hardwaregeek 5y agoTrue, although Matz has changed his mind in the past (type annotations come to mind). I wouldn't be surprised if people notice that YJIT contributions are far more common, Matz may reconsider this.