Using C++20 three way comparison - Jonathan Müller - Meeting C++ 2019
A new video from Meeting C++ 2019
Using C++20 three way comparison
by Jonathan Müller
February 10-15, Hagenberg, Austria
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Meeting C++ | Dec 19, 2019 09:50 AM | Tags: meetingcpp intermediate experimental c++20 basics advanced
A new video from Meeting C++ 2019
Using C++20 three way comparison
by Jonathan Müller
By Adrien Hamelin | Dec 18, 2019 01:17 PM | Tags: experimental
The series continue.
C++ coroutines: Short-circuiting suspension, part 2
by Raymond Chen
From the article:
There’s one last section of the outline of compiler code generation for co_await that is marked “We’re not ready to talk about this step yet.” Let’s talk about that step.
By Adrien Hamelin | Dec 18, 2019 01:13 PM | Tags: experimental
The series continue.
C++ coroutines: Short-circuiting suspension, part 1
by Raymond Chen
From the article:
At the start of this series, I gave the basic idea for how the compiler generates code for co_await, but I left out some details for expository simplicity. There are some mysterious steps called “We’re not ready to talk about this step yet.”
Now it’s time to talk about one of those steps...
By Adrien Hamelin | Dec 16, 2019 11:27 AM | Tags: experimental
The series continue.
C++ coroutines: Constructible awaitable or function returning awaitable?
By Raymond Chen
From the article:
Last time, we learned how to create simple awaitable objects by creating a structure that implements the await_suspend method (and relies on suspend_always to do the coroutine paperwork for us). We can then construct the awaitable object and then co_await on it...
By Meeting C++ | Dec 13, 2019 12:15 PM | Tags: performance meetingcpp lakos john lakos intermediate experimental c++20 c++17 c++14 advanced
A new talk from Meeting C++ 2019:
Value Proposition: Allocator Aware Software
By John Lakos
By Adrien Hamelin | Dec 11, 2019 12:32 PM | Tags: experimental advanced
A very detailed and interesting article, a must read!
Generators and the Sweet Syntactic Sugar of Coroutines
by Adi Shavit
From the article:
“Coroutines make it trivial to define your own ranges.”
— Eric Niebler, Lead author of the C++ Ranges proposal (edited for drama)Hmmm… is that so?
But wait, what are coroutines?From Boost.Coroutine2: A coroutine (coined by Melvin Conway in 1958!) is a function that can suspend execution to be resumed later. It allows suspending and resuming execution at certain locations and preserves the local state of execution and allows re-entering the subroutine more than once. In contrast to threads, which are pre-emptive, coroutine switches are cooperative: the programmer controls when a switch will happen. The kernel is not involved in the coroutine switches.
This sounds just like what we want!
By Adrien Hamelin | Dec 9, 2019 02:01 PM | Tags: experimental
So many possibilities!
C++ coroutines: Getting started with awaitable objects
by Raymond Chen
From the article:
Coroutines were added to C++20, and Lewis Baker has a nice introduction to them.
- Coroutine theory.
- Understanding operator co_await.
- Understanding the promise type.
But I’m going to write another one, taking a more practical approach: The least you need to know to accomplish various coroutine tasks...
By Adrien Hamelin | Dec 9, 2019 01:53 PM | Tags: experimental
One way C++20 improves things.
C++20: Concepts, the Placeholder Syntax
by Rainer Grimm
From the article:
Before I write about the placeholder syntax and about the new way to define function templates, I have to make a detour. We have asymmetries in C++11/14...
By Meeting C++ | Dec 7, 2019 09:39 AM | Tags: meetingcpp machinelearning intermediate experimental community basics artificialintelligence ai advanced
The Center Keynote from Meeting C++ 2019 is online:
Can AI replace programmers? - Frances Buontempo - Meeting C++ 2019 Center Keynote
by Frances Buontempo
By Meeting C++ | Dec 6, 2019 10:42 AM | Tags: performance meetingcpp intermediate howard hinnant experimental efficiency community chrono c++20 c++17 c++14 c++11 basics advanced
The first keynote of this years Meeting C++ conference is online:
Opening Keynote Meeting C++ 2019 - Howard Hinnant - Design Rationale for the chrono Library
by Howard Hinnant