Very interesting writeup, thanks! It is sad that things don't work better here. The Emscripten side is focused on C/C++ obviously and on native API support while the Rust side is focused on either pure computation or on calling Web APIs. For something like Vange-rs you really want native APIs + Rust, so neither side is really enough.
I keep hoping that someone will have an important enough use case for them to spend time on getting Emscripten+Rust working well, but so far that hasn't come up. As more native apps get written in Rust though perhaps eventually it will. On Fri, Dec 24, 2021 at 6:16 AM Александр Гурьянов <[email protected]> wrote: > Hi! Just want to share my experiment with using Rust and WebAssembly. I > tried to port Vange-rs project (rust + wgpu) to browser. I used emscripten > and unknown platforms. Both finally works, but have lot of obstacles. I am > very sad about support level of emscripten in Rust, hope it will change at > some day. > > https://caiiiycuk.medium.com/vange-rs-webassembly-in-rust-498e2f960a04 > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVF2wUiuKH1%3DivMhfjuAFdtMwvHxc0YaS4V%2BGoGfBWuy6w%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAKOm%3DVF2wUiuKH1%3DivMhfjuAFdtMwvHxc0YaS4V%2BGoGfBWuy6w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpSs7mNA%2B18XfW%3DndrgoVO0EeG2nESvB6C648xW7dRtf7w%40mail.gmail.com.
