-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
Cross post from rust-lang/rfcs#2480 (comment)
When evaluating using Rust for an embedded project at work, not having dynamic containers was a big drawback at the time compared with C++11/14 where the gcc-arm-embedded
toolchain had versions of std::string
and std::vector<T>
. (C++ has it's own set of drawbacks, like exception-based error handling APIs, but in this one, fundamental case, it had a leg up).
Is there a way (even it's nightly) to use Vec<T>
on something like the STM32F3DISCOVERY? It was a hard sell to recommend Rust over C++ without being able to safely use the heap.
Edit: We used heapless
in some tutorials but we wanted to have true heap access available like is available for C++11/14 and the gcc-arm-embedded
toolchain.
Metadata
Metadata
Assignees
Labels
No labels