Slides of the 8th of October 2024 BeCPP Meeting

October 16, 2024 Marc Gregoire Events

Thank you everyone for joining the Belgian C++ Users Group meeting on 8th of October 2024 and thanks to Dekimo for sponsoring the event by providing the location and catering.

DekimoLogo

If you couldn’t attend the event in person, or if you would like to go over the material again, you can download them below.

More

0

Pictures of the 8th of October 2024 BeCPP Meeting

October 16, 2024 Marc Gregoire Events

Here are some pictures of the Belgian C++ Users Group meeting held on 8th of October 2024.

More

0

Next BeCPP UG Meeting Planned for October 8th, 2024

August 7, 2024 Marc Gregoire Events

I’m happy to announce that the next meeting of the Belgian C++ Users Group is planned for Tuesday October 8th, 2024 at 18:00 at Dekimo.*

Dekimo ( https://www.dekimo.com/ ) is sponsoring this event by providing the location, drinks and catering.

DekimoLogo

The agenda is as follows:

  • 18:00: Reception with food.
  • 18:30: Session 1: Better Threading in C++20 (Lieven de Cock)
    We got threading support by the language and library in C++11. There were however a few things missing, like RAII for a thread object, or a nice way to stop a thread, or to request it to stop. Similar problem, how do we stop a ‘waiting’ condition variable. Most developers have solved these problems with home made solutions. C++20 brings standardized solutions to the table.
    Next to that we also get some new synchronization facilities like barrier/latch/semaphore, all nice additions. There is no longer a need to re-invent the wheel or reach out to 3rd-party libraries. We will look at all these new little tools and investigate on how to use them. So register your stop callback, and by the end of the talk we will request our source to stop, and in our ‘cooperative cancellation’ scheme, do not forget to keep an eye on your stop token.
  • 19:30: Break
  • 19:45: Session 2: Fibers: CoRoutines from the OS (Dave De Breuck)
    This talk delves into fibers in C++, focusing on their role in enhancing concurrency and efficiency. Fibers use cooperative context switching, making them ideal for high-concurrency applications. We’ll explore the principles of fibers, their advantages over traditional threads, and their implementation in C++.
  • 20:45: Introduction to Dekimo, followed by a drink.

We will be giving away two copies of Professional C++, 6th Edition.
Professional C++, 6th Edition

We will also give away two copies of Beginning C++23, From Beginner to Pro.
Beginning C++23, From Beginner to Pro

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

There are 75 seats available for this event.

Note: The deadline for registrations is October 1st, 2024!

* There are limited number of parking places available at the location itself. However, there are free parking places available on the Brusselsesteenweg and in the streets around the office. Additionally, the free P+R parking Gentbrugge Arsenaal is at 1km with a tram connection to the office. There is a bus stop and a tram stop in front of the office.

More

0

Slides of the 8th of April 2024 BeCPP Meeting

April 13, 2024 Marc Gregoire Events

Thank you everyone for joining the Belgian C++ Users Group meeting on 8th of April 2024 and thanks to Attentia for sponsoring the event by providing the location and catering.

Attentia Logo

If you couldn’t attend the event in person, or if you would like to go over the material again, you can download them below.

  • Building a class for modular arithmetic (Toon Baeyens)
    Slides (PDF).

  • Using C++ in the cloud using the AWS C++SDK (Hans Klabbers)
    Slides (PDF).

More

0

Pictures of the 8th of April 2024 BeCPP Meeting

April 13, 2024 Marc Gregoire Events

Here are some pictures of the Belgian C++ Users Group meeting held on 8th of April 2024.

More

0

Pure Virtual C++ 2024 Conference

April 6, 2024 Marc Gregoire Events

Pure Virtual C++ is a free one-day virtual conference for the whole C++ community. This year it will run on April 30th 15:00 UTC. Sign-up for free to get access to five sessions on the day and a host of pre-conference content.

Here is the list of sessions:

  • Automated Testing of Shader Code with Keith Stockdale (Rare) – Rare has a rich culture of writing automated tests for their game and engine code. The ‘Sea of Thieves’ project has hundreds of thousands of automated tests that exist to validate behavior and to ensure that bugs are kept to a minimum, as we continually deliver an ever-changing experience to players. Among this large test suite are tests that validate and verify shader code. This session explores the new Rare Shader Test framework, describing how tests are written for shader code. The talk will also delve into the C++ and HLSL implementation of the shader testing framework to discuss the design goals of the system, and how we are using C++ to meet these design goals.
  • Message Handling with Boolean Implication with Ben Deane (Intel) – Message reception and dispatch is something common to many codebases. This talk shows the unreasonable effectiveness of going back to basics and really understanding and unlocking the power of Boolean algebra in the design of a message handling library. We’ll talk about composing predicates on messages and manipulating them at compile time in order to do the least work when dispatching them at runtime. Particularly we’ll introduce implication, develop an intuition for this lesser-used Boolean operation, and see how it is key to a generic approach for simplifying predicates.
  • I Embedded a Programming Language In Debug Information with Sy Brand (Microsoft) – DWARF information on Linux provides debuggers with a bridge between high-level source code and the machine instructions generated by the compiler. As part of this, it describes how to locate variables within your program at runtime using a language called DWARF Expressions. When implementing a parser for DWARF Expressions I thought “this seems suspiciously Turing-complete, can I implement a programming language inside this?” It turns out the answer is yes. In this session you’ll learn how debug information and executables are stored on Linux systems and how I managed to (ab)use them to implement a programming language interpreter that runs when you ask your debugger for the address of a variable.
  • Enhancing C++ development with Copilot Chat with Sinem Akinci (Microsoft) – Copilot is an AI-powered pair programmer integrated into Visual Studio and VS Code that can be there to assist you at many different points in your C++ development journey. In this session, we’ll introduce Copilot and Copilot Chat, share tips for achieving the results you want, and provide different use cases for using these tools. Then, we’ll see these tools in action in C++ code in Visual Studio as we tackle a variety of problems from navigating and understanding code to refactoring existing code.
  • Progress Report: Adopting Header Units in Microsoft Word with Zachary Henkel (Microsoft) – Microsoft Office is a huge C++ codebase with nearly 100 million lines of native code. This size provides a constant challenge to build the product as quickly as possible. C++20 header units are a way to receive many of the benefits of modules, while still working with a codebase originally designed for classic header inclusion. At CppCon 2022 we announced that Office would investigate header units with the goal of improved build throughput. We’re excited to present the results of that work for the benefit of the C++ community at large. In this session, we’ll share build performance metrics for the first time.

More

0 C++,

Next BeCPP UG Meeting Planned for April 8th, 2024

March 7, 2024 Marc Gregoire Events

I’m happy to announce that the next meeting of the Belgian C++ Users Group is planned for Monday April 8th, 2024 at 18:00 at Attentia.

Attentia ( https://www.attentia.be/ ) is sponsoring this event by providing the location, drinks and catering.

Attentia Logo

The agenda is as follows:

  • 18:00: Reception with food.
  • 18:30: Session 1: Building a class for modular arithmetic (Toon Baeyens)
    Writing modern C++ is not easy. Yet, doing it well brings you many benefits. The code will be elegant, and the program will be fast.
    In this talk, we will be building a type for modular arithmetic as an excuse to discover many powerful features and techniques within the C++ ecosystem.
    This adventure will take us from concepts, metaprogramming, and dependent types to integer division, studying generated assembly and micro-benchmarking.
  • 19:30: Break
  • 19:45: Session 2: Using C++ in the cloud using the AWS C++SDK (Hans Klabbers)
    Have you ever wondered what cloud computing and serverless provide you as a software developer that creates software with C++? During this talk you will get insight in Amazon Web Services a.k.a. AWS Cloud. A demo of a serverless solution created with AWS services and software built with C++ will be shown during the talk.
  • 20:45: Introduction to Attentia, followed by a drink.

Professional C++, 6th Edition
We will be giving away a copy of Professional C++, 6th Edition.

Beginning C++23, From Beginner to Pro
We will also give away a copy of Beginning C++23, From Beginner to Pro.

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

There are 60 seats available for this event.

Note: The deadline for registrations is April 4th, 2024!

More

0

Slides of the 31st of October 2023 BeCPP Meeting

November 10, 2023 Marc Gregoire Events

Thank you everyone for joining the Belgian C++ Users Group meeting on 31st of October 2023 and thanks to DAE and Howest for sponsoring the event by providing the location and catering.

DAE Logo Howest Logo

If you couldn’t attend the event in person, or if you would like to go over the material again, you can download them below.

More

0

Pictures of the 31st of October 2023 BeCPP Meeting

November 10, 2023 Marc Gregoire Events

Here are some pictures of the Belgian C++ Users Group meeting held on 31st of October 2023.

More

0

Next BeCPP UG Meeting Planned for October 31st, 2023

September 25, 2023 Marc Gregoire Events

I’m happy to announce that the next meeting of the Belgian C++ Users Group is planned for Tuesday October 31st, 2023 at 18:00 at DAE and Howest (Howest, Campus Kortrijk Weide – The Penta).

DAE ( https://digitalartsandentertainment.be/ ) and Howest ( https://www.howest.be/ ) are sponsoring this event by providing the location, drinks and catering.

DAE Logo Howest Logo

The agenda is as follows:

  • 18:00: Reception with food.
  • 18:30: Session 1: Elevating Precision in C++: A Journey below the Surface of Floating-Point (Tom Tesch)
    Floating-point numbers, with their varying levels of precision, serve as foundational components in the toolkit of both new and seasoned C++ developers. In this presentation, we will uncover the inner workings of floating-point variables, explore their limitations, and discuss strategies for extending precision while being mindful of associated trade-offs. Join us as we embark on a journey into the realm of floating-point arithmetic in C++, offering insights that will enhance your programming finesse.
  • 19:30: Break
  • 19:45: Session 2: Coroutines: Don’t try this at home (Lieven de Cock)
    In C++20 we got the core language feature “coroutines”. Mostly oriented to the advanced c++ programmers, and not for the mere mortals, since it requires a lot of boilerplate one would not like to write. It provides the fundamentals to further build upon. Unfortunately the STL library did not build on it yet, more was to come in C++23.
    In C++23 we will only get one follow up: std::generator.
    So let’s revisit coroutines. What are they? A function that can be suspended and resumed. Easily said, but how to make use of it and write that boilerplate after all. We will look at the coroutine from 2 different angles: the user code and the compiler, and we will inspect what each wants or would like to have, and where we need to glue them together and what is needed for that purpose. We will give insights on topics like: coroutine frame, couroutine handle, promise_type, the interface or api.
    And if time permits we will look at an example of coroutines in use in asynchronous code (because a misconception is that coroutines (purely) have to do with threads and async’s).
  • 20:45: Introduction to DAE and Howest, followed by a drink.

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

There are 250 seats available for this event.

Note: The deadline for registrations is October 29th, 2023!

More

0

« Previous Posts

Powered by WordPress. Designed by elogi.