3 ms·
I'm on the same line. I'd love to see a book focused on practical C++/11/17 with non trivial projects. Effective Modern C++ explains a lot of things, but concre
by markus_zhang 5y ago
I'm on the same line. I'd love to see a book focused on practical C++/11/17 with non trivial projects. Effective Modern C++ explains a lot of things, but concrete examples are a lot better.
Some projects in mind:
C++/SFML/SDL2 game programming using modern C++
Interpreter/compiler construction in modern C++
Explains how to implement things in modern C++ (e.g.unique_ptr) without modern C++ (maybe just use C)
- eatonphil 5y agoYes, just talking about the language isn't enough. Solving somewhat complex problems with standard data structures (maps, trees, hashtables, etc.) and doing it in the modern, efficient way is the kind of thing I'm really looking for. In Python it's easy (which isn't to say everything should use Python) because you don't have to do anything but use the builtin datastructures and solve your problem. Maybe modern C++ works the same way but if it does, I still need someone to show it since that isn't how it used to be (to my knowledge).
- markus_zhang 5y agoYeah the thing is I don't know if there is any _good_ small-medium modern C++ code base to read. Eventually I just gave up and use raw pointers. My theory is that since people don't care about JVM not returning memory to system, they should also not care a bout a few MBs of memory leak in my small game.