For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | Zoh0eich's commentsregister

Properly in this context would mean achieving the same effect at the lowest possible overall expense of energy (including those of developer laptops) given specific hardware.

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.


It's not just the language though. It is also what's done with the language. Increased productivity also means all kinds of marginal convenience and monetization features will get implemented which gobble up additional compute cycles.

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.


Well, then you may have a catch-22 where the expense of having your child could cause making the world unlivable for that child thus condemning it or its descendants to non-existence. Thus generalized to the whole population the best action to maintain the ability to have those valued children is to have fewer of them on average. So we're back to the same conclusion.


Political reality in america is that there were multiple changes of ruling party in the last decade and MPs being voted out on specific issues. Of course a representative multi-party system would be preferable, but it's not that it's impossible to achieve anything at all.


...multiple changes of ruling party...

I think you don't understand the American political system. At present there are only two parties in terms of realistically getting elected. There is no such thing as a ruling party in the sense of European parliaments. Members of a party are free to vote as they please. Hence Lieberman famously derailing aspects of Obamacare. There is also the fact that both parties in the U.S. have shifted very much to the right the last 40 years. The reality in the U.S. is that even with our so called left leaning party in power in the legislative branch and executive branch no serious environmental accords were negotiated and passed.


There's more one can do than just that. I do not own or use cars. I try limit my meat consumption (not entirely successful on that front). I changed energy providers to buy from renewables sources. I do not travel by air. I don't have air conditioning.

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.


> I try limit my meat consumption (not entirely successful on that front).

You can drastically reduce related emissions by just giving up beef and replacing it witch chicken. IIRC it's something like 1/5 or 1/6th the amount of greenhouse gas emissions pound for pound of meat.


What you write is true but I don't think will be duplicable on a large scale without regulations and pricing negative externalities into products. The free rider problem is a negative aspect of human psychology.


The question is what someone who is aware of the issues and willing to act can do. Just because there are those who act irresponsibly does not prevent you from adjusting your behavior.


It does actually prevent me for adjusting my behavior. I'm a victim of free rider thinking. I'm not going to fall on my sword so to speak and sacrifice whilst almost no one else does.


Please reflect on what you are saying. You stylize yourself as victim when you are actually benefiting from making harmful decisions and then rationalizing that harmful behavior with "but everyone else is doing it too".


I haven't stylized myself as anything other than a person who advocates not having children. I over consume. I've come to grips with this fact. I deal with it by not having children as a means of assuaging my guilt. I've got just one life and I'm going to enjoy it as much as I can. I'm not going to sacrifice for the greater good when it's just me and a handful of other people doing it.


Why not invest in space-faring companies? There are 40 billion earth-like planets out there. Plenty of room for lots of different eco-systems to flourish.


That's not possible to do safely for arbitrary data structures because they can contain pointers or references. If you reload to a different address then the pointers, even within the allocated chunk, would be invalid and require fixup. And if you require fixup then you might as well do (de)serialization for your data structures.

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.


Perhaps this problem can be overcome by modifying the concept of a pointer slightly, to make it a "based pointer" (?)

I found an old discussion on this topic here: https://news.ycombinator.com/item?id=13890011

Note that the Microsoft C++ compiler implements based pointers, using the __based keyword.


Specialized data structures can be built that contain primitives and other types supporting this kind of thing. But you still can't store arbitrary data because they could contain FFI pointers, handles to native resources, things that need to run destructors etc.

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.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You