Skip to content

Talk: Asio & Coro - Network Programming with C++20 Coroutines #46

Open
@pgit

Description

@pgit

Title: ASIO & Coro - Networking Programming with C++20 Coroutines

Length: 1h+

Status: In Preparation (2/3 completed)

Required Preparation Time: 2-3W

Description:

While there is almost no standard library support for C++20 Coroutines yet, the Asio asynchronous Model allows using them for network programming and other I/O today.

This talk focuses on using C++20 Coroutines with ASIO, it is not about the language feature.

The talk consists of two parts:

  • To motivate the use of coroutines, the first part looks at sync, async "as-sync" implementations of a TCP Echo Server.
  • In the second part, Boost Process V2 is used to start a child process and communicate with it, putting more of Asio's coroutine support to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions