3 ms·
One thing I think I missed, was how pleasant it it is to program in modern C++. There are no pointers, for the most part completely automatic memory management
by sumanthvepa 5y ago
One thing I think I missed, was how pleasant it it is to program in modern C++. There are no pointers, for the most part completely automatic memory management (with the RAAI) idiom. Build systems are still a pain. I recently built a physics simulator for an n-body type interaction problem in C++. Not a a large program (about 40K lines of code) but the experience was extremely pleasant. For build I used a combination of make for Linux and macOS and nmake and VisualStudio projects. Debuggers on Linux are still a bit bad. GDB with Emacs is fine but, is somewhat primitive compared to VisualStudio and even Xcode. Other than that it was a joy to actually write in C++.
The primary reason, I think was because there was no legacy code I had to deal with.
- heavyset_go 5y agoDo you know of any good resources for picking up modern C++?
- jguzmanjr 5y agoI’ve used this book in the past to learn modern C++: https://www.amazon.com/dp/1484233654/ref=cm_sw_r_cp_awdb_imm_JXM737Z80N5H9XXKS8FN https://www.amazon.com/dp/1484233654/ref=cm_sw_r_cp_awdb_imm... For greenfield projects I’d opt for Rust over C++.