2 ms·
I really don't like that I lose anything, but sure. Rust isn't yet equivalent to clang in terms of LLVM, because of the overhead of some of the libraries that
by shakna 10y ago
I really don't like that I lose anything, but sure.
Rust isn't yet equivalent to clang in terms of LLVM, because of the overhead of some of the libraries that it needs. Like its own malloc implementation.
These are acceptable costs to get security.
I hope I haven't come across as disliking Rust, because I love it.
Unfortunately, when it comes to embedded, bytes matter, and those overheads aren't easy to limit or abolish in a simple manner. So you lose out on the security, and have strange compression scripts, or you lose out on the security and use C.
For now, the second is an easier sell to a manager.
I am expecting there will be progress here, from a few of the issues I've seen open on GitHub.
And I really like your work.
- pcwalton 10y agoRust doesn't need its own malloc implementation.