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?
131–140 of 264 posts
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#132Earlier 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.
Not solely. The business will have reasons to stay on a mainstream language, for example because
- it offers better guarantees for hiring maintainers in the future
- it has a higher likelihood that security issues will be fixed rapidly for free
- LLMs are better at maintaining code written in it
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#133Earlier 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.
Even bus-factor comes into it.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#134Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#135Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#136Some programmers will write more efficient code. At my $dayjob (one of the big tech companies) we're already planning a major goal next year of optimizing server code to reduce RAM requirements, and this is directly in response to the crunch. In practice I expect most optimizations will come from "stop doing stupid stuff" and not "use fancy advanced algorithms." But that's a cynical perspective so don't be cynical li…
Real, there are so many low hanging fruits for optimization but no one has time to do them. And they don’t incentivize spending your time on it either.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#137Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#138Some programmers will write more efficient code. At my $dayjob (one of the big tech companies) we're already planning a major goal next year of optimizing server code to reduce RAM requirements, and this is directly in response to the crunch. In practice I expect most optimizations will come from "stop doing stupid stuff" and not "use fancy advanced algorithms." But that's a cynical perspective so don't be cynical li…
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#139Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#140Earlier quoted context omitted.
If the CEOs are to be believed, then 75% of all new code in Google is AI generated. 46% of GitHub internal code, and roughly 30% across all of Microsoft is AI. Meta expects at least 65%, and snap reported 65% is AI generated. Its how software is built now in these palces.
Given the uhhh, quality and issues GitHub and Microslop have been exhibiting recently, that’s probably not a great indicator.