Does memory leak? (1995)
groups.google.com
Does memory leak? (1995)
1–10 of 289 posts
Re: Does memory leak? (1995)
#2Re: Does memory leak? (1995)
#3Of course it's also expected to crash, especially the hardware :)
Re: Does memory leak? (1995)
#4Re: Does memory leak? (1995)
#5(Not saying that the manufacturer was necessarily wrong in this case and doubling the memory might have added a tiny manufacturing cost to something that was much more expensive)
Re: Does memory leak? (1995)
#6Until the cruise missile shop down the hall decides to reuse your controller.
I think one of big problems in software development is that nobody measures the half-life of our assumptions. That is the amount of time it takes for half of the original assumptions to no longer hold.
In my limited experience assumptions half-life in software could be easily as low as around one year. Meaning that in 5 years only 1/32 of original architecture would make sense if we do not evolve it.
Re: Does memory leak? (1995)
#7It has limited application, but there is a more common variant: let process exit clean up the heap. You can use an efficient bump allocator for `malloc` and make `free` a no-op.
Re: Does memory leak? (1995)
#8Re: Does memory leak? (1995)
#9Until the cruise missile shop down the hall decides to reuse your controller.
If all software is built only to solve the problem at hand, it will take less time to develop, be less likely to have bugs, and perform better.
It isn't clear that coding for reuse is going to get you a net win, especially since computing platforms, the actual hardware, is always evolving, such that reusing code some years later can become sub-optimal for that reason alone.