5 ms·
Do you think that Rust (or any other language that compiles to wasm) will become preferred over traditional JS for single page applications and Electron desktop
by journey_16162 5y ago
Do you think that Rust (or any other language that compiles to wasm) will become preferred over traditional JS for single page applications and Electron desktop apps? Would there be any advantages to this, or would it be an overkill?
My thoughts;
Pros:
- Definitely will be useful for resource intensive application (rather not the majority of web and desktop apps)
- Better source code protection if you are shipping a proprietary product (some people may view it as a con)
Cons:
- Build times ?
- Larger download size (for web apps)
- Rust is safe, but a GCed language will always be safer and have less low level overhead for the developer