4 ms·
My company uses a C++ subset (no STL, no malloc) on all of our embedded projects, which are mostly on ARM Cortex-M4. I'd love to learn and start using Rust in
by jgable 10y ago
My company uses a C++ subset (no STL, no malloc) on all of our embedded projects, which are mostly on ARM Cortex-M4.
I'd love to learn and start using Rust in our work, but we are client-project-driven, so it will be hard to justify the investment and productivity drop. I think it would make it easier to attract top talent, though things are weird in the embedded world.
- tines 10y agoI'm a C++ enthusiast interested in embedded programming but I have very little experience. What is the rationale for your company's avoidance of the STL, is it primarily binary size?
- bbatha 10y agoLikely because it allocates and uses exceptions pervasively.
- digikata 10y agoI had a co-worker a long time ago described this problem as being a bunch of lumberjacks chopping down trees, but who were never allowed to stop and sharpen their axe's (let alone procure the chainsaws and learn how to use those...).