class: center, middle # Exploring Ruby through Rust # π΄ππΊβπ¦ by [@steveklabnik](https://twitter.com/steveklabnik) --- class: middle # Ru* ## 1. Ruby π΄π ## 2. Rust βπ¦ -- ## 3. ... ΡΡΜΡΡΠΊΠΈΠΉ π·πΊ --- class: middle # β Hold on! We're gonna talk about a lot of different stuff. --- # βπ¦ Rust * I really love Rust π * It's cool if you don't π πΎ * This talk is about Rust, and Ruby, and C. And having fun. π --- # βπ¦ Rust * Apps * Libraries * Languages * Operating Systems (intermezzOS) --- # βπ¦ Rust * Apps * Libraries * Languages * Operating Systems (intermezzOS) * Hardware (?) * Physics (?) --- # βπ¦ Rust ![ruby core team](productive.png) --- # βπ¦ Rust ![rust rfc roadmap](rfc.png) --- # βπ¦ Rust ![akira quote](akira.png) --- # βπ¦ Rust * `String#blank?` ```ruby /\A[[:space:]]*\z/ === "ΠΡΠΈΠ²Π΅Ρ" ``` * `chars.rs` --- # Why? Let's talk about Ruby internals. * `include/ruby/ruby.h` * `RObject` * `RBasic` * `VALUE` --- class: middle # What happens when we `blank?` in Ruby? * `mem.rb` --- # Let's talk about Rust! * char π€ * no GC π * optimizations β‘ * stack vs heap allocation π --- class: middle # Let's talk about C and Ruby! * [fast blank](https://github.com/SamSaffron/fast_blank) * cexts & FFI --- class: middle, center # β Rust + Gems π # β¨ DEMO TIME β¨ --- class: middle # Rust + Gems .sub[(actually Python but you get it π)] .bump[![sentry blog post](blog.png)] --- # Rust + Gems .sub[(actually Python but you get it π)] ![python speed improvement](python.png) --- # Rust + Gems .sub[(actually Python but you get it π)] ![whole site averages](avg.png) --- # Let's do something silly #πππ I told you this talk wasn't about serious stuff. But I've been so serious. --- class: center, middle #
ANNOUNCING STEVE"S FORK OF RUBY
# πππ --- class: middle, center #
ANNOUNCING STEVE"S FORK OF RUBY
# π΄π΄π΄ --- class: middle class: center, middle #
ANNOUNCING STEVE"S FORK OF RUBY
([It has four commits](https://github.com/ruby/ruby/compare/trunk...steveklabnik:rust)) --- class: middle class: center, middle # THANK YOU Go forth, do fun stuff, enjoy computers #β€οΈβ€οΈβ€οΈ