3 ms·
There were some experiments long ago: https://www.reddit.com/r/rust/comments/2yfsi9/rust_to_js_with_emscripten/?st=ix0spbxl&sh=13e1e707 https://www.reddit.com/r
by steveklabnik 10y ago
There were some experiments long ago: https://www.reddit.com/r/rust/comments/2yfsi9/rust_to_js_with_emscripten/?st=ix0spbxl&sh=13e1e707 https://www.reddit.com/r/rust/comments/2yfsi9/rust_to_js_wit...
but it looks like SDL2 has an official port: https://github.com/emscripten-ports/SDL2 https://github.com/emscripten-ports/SDL2
So you'd use regular Rust SDL2 libraries, and it Just Works (hopefully...)