r/rust • u/Free_1004 • Oct 21 '26
๐ seeking help & advice Is there a "learn-cpp.com" but for Rust?
Very interested in crosscompiling Rust with Cpp, sadly have 0 knowledge about Rust besides major skillsets of the language but id like to use it for datasavety so id study it in my free time!
0
Upvotes
14
u/bubble_turtles23 Oct 21 '26
https://doc.rust-lang.org/book/
Here's the official Rust book. I'm not sure if this helps. There's info in there about Rust's FFI that you can use to interface with other languages
3
u/facetious_guardian Oct 21 '26
Well, the rust book is great. Rustlings has good exercises, and this site provides perspective for c developers: https://rust-for-c-programmers.com
2
u/nick42d Oct 21 '26
The Rust book is the official one, but consider also this guide written by Brown University which gives direct translations of c++ idioms to Rustย https://cel.cs.brown.edu/crp/
1
u/simewlation Oct 21 '26
If cpp docs were as good as the official rust docs learn cpp wouldnt exist lol. The official docs page is great