Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

How To Build Robust C++ Inter-Process Queues - Jody Hagins - CppCon 2025

Автор: CppCon

Загружено: 2025-11-26

Просмотров: 9711

Описание:

https://cppcon.org
---

How To Build Robust C++ Inter-Process Queues - Jody Hagins - CppCon 2025
---

This talk will offer design and implementation details of a queue intended to be used between multiple processes.

The C++ standard was written with a single-process worldview, mentioning processes only once—in a note stating that lock-free atomic operations work across process boundaries. This has led to widespread but incorrect advice about using std::atomic in shared memory. When moving queue implementations from threads to processes, seemingly rock-solid code can induce undefined behavior.

In addition, traditional queue interfaces are fundamentally insufficient for cross-process communication. A properly designed inter-process queue API must enforce role separation, ensuring that a process can only perform operations appropriate to its designated role. For example, a producer process should not be able to consume messages or manage the queue itself, and the API should prevent multiple processes from accidentally assuming the same role in a single-producer design.

By the end of this talk, you will understand the fundamental differences between thread process synchronization, how to design proper interfaces for interprocess queues that enforce correct usage across process boundaries, and practical techniques to ensure your cross-process code works reliably in production environments.

Oh yeah, and you will have a full implementation that you can use and improve upon.

---

Slides: https://github.com/CppCon/CppCon2025/...

Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf
---

Jody Hagins

Jody Hagins has been using C++ for the better part of four decades. He remains amazed at how much he does not know after all those years. He has spent most of that time designing and building systems in C++, for use in the high frequency trading space.

---

CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - https://www.cppcon.org
  / cppcon  
https://x.com/cppcon
  / cppconference  
  / cppcon  
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer

How To Build Robust C++ Inter-Process Queues - Jody Hagins - CppCon 2025

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Back to Basics: Lifetime Management in Cpp - Phil Nash - CppCon 2024

Back to Basics: Lifetime Management in Cpp - Phil Nash - CppCon 2024

Modern C++ Error Handling - Phil Nash - CppCon 2024

Modern C++ Error Handling - Phil Nash - CppCon 2024

Day 8 part 1

Day 8 part 1

The Hidden Power of C++23 std::stacktrace for Faster Debugging & Exception Handling - Erez Strauss

The Hidden Power of C++23 std::stacktrace for Faster Debugging & Exception Handling - Erez Strauss

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Optimize Automatic Differentiation Performance in C++ - Steve Bronder - CppCon 2025

Optimize Automatic Differentiation Performance in C++ - Steve Bronder - CppCon 2025

Introduction to Wait-free Algorithms in C++ Programming - Daniel Anderson - CppCon 2024

Introduction to Wait-free Algorithms in C++ Programming - Daniel Anderson - CppCon 2024

Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024

Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024

VCF East: Ken Thompson interviewed by Brian Kernighan

VCF East: Ken Thompson interviewed by Brian Kernighan

Best Practices for AI Tool Use in C++ - Jason Turner - CppCon 2025

Best Practices for AI Tool Use in C++ - Jason Turner - CppCon 2025

19. Роб Пайк — Что мы сделали правильно, что мы сделали неправильно | GopherConAU 2023

19. Роб Пайк — Что мы сделали правильно, что мы сделали неправильно | GopherConAU 2023

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter

Cutting C++ Exception Time by +90%? - Khalil Estell - CppCon 2025

Cutting C++ Exception Time by +90%? - Khalil Estell - CppCon 2025

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Липсиц про рекордный рост цен, падение цен на нефть и будущее криптовалют🎙️ Честное слово с Липсицем

Липсиц про рекордный рост цен, падение цен на нефть и будущее криптовалют🎙️ Честное слово с Липсицем

Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025

Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025

Why 99% of C++ Microbenchmarks Lie – and How to Write the 1% that Matter! - Kris Jusiak

Why 99% of C++ Microbenchmarks Lie – and How to Write the 1% that Matter! - Kris Jusiak

Что нового в C# 14

Что нового в C# 14

Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025

Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com