Exciting news for Ruby developers! Rust, a language with the expressiveness of Ruby and the performance of C++, is already making waves in the Ruby world.
At the recent Rails Conf in Atlanta, our CTO Vagmi gave a lightning talk on how Rust is already part of the main Ruby code base, and bundler has added support for creating rubygems with Rust.
Vagmi highlighted some of the features of Rust that make it an attractive choice for developers. For example, Rust's enums are similar to Haskell's data classes, making them a pleasure to work with. Rust supports macros, both the hygienic kind in scheme as well as the whole token stream parsing. Additionally, Rust has ownership and borrowing, which initially may seem daunting but actually helps you write safe, performant code.
One particularly exciting crate in the Rust ecosystem is Magnus, which allows you to write high-level Ruby-exposed Rust code. This means you can define methods in Rust and expose them to Ruby, creating a high-performance Ruby application.
Overall, Rust's expressive syntax and high performance, combined with its growing ecosystem of libraries and tools, make it an exciting language for developers to explore.