Re:Yes Silver Bullet (2019)
by commandlinefan on Friday January 24, 2020 @02:14PM
(#22141465)
> If you have ever watched the hoops somebody jumped through to plug a memory leak in a Java program, you will be forced to agree.
In my observation, a lot of “improvements” in software development are of this kind: they make it quicker and easier to get started, but make troubleshooting a lot more complex specifically because they’ve hidden what’s actually going on in an attempt to simplify things. Not that managed memory is a bad thing! But ideally it would be wielded by people who’d spent a fair amount of time manually managing memory so that they know what to look for.
If you have ever watched the hoops somebody jumped through to plug a memory leak in a Java program, you will be forced to agree.
A fundamentally very similar process appears as a functional programmer unravels a program to fix a performance bottleneck. The reason it is similar is that, just as ballooning memory usage indicates a memory leak, a ballooning runtime indicates a time leak.
And, just as GC languages provide inadequate facilities to manage resource use, functional languages provide minimal resources to manage time use.
You could argue that memory and time management are on the accidental side of the ledger, and while the scientist in us would be tempted to agree, the engineer knows that managing limited resources is the essence of engineering, and taking away the tools needed to manage resources makes resource problems balloon out of control, breeding extremes of accidental complexity.