It won't help you learn C++ from scratch, but once you know a bit about it, the Abseil tips published by Google are a remarkably useful resource to learn best practices and modern C++: https://abseil.io/tips/ They are one of the main tools used internally at Google to ensure engineers who have to use C++ stay on top of language evolution and avoid common pitfalls.
Ask HN: I whant to Learn C++ not Rust!!
21–30 of 40 posts
Re: Ask HN: I whant to Learn C++ not Rust!!
#22All of the resources I used to learn C++ are probably obsolete at this point, so I can't give any advice on how to get started, but I highly recommend reading Effective Modern C++ after you learn the basics, which covers a lot of best practices.
Thanks ;)
Re: Ask HN: I whant to Learn C++ not Rust!!
#23Re: Ask HN: I whant to Learn C++ not Rust!!
#24I'm not a C++ dev, but I would recommend JetBrain's CLion IDE for C/C++ development. It has great integration with build tools, debugger, valgrind, iperf(for profiling). It's a bit pricy, but it's possible to redo the free trial indefinitely.
I am more of a CLI user I've been using neovim with coc for js, ts, python and even solidity development. I will try first to have things working in my usual dev environment, but thanks for the suggestion I've heard good things about CLion and could probably get a free licence.
Re: Ask HN: I whant to Learn C++ not Rust!!
#25Re: Ask HN: I whant to Learn C++ not Rust!!
#26Re: Ask HN: I whant to Learn C++ not Rust!!
#27Which C++ do you want to learn? There’s a lot of history there. I’d look at various C++ libraries over the years written in the different dialects. C++ has so many variants it’s really hard to say it’s a single language as each one reads so differently. It’s like saying English is a single language without understanding there are wildly different dialects and meanings to the same thing.
Re: Ask HN: I whant to Learn C++ not Rust!!
#28Part of the reason I’ve gravitated towards Rust as my system’s language is because every time I look at a large C++ project there are CMake / Automake / Make definitions that are really hard for me to read and understand. Some of them even seem to use symbols I can’t find in these tools’ manuals.
Re: Ask HN: I whant to Learn C++ not Rust!!
#29https://en.cppreference.com/w/
Books:
A tour of C++ 2nd Ed by Bjorne Stroustrup covers C++17 and a new version is in the works to cover C++20 and maybe 23.
Re: Ask HN: I whant to Learn C++ not Rust!!
#30Herr are some great resources: https://en.cppreference.com/w/ https://www.learncpp.com/ https://hackingcpp.com/ Books: A tour of C++ 2nd Ed by Bjorne Stroustrup covers C++17 and a new version is in the works to cover C++20 and maybe 23. https://nostarch.com/cppcrashcourse