Ask HN: Will programmers write more efficient code during the memory shortage?
61–70 of 264 posts
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#62No, 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?
#63I don't think at this point in history limitations drive the the way we do things, abundance does.
Increasingly, the "what do we have the most of?" questions will return "RAM" less and less often.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#64Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#65If 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…
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#66Computer: Rewrite this python code in Go. Make it memory efficient.
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#67Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#68Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#69If 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…
Are programmers and their use of data structures driving up storage requirements in games though? Or is it just high poly models and high res textures?
Re: Ask HN: Will programmers write more efficient code during the memory shortage?
#70Some 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.