Programmers will write more efficient algorithms if their employers tell them to trade time-to-market for hardware cost. Previously, it was trade hardware cost for time-to-market. "Programmers" don't make this decision, the product owner does.
I disagree. Engineers choose the technical stack based on the specs. With LLMs, it's faster to ship even in a more verbose language like Go or Rust.
Ask HN: Will programmers write more efficient code during the memory shortage?
111–120 of 264 posts
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#112Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#113(Just refactored an app to do this. 60k lines to 20k)
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#114Earlier quoted context omitted.
I disagree. Engineers choose the technical stack based on the specs. With LLMs, it's faster to ship even in a more verbose language like Go or Rust.
Who determines the specs?
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#115Programmers will write more efficient algorithms if their employers tell them to trade time-to-market for hardware cost. Previously, it was trade hardware cost for time-to-market. "Programmers" don't make this decision, the product owner does.
I disagree. Engineers choose the technical stack based on the specs. With LLMs, it's faster to ship even in a more verbose language like Go or Rust.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#116Earlier quoted context omitted.
I disagree. Engineers choose the technical stack based on the specs. With LLMs, it's faster to ship even in a more verbose language like Go or Rust.
The spec is the important part, though. If memory limitations are part of the spec, you're not going to choose a stack that will be too wasteful.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#117If that happens, we will see it in triple-A games first. If some new titles have significant lower hardware specs than expected. If buyers can't afford the hardware anymore, the studios need to adjust. It's definitively possible to scale games down a lot. There are a few AAA games that were "dumbed down" for the Switch 1 (Hogwarts, cyberpunk, ...). And that's a really low-spec device. There are two factors: existing…
If you listen to gaming Youtube then the gaming industry is already in trouble from hardware costs and availability. I'm not sure if they are making a mountain out of a mole hill or not though.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#118The 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?
#119No, even at these high memory prices it's cheaper to produce code as fast as possible than to spend the time to optimize it for efficiency. It has always been the case that hardware improves at a faster pace than software. So what will happen is that we will get tech improvements in hardware that will reduce its price faster than we can write software to fully take advantage of the hardware. The current bottle neck t…
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#120 > Will programmers write more efficient code during the memory shortage?
Hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha