Taming dynamic memory - Andreas Weis - Meeting C++ 2018
New video from Meeting C++ 2018
Taming dynamic memory
by Andreas Weis
February 10-15, Hagenberg, Austria
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Meeting C++ | Jan 20, 2019 07:33 AM | Tags: meetingcpp intermediate c++17 c++11 advanced
New video from Meeting C++ 2018
Taming dynamic memory
by Andreas Weis
By Meeting C++ | Jan 18, 2019 06:54 AM | Tags: tmp reflection meetingcpp intermediate experimental c++14 advanced
First talk from Meeting C++ is released:
Better C++14 reflections
by Antony Polukhin
By Adrien Hamelin | Jan 17, 2019 01:24 PM | Tags: intermediate community
In one word.
The pImpl Idiom
by Arne Mertz
From the article:
The pImpl idiom is a useful idiom in C++ to reduce compile-time dependencies. Here is a quick overview of what to keep in mind when we implement and use it...
By Adrien Hamelin | Jan 14, 2019 02:13 PM | Tags: intermediate c++17
Short and clear.
C++17: std::scoped_lock
by Marc Gregoire
From the article:
C++17 includes an std::scoped_lock (defined in <mutex>) which basically replaces std::lock_guard...
By Meeting C++ | Jan 13, 2019 12:18 PM | Tags: meetingcpp intermediate experimental community advanced
The Center Keynote by Lisa Lippincott from Meeting C++ 2018
The Truth of a Procedure
by Lisa Lippincott
By Meeting C++ | Jan 12, 2019 12:45 PM | Tags: meetingcpp intermediate experimental efficiency c++17 basics advanced
Andrei Alexandrescus Opening Keynote from Meeting C++ 2018
The next big Thing
by Andrei Alexandrescu
By Jason Turner | Jan 9, 2019 03:12 PM | Tags: intermediate c++20 advanced
Episode 149 of C++ Weekly.
C++20's Lambda Usability Changes
by Jason Turner
About the show:
C++20 brings many different changes to lambdas, and two of these changes greatly affect the ways in which lambdas can be used. In this episode Jason discusses the use of lambdas in unevaluated contexts and the default constructability of lambdas in C++20.
By Adrien Hamelin | Jan 7, 2019 12:12 PM | Tags: intermediate community
Nothing is perfect.
Functional Programming Is Not a Silver Bullet
by Jonathan Boccara
From the article:
The past few years have seen a boost in popularity of the functional programming paradigm. Languages that were used mostly in academic circles for decades are now in broader use amongst programmers. And every couple of months, another functional language hits the news and gets its trail of followers.
Why is that? Functional programming allow for safer and more robust code, in part due to one of its core principles: values are not mutable. A consequence of this is that there is no side effects. We can apply this principle in any language, including in C++, by coding with the least side effects possible.
While it certainly helps putting together a better design of code, it’s important to realize that it’s not the panacea, that this principle doesn’t solve in itself all design issues. Nothing is the panacea anyway, but in this time of gold rush towards functional programming, we could be tricked into thinking it will automatically lead to good design.
Functional programming is known to reduce coupling in code. We’ll briefly go over what coupling is, what sort of coupling functional programming prevents, and how some other dangerous forms of coupling can still sneak in even with functional programming. You want to pay attention to those to preserve the design of your code...
By Adrien Hamelin | Jan 4, 2019 02:50 PM | Tags: intermediate
Basic, but complex.
What is an Allocator?
by Vanand Gasparyan
From the article:
This is one of the many beautiful questions you can think on or be asked at interviews if your native coding language is C++. The beautiful thing about this question is that you answer it again and again as you grow and gain more experience. Similarly, when you’re being interviewed for an internship, knowing that there is such a thing somewhere in STL might be enough, whereas later you’ll be expected to write your own custom allocator...
By Adrien Hamelin | Jan 4, 2019 02:48 PM | Tags: intermediate
Did you know?
Don’t forget: std::pair does lexicographical ordering, so you don’t have to
by Raymond Chen
From the article:
A feature perhaps not as widely known as I thought is that the std::pair type performs lexicographical ordering, so you don't have to...