jtstanley
Re:Artichoke is a Ruby made with Rust that compiles to WebAssembly
on Friday January 01, 2021 @01:57PM (#25605658)
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.
Re:Artichoke is a Ruby made with Rust that compiles to WebAssembly
on Friday January 01, 2021 @01:56PM (#25605640)
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?