4 ms·
My favorite story about garbage collection: https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98125 https://devblogs.microsoft.com/oldnewthing/20180228-
by OptionOfT 10mo ago
My favorite story about garbage collection: https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98125 https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98...
- dana321 10mo agonow that is what i call the ultimate in garbage collection technology
- naasking 10mo agoI think the missile impact creates a lot more garbage spread over a wider area.
- whartung 10mo agoThey do that in other places. As I heard the tale, on the Standard Missile, they don't recirculate the hydraulic fluid, they just spit out as the missile flies. It's a wonderful engineering solution.
- pfdietz 10mo agoAnd on the Falcon 9, the hydrocarbon fuel is used as hydraulic fluid, then just dumped back into the fuel tank.
- 01HNNWZ0MV43FF 10mo agoAnd the SR-71 uses its fuel as coolant. "There was a lot we couldn't do, but we were the fastest kids on the block..."
- Findecanor 10mo agoI would call that a region-based memory allocator... Only that it has a single region, ever.
- antonvs 10mo agoOr it's a generational garbage collector with the generation management and collection functionality omitted.
- eru 10mo agoWell, the garbage is collected when the missile hits the target region.
- amelius 10mo agoThe garbage is spread out over the target region.
- amelius 10mo agoYeah if you have for example a http request, you can just collect garbage you create during that request in a single region, then throw it away when the request has been handled. This is quite standard.
- Agingcoder 10mo agoIt’s pretty standard in many places I think - the point here is not the null gc but rather exact memory requirements being proved statically.
- zipy124 10mo agoThis is one of my favourite anecodtes to tell peers and colleagues because it's important when understanding buisness case/needs against programming. We all want to make perfect software, but it isn't always neccessary.