Meeting C++ online is a series of virtual events organized for the C++ community. It is a new online community that meets face to face online by providing a set of online events.
Hubilo is used for hosting virtual events.
- The next Meeting C++ online User Group meeting is on the evening of 07. September 2022
- Join the next Meeting C++ online job fair on 20. September 2022
- Join the next Meeting C++ online tool fair on 08. September 2022
- Want to speak? Read the notes on online speaking and submit your talk to the next Meeting C++ online event!
Next Meeting C++ online user group
September - Corolib: distributed programming with C++ coroutines
Date: 07. September 2022
This meeting is sponsored by Undo! Join us and learn about coroutines and how to debug with Undo!
Distributed applications often use remote method invocation (RMI) to allow a client application to make use of the services of a server application. A constant in many of these applications is the use of either a synchronous two-way RMI style, or an asynchronous style where the invocation is split into a request and a response that has to be handled at a later place and time in the application. This leads to a very different programming style, with programs having to be completely rewritten if the synchronous style was considered to be not efficient enough and a transition has to be made to an asynchronous style.
My talk will demonstrate that we can make a synchronous-style RMI application behave in a responsive, asynchronous way using C++ coroutines by making only minor changes to the original program. This is the purpose of the corolib library. Corolib uses Boost ASIO and Qt for communication between applications, without any changes to the underlying libraries (Boost or Qt).
The major objectives of corolib are:
- Try to accomplish as much coroutine functionality as possible with a minimum of code
- Allow a novice to learn about coroutines by following program traces
- Demonstrate the strict separation of the asynchronous communication library from its use by coroutines
- Demonstrate that synchronous style programs can be executed in a responsive, asynchronous way with only minor modifications to the original program
- Demonstrate that coroutines can be used to replace threads, running the whole application on the main thread
Spooky Action at a Distance by Victor Ciura
Date: 12. May 2022
I hate the term “Design Patterns”. It implies there are universally applicable solutions to some common code scenarios. Just codifying existing practice into some rules and blindly following them is a comfortable path, but not the optimal one. It turns out it’s not as easy as following recipes. Each situation and best associated solution is unique. However there is value in having uniform code structure throughout a project. So this topic is not to be discarded just yet, rather it needs more careful examination. In terms of inspectable properties of objects, what have we learned from years of OO influence from other languages and frameworks? How can we leverage these borrowed techniques in a value-oriented context? Does C++ benefit from special considerations? I think it’s time to revisit our old friend, the Observer pattern - from “theory” to practice. I’m not going to offer The Solution, rather we’re going to examine tradeoffs for several possible implementations, in various usage scenarios from a real project.
Meeting C++ online job fair on 20. September 2022
Online C++ tool fair
On the evening of September 8th Meeting C++ hosts an online tool fair. Come to talk and ask questions to various tool vendors or book authors, watch demos and exchange with other attendees from the C++ community.