4 ms·
Get used to the idea that embedded is 15 years behind PC. Which is initially frustrating but if you step back is kind of a good thing. I’d also like to see Rus
by SlowRobotAhead 8y ago
Get used to the idea that embedded is 15 years behind PC. Which is initially frustrating but if you step back is kind of a good thing.
I’d also like to see Rust make it’s way into embedded. C support for things like data serialization or RPC for interfacing to web stuff is limited, people just don’t port it to C. And C++ doesn’t thrill me in terms of its non-deterministic garbage handling and difficult to debug nature. Rust though, seems modern and still safe, but I looked over the crates for embedded it’s prstty slim pickings!
When I see mfgs pushing out their own Rust libs, or a professional IDE with support I can buy that uses the Rust compiler, I’ll give it a try. Until then, it’s clearly hobbiest-only.
- sidcom 8y agoNon deterministic garbage handling doesn't sound right in combination with C++. You have to do it your self. And you can make it deterministic.
- mlindner 8y agoC++ has deterministic garbage collection.
- intea 8y agoC++ does not have garbage collection of any sorts. Objects leave the scope and are destroyed, however the order in which they are destroyed is not defined by the standard.
- pjmlp 8y agoC++ has a garbage collection interface API since ISO C++11, it is up to the respective implementation to provide an optional implementation.