4 ms·
Yes that is Embedded 101. How about 201, 301, 401 and the real world? Dynamic allocation happens. Parsing XML and OSC happens. Recording sequences of variou
by chillingeffect 11y ago
Yes that is Embedded 101. How about 201, 301, 401 and the real world? Dynamic allocation happens. Parsing XML and OSC happens. Recording sequences of various lengths happens. It makes sense to apply intelligence to dynamic allocation.
- omgtehlion 11y agoIn a real world this is even more critical: you don't want, for example, your car brakes to fail because of OOM.
- RealityVoid 11y agoI think it really depends on your application. Car systems are pretty predictable with regards to messages received, they don't have random users sending impredictable data. I'm a SWE writing firmware for cars and I've got to admit, I never caught myself thinking: "Gee, I could sure use the heap right now!"