4 ms·
Ah yes, we'll save the planet by writing web services in Rust, which serve inefficient, bloated webapps to billions people, with browsers constantly spinning th
by aaaaaaaaaaab 5y ago
Ah yes, we'll save the planet by writing web services in Rust, which serve inefficient, bloated webapps to billions people, with browsers constantly spinning the CPU near thermal shutdown...
If you want to save energy, write small software. Small, local, self-contained software. Not everything has to be a webapp. In fact, most things shouldn't.
- Abishek_Muthian 5y ago> Not everything has to be a webapp. In fact, most things shouldn't. And be at the mercy of monopolies.
- sodality2 5y agoWASM is more efficient than JS...
- culi 5y agoI think they were just pointing out that software architecture will usually make a much bigger impact on efficiency and energy usage than language choice A bloated app is wasteful no matter what language its in
- sodality2 5y agoAh, okay, that makes sense :D I agree
- habibur 5y ago> WASM is more efficient than JS... Last time I checked it wasn't. That's a few years back. I would be really happy if it is now.
- Jcampuzano2 5y agoIt highly depends on what the use case is. For most use cases JS is still more performant than WASM unless you're doing a lot of very heavy number crunching which the vast majority of WebApps aren't. Browser vendors have done a ton to make JS fast.
- hu3 5y agoWASM does not have native access to DOM for starters.
- singh_ 5y agoexactly. Or consume less products.