How I got Ruby snippets to run browser side in less than a day
28-Jan-2022 1091
I had some time yesterday to work on Runno and decided to see if I could add another language. I'd heard on twitter that Ruby was looking into adding official WASM support, so I had a look into what that was. Turns out the proposal to merge WASI based WebAssembly support was perfect for me!WASI stands for WebAssembly System Interface and it's a standard way for WebAssembly (wasm) binaries to talk to a system. This allows developers to use a single binding interface to interact with multiple different binaries. It's been primarily adopted for server-side execution, but for my use case of runnable code snippets it also works well.
How I got Ruby snippets to run browser side in less than a day #ruby #rubydeveloper #rubyonrails #snippets #browser https://rubyonrails.ba/link/how-i-got-ruby-snippets-to-run-browser-side-in-less-than-a-day