I'm a Ruby developer from Helsinki, Finland. You can find me and my open
source projects on GitHub as matiaskorhonen, I occasionally blog about
programming and a variety of random things at randomerrata.com, and
I'm on Mastodon as @email@example.com
Doing terrible things with ruby.wasm
Sure, Ruby 3.2 brought Ruby support to the browser and that's great and all but what else can we do with it? Maybe we can compile it back to C with wasm2c or use it with Deno to create a fully static build of Ruby?
Oh no, it looks like Ruby has started ageing backwards and it's shedding language features version by version. First we'll lose pattern matching from Ruby 2.7 and it's only a matter of time before we lose the safe navigation operator from Ruby 2.3 and eventually even 1.9 style hashes will be gone.
In this talk we take a Ruby script designed to run using the latest bells and whistles of Ruby 2.7 and port it to earlier versions of Ruby version by version. How far can we take this? Let's find out together!
Ruby like it's 1995
Cast your mind back to the year 1995. Gansta’s Paradise is the top hit of the year. Friends is the hottest show on TV. And just days after I turn nine, Matz releases Ruby publicly for the first time. In this talk I go back to Ruby 0.95 and see what it takes to get it running on modern hardware.