26 karma · joined Jan 14, 2019 (7y ago) · 9 submissions
comment 7y ago · link · parent
Google spends a lot of effort optimizing their software because they bear the energy cost of running it in their own data centers.
Websites do not bear the energy cost of running their code on enduser devices.
The lack of incentives turns energy waste into an externalty which means it is not factored into development.
comment 7y ago · link · parent
If everything were written in assembly we simply wouldn't have the human resources to implement 500 ad trackers on a web browser. Not to mention that the web browser would be far more rudimentary in the first place.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
I also sit on a pile of money, not sure what to do with it. Index stocks contain fossil companies which I don't want to support. Maybe I'll throw some at those silicate weathering pilot projects.
comment 7y ago · link · parent
So to do this safely all the types must be whitelisted through a custom trait. Copy is close, but not quite, since references are still Copy.
comment 7y ago · link · parent
Just allocating into such a memory region (essentially custom page swapping) will eventually be possible with data structures that can be constructed with custom allocators, but it still wouldn't be ok to reload those.