3 ms·
Does anyone have examples of well-written modern C++ code out there? I used to consider myself a C++ expert like circa 2011 but it's advanced to so quickly that
by mehrdadn 8y ago
Does anyone have examples of well-written modern C++ code out there? I used to consider myself a C++ expert like circa 2011 but it's advanced to so quickly that it's almost like a foreign language to me... (though I have tried to keep up a bit... but it's hard without nontrivial examples)
- detaro 8y agoI don't really have experience to properly judge it myself, but Jason Turner is highly regarded in this area and references his ChaiScript project a lot in his talks (which are worth looking up on YouTube): https://github.com/ChaiScript/ChaiScript https://github.com/ChaiScript/ChaiScript
- KerrickStaley 8y agoEffective Modern C++ by Scott Meyer is a good tour of new features in the language. I highly recommend it. It's maybe a little too in-the-weeds in some parts but you can just skim those. It only goes up to C++14 but there's not all that much that's new in C++17. C++20 looks like it's going to be a bigger update, hopefully Scott will come out with a new revision of Effective C++ to address the changes.
- MetallicCloud 8y agoUnfortunately, that's not likely: http://scottmeyers.blogspot.com/2015/12/good-to-go.html http://scottmeyers.blogspot.com/2015/12/good-to-go.html
- pjmlp 8y agoBjarne's book "A Tour of C++" 2nd, then all the Channel 9, CppCon, NDC and C++NOW videos.
- VHRanger 8y agoI'd say tiny-dnn[1] is a good example. Minimal, understandable yet useable neural network library [1] https://github.com/tiny-dnn/tiny-dnn/blob/master/tiny_dnn/nodes.h https://github.com/tiny-dnn/tiny-dnn/blob/master/tiny_dnn/no...
- Koshkin 8y agostd:: is not bad.
- wyldfire 8y agoThis slideshow [1] was a really great, simple intro to some advanced c++14-and-beyond idioms. [1] https://speakerdeck.com/olvemaudal/42-silly-ways-to-say-hello-in-modern-c-plus-plus-sep-2018 https://speakerdeck.com/olvemaudal/42-silly-ways-to-say-hell...
- agallego 8y agoabseil, folly and seastar are pretty great.
- romed 8y agoabseil targets c++11. Its modernity is arguable.