3 ms·
It looks like Rust can interop with JS via WebASM? https://stackoverflow.com/questions/65000209/how-to-call-rust-from-js-and-back https://stackoverflow.com/que
by metadat 2y ago
It looks like Rust can interop with JS via WebASM?
https://stackoverflow.com/questions/65000209/how-to-call-rust-from-js-and-back https://stackoverflow.com/questions/65000209/how-to-call-rus...
- jvanderbot 2y agoOf course that's why we're discussing it. I'm referring to stronger interop like how you can embed ASM in C, and therefore CPP. Like a JS/TS that can have compiled blocks specified in the same language, preferably inline? I'm reaching here.
- peutetre 2y agoBut why use JavaScript at all if you can just compile it all to WebAssembly?
- wiseowise 2y agoBecause I have better use of my time than waiting for 2 minute compile times on every little change. And believe it or not - I actually like JS with object destructuring, Promises and async/await.