[riot-devel] Oneway-Malloc

Carsten Bormann cabo at tzi.org
Tue Aug 9 21:20:43 CEST 2016


Carsten Bormann wrote:
> https://twitter.com/c4bo/status/676393852798922752

OK, that may have been a bit opaque :-)

http://www.barrgroup.com/Embedded-Systems/How-To/Malloc-Free-Dynamic-Memory-Allocation
http://www.embedded.com/design/programming-languages-and-tools/4416457/EMB-tm-6-15-13-Dynamic-memory-and-heap-contiguity
http://stackoverflow.com/questions/1725923/how-bad-is-it-to-use-dynamic-datastuctures-on-an-embedded-system
http://www.nongnu.org/avr-libc/user-manual/malloc.html

If you really need dynamic memory for some algorithm, consider an arena
allocator.
https://en.wikipedia.org/wiki/Region-based_memory_management

Grüße, Carsten


More information about the devel mailing list