4 ms·
> I write C code for embedded devices and haven't been able to use malloc in 6-ish years. Where do you work?
by acuozzo 13y ago
> I write C code for embedded devices and haven't been able to use malloc in 6-ish years.
Where do you work?
- yitchelle 13y agoAnyone doing embedded code that is pretty close to the metal will have to avoid using malloc. I also write C code for embedded devices and also haven't use malloc for the past 15 years.
- kyork 13y agoI work for a home/building automation company. Primarily I write code for Zigbee wireless devices.
- leeoniya 13y agoa bit off-topic, but Zigbee came up in a discussion with a friend recently when talking about adding wifi functionality to PLCs. he mentioned that Zigbee devices are pretty much unusable in existing Wifi deployments because they run over the same bands/frequencies. can you comment on this at all? thanks!
- a-priori 13y agoIt's not unusual. I did some work in civil avionics, and we were not permitted to use dynamic memory allocation due to concerns over heap fragmentation.