Ask HN: Will programmers write more efficient code during the memory shortage?
121–130 of 264 posts
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#122Earlier quoted context omitted.
Who determines the specs?
Specs are business requirements. Choosing a programming language is not a business requirement; it's a technical one.
If you're working on SAP or Salesforce, the language decisions are already made for you. If you're integrating with an existing Electron runtime, then you'll be using something in the JS family, like it or not.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#123Most games are written for the 3% who can afford a luxury gaming PC. That's how the market is working for a while now.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#124Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#125That’ll be a minor part of it. The whole Electron “ship a browser for each app” ideology will die first.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#126This isn't where memory goes or real-world speed comes from. For most applications, it's abstractions like React running in electron that hurt performance. There are also richer resources backing parts of apps--higher resolutions, better quality, higher framerates.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#127That’ll be a minor part of it. The whole Electron “ship a browser for each app” ideology will die first.
It's unlikely. It means rewriting all these Electron apps using something more performant, which is pretty costly.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#128I expect mobile OS and maybe mobile app developers to do so. Google has already downgraded memory for their upcoming Pixel 11 while at the same time imposing local running models as a first-class feature. Both decreasing the memory pool and increasing the demands on it. The key is that they own the full stack (hardware and software) and can demand the OS be more efficient, along with perhaps forcing that goal on app…
The problem is that things go quickly in the other direction between these sprints.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#129If your backlog is full of feature requests you will add features.
If your backlog is full of tasks to reduce memory usage, speed up areas etc., then that is what you will do.
Most programmers will have no choice whatsoever.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#130Earlier quoted context omitted.
“Stop doing stupid stuff” is usually the biggest performance gain in commercial development. We do stupid stuff as a stopgap to meet a deadline and then stupid stuff stays until it starts being a problem.
There's nothing more permanent than a temporary fix. If deadlines are causing those stopgaps, the aggressive deadlines are the root problem.
Shipping is very important, sometimes more important than what you ship :)