Aleksandar Dakić — Asynchronous IO with ASIO and C++20 coroutines — 5.7.2023.

Описание к видео Aleksandar Dakić — Asynchronous IO with ASIO and C++20 coroutines — 5.7.2023.

Input/Output operations, such as writing to a disk or reading from a socket, are significantly slower than accessing the CPU. Asynchronous IO is a form of input/output processing that allows the application to perform other processing while IO operations are being performed.

Using asynchronous (event-driven) architecture allows the development of efficient and scalable software. However, as the number (and composition) of asynchronous operations grow, the callback-based approach can increase complexity and decrease readability. C++20 introduced stackless coroutines to improve code clarity while the benefits of an asynchronous implementation are preserved.

ASIO library provides asynchronous IO and execution functions. It has first-class support for C++20 coroutines. A combination of ASIO and coroutines significantly improved and simplified Asynchronous IO programming in C++.

In this talk, we will cover:

1. ASIO's asynchronous model and basics
2. C++20 improvements
3. Applying ASIO and coroutines on a tiny IO application

Speaker: Aleksandar Dakić

This event is sponsored by Zühlke

Zühlke is a global innovation service provider. We empower ideas and create new business models by developing services and products based on new technologies – from initial vision through development, deployment, production, and beyond. Innovation and technology can be a positive force for good in business and society. We empower our clients to envision and create a sustainable future.

We specialise in strategy and business innovation, digital solutions and applications, and device and systems engineering. Our solutions provide unique business value and a reliable foundation for ongoing success.
Zühlke was founded in Switzerland in 1968 and is owned by its partners. Our 1,900 employees are based in Austria, Bulgaria, Germany, Hong Kong, Portugal, Serbia, Singapore, Switzerland, the United Kingdom, and Vietnam, serving clients from a wide range of industries.

Комментарии

Информация по комментариям в разработке