News for hackers. Stuff that matters.
Re:Writing C software without the standard library by shakna on Tuesday November 29, 2016 @02:25AM (#13061457)
AVR atmega based devices generally have about 2kb SRAM, and 32kb flash. Maybe 2kb EEPROM.
Re:Writing C software without the standard library by m_eiman on Tuesday November 29, 2016 @02:40AM (#13061502)
This is true, but the stdlib provided by the compilers aimed at these chips is usually very bare bones and size-optimized to begin with. So it's likely hard to save much space by reimplementing subsets of it.
Re:Writing C software without the standard library by shakna on Tuesday November 29, 2016 @02:46AM (#13061527)
True, but you often end up avoiding parts of the stdlib like malloc anyway, because they tend to be heavy handed on the board.

(I've never needed to remove stdlib yet).