[En-Nut-Discussion] Use of alloca in Nut/OS

Harald Kipp harald.kipp at egnite.de
Mon Aug 11 18:44:03 CEST 2008

Nathan Moore wrote:
> You avoid it but if you avoided it completely you wouldn't have
> NutHeapAlloc.

You mean: No dynamic memory management at all?

Indeed many purists support this view and quite often dynamic memory is 
the cause for all kind of trouble, making an embedded system less 
reliable. Pointers are a bad idea as well, and typecasting is a real 
devil. Frankly speaking, the programming language C is a calamity by 
itself. ;-)

Despite making jokes about it, I often think by myself, what might be 
required to create a Nut/OS build, which avoids dynamic memory.


More information about the En-Nut-Discussion mailing list