Next BeCPP UG Meeting Planned For January 29th, 2020

The next meeting of the Belgian C++ Users Group is planned for Wednesday January 29th, 2020 at 18:00 at OMP.

OMP ( ) is sponsoring this event by providing the location, drinks and catering.

OMP Logo

The agenda is as follows:

  • 18:00: Reception with food.
  • 18:30: Session 1: Coroutines in C++20 (Johan Vanslembrouck)
    A coroutine is a function that can suspend execution to be resumed later. Coroutines allow for sequential code that executes asynchronously (e.g. to handle non-blocking I/O without explicit callbacks), and also supports algorithms on lazy-computed infinite sequences and other uses. Unlike most other languages that support coroutines, C++ coroutines are open and not tied to any particular runtime or generator type and allow libraries to imbue coroutines with meaning, whereas the compiler is responsible solely for efficient transformation of a function to a state machine that is the foundation of the coroutine.
    The presentation will explain the C++ coroutines mechanism, i.e. code generated by the compiler and the code to be written by a coroutine developer. The presentation includes examples of an client-server application using Boost ASIO in combination with C++ 20 coroutines and a producer-consumer queue implemented with and without coroutines.
  • 19:30: Break
  • 19:45: Session 2: The evolution of the C++ Lambda (Lieven de Cock)
    Before C++11, we had to write function objects (functors) or free standing functions to pass as the callable to several algorithms (for example: for_each). The drawback was that we were introducing objects in a bigger scope than actually needed, and it can be considered as rather some boilerplate.
    With the introduction of the lambda we can write (little) callables at the moment we need them. Over the years (or better said over the new standards) the lambdas gained extra power and became more user friendly. In this talk we will have a look on the evolution of the lambda since its birth in C++11.
  • 20:45: Introduction to OMP, followed by a drink.
Professional C++, 4th Edition

We will be giving away 2 copies of Professional C++, the 4th Edition.

C++17 Standard Library Quick Reference

We will also give away a copy of C++17 Standard Library Quick Reference.

The event is free for everyone, but you need to register for it.

There are 100 seats available for this event.

Note: The deadline for registrations is January 26th, 2020!


Leave a Comment

Name: (Required)

E-mail: (Required)