|
|
|
|
|
by karunamurti
402 days ago
|
|
Maybe something like https://www.codecentric.de/en/knowledge-hub/blog/plug-in-arc... ? Webassembly is the binary spec for the web. But now everyone is using that because it's portable and lightweight. The idea is you can create plugin using any language that compiles into webassembly. C, Rust, Pascal, Go, C++. Compile once and it should work in Windows, Linux and Mac. No need to compile to multiple architecture. Performance should be great near native, but I guess there's going to be a problem with the added webassembly runtime size.
Here is a runtime with estimated sizes: https://github.com/bytecodealliance/wasm-micro-runtime And it's sandboxed too, so should be secure. |
|