3 ms·
>This means incorporating the Rust toolchain into the build of the C/C++ project Makefile, or etc., system. One warning I can give you based on recent HN posts
by demarq 10y ago
>This means incorporating the Rust toolchain into the build of the C/C++ project Makefile, or etc., system.
One warning I can give you based on recent HN posts:
Embrace Rust fully. Many expect Rust to be a "safe C++" or something of the sort, and try to port not only the code but their way of thinking into rust... which leads to pain and frustration.
You seem to have lots of experience so maybe you already know that, but I'm pointing it out just in case ;)
- bluejekyll 10y agoWell, I've been working with Rust now for going on 2 years. And I know C and have very outdated C++ experience. I'd say C best practices probably translate better to Rust than C++, but with solid systems knowledge, as long as you don't fight the language, and instead try and embrace it, I think it's fine. I think a lot of people want to bring old patterns to Rust, some translate, some don't, but fundamentally the memory system is basically the same.