Explore the integration of Rust with Ruby to enhance performance in this RubyConf 2023 talk. Discover how the oxidize-rb project enables calling Rust libraries from within Ruby, addressing the speed limitations of the language. Learn about the advantages of using Rust over C for performance-critical code, including improved memory safety and security. Gain insights into incorporating Rust code and Cargo dependencies into Ruby gems, and understand how this approach compares to traditional C-based interoperability used in popular gems like Nokogiri and Bcrypt. Delve into practical demonstrations showcasing the simplicity and effectiveness of wrapping Rust in Ruby for optimal performance and safety.
Overview
Syllabus
RubyConf 2023 - Wrapping Rust in Ruby by Garen Torikian
Taught by
Confreaks