Welcome to new C++ Links - most relevant and useful articles, podcasts and videos that happen between 9th and 16th August 2019.
Today you will find links to a list of smaller C++17 features, a free book about Intel TBB and parallel programming, why Dropbox is moving away from C++ and many more!
C++17 offers many big features, like structured bindings,
if constexpr
, filesystem, parallel algorithms… but how about those smaller elements? In a new article, Bartek covers 17 less significant parts of C++17:. For examplesample()
,from_chars
, map and set improvements,scoped_lock
:
Bartek’s coding blog: 17 Smaller but Handy C++17 FeaturesFree book on intel TBB (might also help with C++17 Parallel algorithms, for example GCC’s implementation uses TBB internally):
Link to the book
reddit/r/cpp discussionSome time ago, Dropbox was proud that they use C++ to have a single codebase for various platforms. After some evaluation, the team changed the opinion and decided that it actually was a bad idea:
The (not so) hidden cost of sharing code between iOS and Android | Dropbox Tech BlogJonathan Boccara provides two new articles about his “Pipes” Library. The lib comes from his work on smart output iterators, and now it got a proper name. Have a look at how to use that in your code. You can also contribute to the project:
Smart Output Iterators >>= become(Pipes) - Fluent C++
Making C++ Pipes Compatible with STL Algorithms - Fluent C++
GitHub: joboccara/pipes: Smart iterators for operating on collections in C++Rainer Grim in his new article, discusses myths about C++. For example, single return statement, exception usage and a few others.
C++ Core Guidelines: Non-Rules and Myths - ModernesCpp.comRob and Jason talk about mdspan, r/cpp and CppCon 2019 with Bryce Adelstein Lelbach
C++Cast: mdspan and /r/cppJason Turner, in a new episode of C++ Weekly, discusses the meaning of whitespace in your source code:
https://www.youtube.com/watch?v=JqhbzY04VlE
Tools updates:
Visual Studio Team continues their articles about new and improved features of VS 2019.2, this time you can read about:
Resharper gets a massive update recently. Have a look at their blog post describing the features:
ReSharper C++ 2019.2: Faster indexing, improved C++20 support, new code analysis checks, and better Unreal Engine support - ReSharper C++ BlogReSharper C++ Blog
The links are brought to you through collaboration with Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a face & iris recognition device. He enjoys reading C++ Standard before bed, and he loves to hate JS from dawn to dusk.
If you know Polish, take a look at cpp-polska.pl where Wojtek is one of the co-authors.