R in WebAssembly
R is a popular statistics-oriented language. An in-browser version of the language is now in development. This version patches the official R repository and adds browser tooling. We are unsure whether this version of R can be run in standalone WebAssembly runtimes like Wasmtime or Wamr.
At one point there was an interesting conversation about WebAssembly on the R language Subreddit. As far as we know, nothing came of it. But to settle one of the debates on that thread, yes, it appears Fortran can be compiled to Wasm
Here are some great resources:
- webR, an in-browser implementation of R
- An excellent blog post on webR.
- An in-browser R console built using webR
- A Fortran-to-Wasm compiler toolchain.