HNHacker News
TopNewBestAskShowJobs

capnfantasic

16 karma · joined November 29, 2016

submissionscomments
capnfantasic··on Writing C software without the standard library
> Is this ever an real issue, even on any embedded system in the last 20 years?

Ask Cisco when they cut the Linksys routers' RAM in half a few years ago. Every byte counts. Component cost savings add up when you make a few million of them.

capnfantasic··on Writing C software without the standard library
Traditionally yes. On the latest CPUs - who knows.
capnfantasic··on Writing C software without the standard library
Of course.

When I wrote that comment I asked myself should I have written "malloc" or "malloc/free" - surely one implies the other.

capnfantasic··on Writing C software without the standard library
Fantastic until you need to malloc. You're reimplementing libc, but at least you know what's going on at every level.