Live data from Hacker News

Ask HN: Will programmers write more efficient code during the memory shortage?

news.ycombinator.com

111–120 of 264 posts

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#111
post #106

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.

Who determines the specs?

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#112

There's hope for the extinction of Electron based apps.

They aren’t going away. They are an obvious answer to Microsoft GUI development being in the wilderness for 20 years.

If only there were other options available, cross platform even,...

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#114
post #106

Earlier 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?

Specs are business requirements. Choosing a programming language is not a business requirement; it's a technical one.

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#115
post #106

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.

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?

#116
post #106

Earlier 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.

Yes, but that doesn't determine the technical stack. It only narrows it down. You could just as well use C, C++, Rust or even Go depending on the device the program needs to run on. The device may have constraints as well but those are technical limitations and still not the responsibility of the product owner.

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#117
post #27

If 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.

I don't know if I buy it. In the last few years the AAA gaming industry has turned out a lot of bad games, and that probably explains most of the trouble.

Re: Ask HN: Will programmers write more efficient code during the memory shortage?

#119

No, 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…

It's going to be years before memory prices go down to what the were last year. At least two or three years.

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
Post reply on HN