Live data from Hacker News

Ask HN: I whant to Learn C++ not Rust!!

news.ycombinator.com

11–20 of 40 posts

Re: Ask HN: I whant to Learn C++ not Rust!!

#11

I'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.

They used to have free licenses for students, too. Not sure if that's available or useful for OP.

Re: Ask HN: I whant to Learn C++ not Rust!!

#13
post #4

I would start with "A Tour of C++", by Stroustrup.

Hi thanks for the recomendation, looks pretty good and complete! Is there any edition that includes modern standards? (c++17 minimum)

Um... from memory, the edition I have covers c++14. I don't know if there's a more recent edition.

Re: Ask HN: I whant to Learn C++ not Rust!!

#15
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.

Re: Ask HN: I whant to Learn C++ not Rust!!

#17
Most importantly, code something in c++! Being "book-smart" with nothing to show for it is pretty much useless. A simple Snake or Tetris clone in SDL is a super rewarding first project, or you could give Advent of Code a go as it lets you solve a lot of cool puzzles that fit in a couple of hours at worst. As for books, I can recommend Effective Modern C++ by Scott Meyers. CppCast is a great podcast that can get you up to speed on the C++ ecosystem.

Re: Ask HN: I whant to Learn C++ not Rust!!

#19
All 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.

Re: Ask HN: I whant to Learn C++ not Rust!!

#20

Most importantly, code something in c++! Being "book-smart" with nothing to show for it is pretty much useless. A simple Snake or Tetris clone in SDL is a super rewarding first project, or you could give Advent of Code a go as it lets you solve a lot of cool puzzles that fit in a couple of hours at worst. As for books, I can recommend Effective Modern C++ by Scott Meyers. CppCast is a great podcast that can get you u…

This is great advice!
Post reply on HN