Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it the rust equivalent of the "Embedded Template Library" in C++? #356

Open
jerabaul29 opened this issue Mar 11, 2023 · 3 comments
Open
Labels

Comments

@jerabaul29
Copy link

I see the "Embedded Template Library" (ETL, https://github.com/ETLCPP/etl ) being used quite often for example in embedded programming in C++.

A question: is this crate well the "Rust equivalent" of the ETL? If so, could this be expressed in a short sentence in the documentation so people used for a long time to the ETL understand at once what this crate is? :)

@burrbull
Copy link
Member

Why this should be "equivalent" of something?

@jerabaul29
Copy link
Author

Maybe the wording is not the best, but the question is - does this crate and ETL well provide the same kind of functionalities?

@newAM newAM added the question label Oct 31, 2023
@t-moe
Copy link

t-moe commented Oct 31, 2023

Heapless and etlcpp both provide statically-allocated String- and other Container-Types. Etlcpp goes a bit further and provides all sorts of other classes, to act as stdlib replacement. In essence, while both libraries aim to provide data structures for systems where dynamic memory allocation is undesirable or unavailable, etlcpp is a C++ library with a broader feature set, while heapless is a Rust-specific solution focusing on a subset of commonly used data structures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants