3 ms·
Maybe we could standardise on a set of adjectives to cover the spectrum from: "this is a handwave that needs filling in" and "this is cheap and cheerful code th
by 082349872349872 3y ago
Maybe we could standardise on a set of adjectives to cover the spectrum from: "this is a handwave that needs filling in" and "this is cheap and cheerful code that does the basic thing" all the way to "this has been in production for a decade" and "this code not only handles 99,7% of the corner cases, it even also handles several dozen corner cases that only ever occurred on architectures which haven't existed since the 20th century"?
- matheusmoreira 3y agoI always enjoy reading this article from time to time: https://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/ https://journal.stuffwithstuff.com/2013/12/08/babys-first-ga... As someone who really enjoys reinventing the wheel for fun, the final words are something of a mantra for me: > Let me stress here that while this collector is simple, it isn’t a toy. > There are a ton of optimizations you can build on top of this—in GCs and programming languages, optimization is 90% of the effort—but the core code here is a legitimate real GC. > It’s very similar to the collectors that were in Ruby and Lua until recently. > You can ship production code that uses something exactly like this. > Now go build something awesome!