Re:Ruby on WebAssembly
by reese_john on Sunday April 29, 2018 @12:49PM
(#16952750)
I believe Hyperloop[0] tries to accomplish something similar
In theory you could already do this with Opal (https://github.com/opal/opal).
In practice too: http://www.voltframework.com
Re:Ruby on WebAssembly
by nick_urban on Sunday April 29, 2018 @05:56PM
(#16954128)
Does not seem to be actively developed, however. Last commit was in early 2016: https://github.com/voltrb/volt/
Re:Ruby on WebAssembly
by mshenfield on Sunday April 29, 2018 @05:37PM
(#16954041)
Nice.
Anyone else getting a "Connection Lost..." message as soon as they visit the page?
yes, and it's not only ruby doing this, various other languages are doing it also.
So it's going to be interesting to see what kind of disruption that has on javascript on the client side.
There is no Ruby on Rails for mruby, yet.
What are the differences between mruby and MRI that prevent this?
Would this allow for full stack ruby apps?
Writing a client side router and controllers in Ruby on Rails compiled to web assembly?
If you could just toggle in production.rb if you want your routing to be client side or server side and the framework could transparently manage that for you.