John Carmack on inlined code (2014)
(Here begins a comment written by John Carmack in 2014, about an email he sent to a programmers’ mailing list in 2007.)
The Happycake project is done now. Here's a summary of the game taken from the design document:
Visit number-none.com → On Hacker News Sep 2014 – Oct 2024
Software Engineering 3Systems & Performance 2Games & Graphics 1
(Here begins a comment written by John Carmack in 2014, about an email he sent to a programmers’ mailing list in 2007.)
The real enemy addressed by inlining is unexpected dependency and mutation of state, which functional programming solves more directly and completely. However, if you are going to make a lot of state changes, having them all happen inline does have advantages; you should be made constantly aware of the full horror of…
I am still puzzling through the right way to think about some ideas in compression, so let’s take a break from that and talk about generally cleaning up the ...