Sept 2023
I prepared a presentation and gave a talk about Ruby on Webassembly at the Montevideo Ruby Meetup.
These are the slides This repository contains examples of using Ruby3.2.wasm in various integration use cases.
1- Hello World
2- Reading a file
4- Eval use input
This example fetches the RubyVM from cdn and uses it to eval ruby-user-input
5- Markdown To Html using kramdown
This example extends previous example by serving an app.wasm
which uses the kramdown
gem to convert markdown to html.
Then the frontend passes user input this app.wasm
and prints back the html