HNHacker News
TopNewBestAskShowJobs

jtstanley

32 karma · joined January 1, 2021

submissionscomments
jtstanley··on Artichoke is a Ruby made with Rust that compiles to WebAssembly
The use of traits here is really cool. It looks like the entire language implementation is defined as a trait, which allows for language backends to be swapped out while maintaining the same outward API.
jtstanley··on Artichoke is a Ruby made with Rust that compiles to WebAssembly
The talk at rubyconf mentioned that `string.scan` was 100% faster due to specialized string implementations in the Rust backend. I wonder if there are any performance gains from the actual runtime rather than from std optimizations?