5 ms·
It should be far more open and lightweight than java. Linking to native libraries isn't desirable - you don't want to leak your native vulnerabilities into you
by yarg 8y ago
It should be far more open and lightweight than java.
Linking to native libraries isn't desirable - you don't want to leak your native vulnerabilities into your web browser.
If you have the source however (as you mentioned), using Clang to compile to WASM should be a viable approach.
- tyfon 8y agoBut if this is to be a "universal" binary it has to interface with the OS, the DE and other native programs not just the browser. If not you will end up with Swing type libraries that look very off compared to native applications. Same for games really. You usually need to be aware of what platform (hardware and software) your run on and adjust for that to be able to use it optimally.