News for hackers. Stuff that matters.
Re:Every app has a scary basement—dark old mysterious code v... by prodigal_erik on Wednesday September 08, 2010 @02:16AM (#1671205)
To be fair, memory bandwidth was relatively better and pipelines were nonexistent, so there was little reason to inline a function unless the call setup was literally longer than the body.

My favorite monstrosity was the http://en.wikipedia.org/wiki/Overlay_(programming). When your OS couldn't page functions from disk for you, you damn well did it yourself. They even started building it into linkers....

Re:Every app has a scary basement—dark old mysterious code v... by m_eiman on Wednesday September 08, 2010 @02:59AM (#1671254)
The madness still exists today. I'm developing an app that runs on a 8-bit 8051 CPU with a 16 bit address bus and 1MB of code Flash... Let's just say that segmentation and function pointers isn't a perfect match. Luckily the next revision of the hardware runs an AVR32 instead, I'm just hoping that the hardware will be ready for the world before the app is!