News for hackers. Stuff that matters.

capnfantasic

Re:Writing C software without the standard library on Tuesday November 29, 2016 @03:12AM (#13061628)
> 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.

Re:Writing C software without the standard library on Tuesday November 29, 2016 @03:09AM (#13061615)
Traditionally yes. On the latest CPUs - who knows.
Re:Writing C software without the standard library on Tuesday November 29, 2016 @03:06AM (#13061606)
Of course.

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

Re:Writing C software without the standard library on Tuesday November 29, 2016 @01:58AM (#13061384)
Fantastic until you need to malloc. You're reimplementing libc, but at least you know what's going on at every level.