Ask HN: Is A Tour of C++ the best way to learn c++?
I know Rust, but after hitting my head against a wall trying to generate Rust bindings for a templated c++ library[1] I realized I should just write this part of my project in c++.
My current plan is to read through Stroustrup's A Tour of C++, then start working on my project. When I encounter issues I'll look the topic up in Stroustrup's The C++ Programming Language.
I'm hoping someone with relevant experience can tell me if this is a decent plan, and if there's a better or faster way to learn enough C++ to write a small program that calls such a library.
[1]: https://github.com/mapnik/mapnik
4 comments
[ 2.7 ms ] story [ 22.9 ms ] thread(My exact plan is to expose a tiny API with very straightforward data structures. I'll then write simple Rust bindings to that. I need web and native. I've explored enough to think that compiling the cpp to a wasm module via emscripten and then manually writing Rust to call functions in a different wasm module should be feasible)