3 ms·
> the jury is still out on whether the energy saved _running_ Rust code will offset the energy consumed _compiling_ it Obviously depends on how much the compil
by floatboth 5y ago
> the jury is still out on whether the energy saved _running_ Rust code will offset the energy consumed _compiling_ it
Obviously depends on how much the compiled code is run. If it's a one-off script, no. If it's a server that will serve a million requests, or a browser that is shipped to a million users that will use the same version for a few months, a thousand times yes. And the vast majority of energy use that can be attributed to programs is in the second category.