Dragging C++ into the Modern era
Guy Davidson speaks about the proposed 2d API for C++
Dragging C++ into the Modern era
by Guy Davidson
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Meeting C++ | Jan 12, 2018 09:14 AM | Tags: meetingcpp intermediate efficiency 2d api
Guy Davidson speaks about the proposed 2d API for C++
Dragging C++ into the Modern era
by Guy Davidson
By robwirving | Jan 12, 2018 07:59 AM | Tags: None
Episode 133 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Matt Godbolt to talk about the Meltdown and Spectre vulnerabilities and how they affect C++ Programmers.
CppCast Episode 133: Meltdown and Spectre with Matt Godbolt
by Rob Irving and Jason Turner
About the interviewee:
Matt is a developer at trading firm DRW. Before that he's worked at Google, run a C++ tools company, and spent over a decade in the games industry making PC and console games. He is fascinated by performance and created Compiler Explorer, to help understand how C++ code ends up looking to the processor. When not performance tuning C++ code he enjoys writing emulators for 8-bit computers in Javascript.
By Meeting C++ | Jan 12, 2018 04:23 AM | Tags: meetingcpp cmake build systems
A talk about modern CMake.
Modern CMake for modular design
by Mathieu Ropert
By bfilipek | Jan 11, 2018 03:00 PM | Tags: None
Tricky weak_ptr and shared_ptr interaction:<img alt="" data-cke-saved-src="https://2.bp.blogspot.com/-2XIQxeCUBFc/Wi2JGz_EcXI/AAAAAAAADNU/vEkN6ZtXR-Yon5YuZWBxk-6kjmHD1011ACLcBGAs/s1600/control_block.png" src="https://2.bp.blogspot.com/-2XIQxeCUBFc/Wi2JGz_EcXI/AAAAAAAADNU/vEkN6ZtXR-Yon5YuZWBxk-6kjmHD1011ACLcBGAs/s1600/control_block.png" right;"="" style="float: right; width: 230px; height: 199px;">
How a weak_ptr might prevent full memory cleanup of managed object
by Bartlomiej Filipek
From the article:
It appears that in some cases memory allocated for the object controlled by smart_ptr might not be released until all weak pointers are also ‘dead’.
By Adrien Hamelin | Jan 11, 2018 02:40 PM | Tags: intermediate
Quick A: Read the core guidelines
Recently on reddit:
() vs {} when constructing objects
If I know the type, I'll write {}. If the type is generic, I'll only write {} with zero parameters. Otherwise, I might construct an initializer_list I didn't intend to...
By Adrien Hamelin | Jan 11, 2018 02:37 PM | Tags: advanced
It needs to be used carefully, but has its uses.
C++ Comma Operator
by Ivan Sanz
From the article:
Comma operator has been with us for a long time. First seen in C spec and improved with custom overloads in C++, it quickly became one of those hidden things you shouldn’t use.
Most C/C++ books avoid speaking about goto the same way they do about comma operator. This is not fair, as both of them can be used properly on certain cases. Let’s speak about that...
By Giovanni Dicanio | Jan 11, 2018 05:04 AM | Tags: c++17 c++14
Are you interested in learning about some practical features added in C++14 and C++17, with a mix of engaging slides and demo code? Then consider watching this Pluralsight course!
New Pluralsight Course: Practical C++14 and C++17 Features
by Giovanni Dicanio
From the blog post:
C++14 and C++17 added many new features to the C++ language. This course will teach you practical features introduced in C++14 and C++17, that you will be able to use to write clearer, simpler, and higher-quality modern C++ code.
By bfilipek | Jan 11, 2018 05:02 AM | Tags: c++17
Bartek's non-official year report
C++ Status at the end of 2017
by Bartlomiej Filipek
From the article:
Four things that I’d like to emphasize for the year:
- C++17 and the stable progress of the standardization
- Transparency of the Committee and compiler vendors
- Community is growing!
- More tools!
By Meeting C++ | Jan 11, 2018 03:51 AM | Tags: meetingcpp errorhandling c++20
Niall Douglas gave an overview on the proposed std::expected
Introduction to proposed std::expected
by Niall Douglas
By Adrien Hamelin | Jan 10, 2018 02:48 PM | Tags: intermediate
A good sum up.
The Pimpl Pattern - what you should know
by Bartlomiej Filipek
From the article:
Have you ever used the pimpl idiom in your code? No matter what’s your answer read on
In this article I’d like to gather all the essential information regarding this dependency breaking technique. We’ll discuss the implementation (const issue, back pointer, fast impl), pros and cons, alternatives and also show examples where is it used. You’ll also see how modern C++ can change this pattern. Moreover, I hope you’ll help me and provide your examples...