From: "fredlinhares (Frederico Linhares) via ruby-core" Date: 2026-04-10T18:15:03+00:00 Subject: [ruby-core:125233] [Ruby Feature#21695] Optimizing Ruby performance with Ruby itself instead of Rust Issue #21695 has been updated by fredlinhares (Frederico Linhares). ufuk (Ufuk Kayserilioglu) wrote in #note-8: How do get from compile time code generation to runtime compilation? I am using these hacks I mentioned and many other related hacks to make a JIT compiler. My point is that using Ruby to generate low-level code is far more efficient than any feature in languages that attempt to succeed C or C++. ---------------------------------------- Feature #21695: Optimizing Ruby performance with Ruby itself instead of Rust https://bugs.ruby-lang.org/issues/21695#change-116968 * Author: fredlinhares (Frederico Linhares) * Status: Open ---------------------------------------- I am using ERB on top of C for a game I am making now. We can use the tool to improve the productivity, memory safety, and runtime speed for Ruby. It can also replace a Rust JIT compiler for better results. The only problem is that it requires some level of manual memory management, while Rust does it all for you. If I demonstrate that it is better than Rust in practice, would you be willing to incorporate it into the Ruby language? I want to know because making it more generic will require more effort from me; if you are not interested, I won���t make the tool public. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/