Re:GoAWK: an AWK interpreter written in Go
by burntsushi on Sunday November 18, 2018 @09:43AM
(#18480574)
Thankfully, these days, you don't actually need to choose between GC and manually matching up your `free`s with your `malloc`s.
There is at least some data that GC does have an impact on command line tools like this: https://boyter.org/posts/sloc-cloc-code/ --- More experiments like that would be great to crystallize the exact trade offs here.
Almost all unix command line utilities fall into this category. Having to worry about pairing your `free`s with your `malloc`s is a strict increase in cognitive overhead, which should have been spent on verifying the program's semantics are correct.
Messing up low-level memory operations, when you just want to worry about semantic correctness, potentially leads to bugs like RCEs, or dosing somebody with too much radiation.