4 ms·
I think this is about c++-in-wasm-in-C# rather than c#-in-wasm. It's an (arguably) better way of doing FFI without having to worry about compiling the C++ depen
by nicoburns 8y ago
I think this is about c++-in-wasm-in-C# rather than c#-in-wasm. It's an (arguably) better way of doing FFI without having to worry about compiling the C++ dependency.
- arethuza 8y agoPresumably you have to compile the C++ once to wasm though?
- tybit 8y agoYeah you would, though having a common compile to target would hopefully make it easier to find pre compiled wasm binaries.
- WorldMaker 8y agoRight, some libraries are already getting official and semi-official wasm targets for the Node JS ecosystem. It would be interesting to "borrow" an existing wasm binary from npm and simply rehost it on the .NET CLR or JVM.
- tracker1 8y agoAbsolutely... I have a suspicion that Node may actually expand its' presence as a defacto runtime for wasm outside the browser.
- tracker1 8y agoNot to mention, cross platform (think x86, arm AND linux, mac, windows) from a single compile target.