DEV Community

Discussion on: Create Dev's offline page with Rust and WebAssembly ๐Ÿฆ„๐Ÿ’กโœจ

Collapse
 
andrewbrown profile image
Andrew Brown ๐Ÿ‡จ๐Ÿ‡ฆ

I was going to try and do this with Ruby and WebAssembly but gave up. So hard to get Ruby to WebAssembly.

Collapse
 
sendilkumarn profile image
Sendil Kumar

Oh, that is interesting! What is the most painful part of it?

Collapse
 
andrewbrown profile image
Andrew Brown ๐Ÿ‡จ๐Ÿ‡ฆ

You have to use MRuby which is an embedded ruby that has serious limitations. The ruby-wasm gem appears to need to compile Mruby to Emscripten. Then it wants Java for some reason. When compiling obscure errors occur.

So lots of moving parts, no time to debug.