News for hackers. Stuff that matters.
Re:Ask HN: Project Ideas to Learn C++11 Features by danbolt on Thursday February 21, 2019 @05:34PM (#19221190)
I'm not sure what a good mid-size project would look like, but one thing that really helped me was implementing structures/algorithms using C++11's features. It aided in not just getting a feel for them, but also what finding out features I liked and didn't.

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.

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.
Re:Ask HN: Project Ideas to Learn C++11 Features by koots on Saturday February 23, 2019 @03:17AM (#19232328)
A ray tracer sounds good. Thank you.