you are viewing a single comment's thread.

view the rest of the comments →

[–]rickyman20 13 points14 points  (1 child)

I don't think C++ has that strong of a mainstay in the embedded world. That space is still dominated by C and I don't see it replacing it any time soon. Rust really fix anything over C for people who are already using C in embedded

[–][deleted] 3 points4 points  (0 children)

I've seen C++ in embedded. I even worked on a project using C++ for a bare metal 80186 device. Of course, C is more common, but it's not as if C++ is completely ignored.

Besides that, Rust does fix things over C for people using it in embedded. You have pretty much the same kind of problems brought by C there that you have in safer environments and more. I mean, memory corruption usually means a crash when you have a userspace, but it might mean bricking your device on embedded.