From Server to Client: Ruby on Rails on WebAssembly

At WasmCon 2024, in Salt Lake City, Utah, United States
Cover for From Server to Client: Ruby on Rails on WebAssembly

Let’s talk about how Wasm can bring new life into mature web frameworks using Ruby on Rails as an example.

Ruby on Rails is a famous “batteries included” framework for the rapid development of web applications. Its full-stack promise comes in a server-oriented, or HTML-over-the-Wire flavor: a server oversees everything from database interactions to your application UI/UX. And whenever there is a server involved, the network and its unpredictability come into play. No matter how much you enjoy developing with Rails, it would be hard to achieve the same level of user experience as with client-side and especially local-first frameworks. And here comes Wasm.

With the help of WebAssembly, we can do a radical shift—bring the Rails application right into your browser, and make it local-first!

In my talk, I want to discuss the challenges of making a classic web framework Wasm compatible, the techniques we can use to run server-first applications in the browsers and what are the use cases.

Slides

Explore more events

Schedule call

Irina Nazarova CEO at Evil Martians

Evil Martians transform growth-stage startups into unicorns, build developer tools, and create open source products. Hire us to design and build your product