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:
Applying ASIO and coroutines on a tiny IO application
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.
Link za Slack workspace C++ user grupe i Google/iCal kalendar možete naći ovde.
👤 Speaker | Aleksandar Dakić |
🕕 Date & Time | 5. jul (sreda), u 18h |
📍 Location | ICT Hub |
🏢 Address | Kralja Milana 10 |
💻 Online | https://cppserbia.com/meet |
Vidimo se!