Re:Ask HN: Project Ideas to Learn C++11 Features
by koots on Thursday February 21, 2019 @08:54PM
(#19222445)
I see your point, but I want a project I can learn from and to add to my portfolio.
Re:Ask HN: Project Ideas to Learn C++11 Features
by danbolt on Friday February 22, 2019 @06:25PM
(#19230134)
Perhaps a raytracer? Those are often performance-oriented and employ C++ so the subject matter would be practical. A look into threading, memory ownership, and tricks like `constexpr` could all be utilized.
An example might be implementing a linked-list or tree with `unique_ptr`, while using conventional pointers for the doubly-linked `prev` part. The goal being exploring the idea of ownership and automatic memory management.
Personally, the most helpful way I learned about using C++ was to try features and hear which ones people liked/disliked and why. The discussion (and sometimes drama!) made things more memorable.