Tag: socket

Sockets – Applying the Unix Readiness Model When Composing Concurrent Operations in C++ – Filipp Gelman – CppCon 2022

  • Lobby
  • Tag Archives: socket

https://cppcon.org/
---

What I Learned From Sockets - Applying the Unix Readiness Model When Composing Concurrent Operations in C++ - Filipp Gelman - CppCon 2022
https://github.com/CppCon/CppCon2022

Unix systems implement a rich set of primitives for working concurrently with file descriptors. Interfaces like select, poll, epoll, and kqueue allow the caller to wait until an event occurs on any of the specified file descriptors - that is, until at least one of them becomes "ready" for some operation. The Go programming language has a "select" statement with similar semantics. It may be used to wait for any of several "channels" to become ready.

This talk will demonstrate to attendees that such an approach is also viable for solving problems that involve concurrent operations. It will also how C++ concurrency mechanisms could support similar semantics. By the end, it will provide answers to questions like: "How can I .get() the first of several futures?" and "How can I co_await the first of several coroutines?"
---

Filipp Gelman

At Bloomberg LP since 2016, Filipp enjoys exploring the obscure, arcane, and esoteric corners of the C++ language. He is known among his coworkers for heavy use of templates, emphasis on compile time computation, and abusing language features for nefarious purposes.
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon #programming #unix

Filed under: UncategorizedTagged with: , , , , , , ,