Embedded Asynchronous Abstraction C++ - Implementing Senders & Receivers Without an OS - Ben Deane

  Рет қаралды 5,511

CppNow

CppNow

Күн бұрын

www.cppnow.org​
---
Embedded Asynchronous Abstraction C++ - Implementing Senders & Receivers Without an OS - Ben Deane - C++Now 2024
---
You've probably heard about senders and receivers. They're this new (actually old, but new to C++) abstraction for asynchronous work. People who work on them tend to be concerned with large-scale heterogeneous computing: parallel algorithms for doing "AI" and such.
But if you're working in embedded or constrained systems, and you want abstraction, what do you do? You have concurrency problems in spades since you're basically event-driven by interrupts happening whenever. Can you use senders and receivers make this situation amenable to reason with zero abstraction cost?
This talk answers that question, and more. We'll talk about the nitty-gritty of how senders and receivers work, and specifically about a partial implementation of P2300 targeting embedded microcontrollers. What's good about the current paper, and where is it lacking? Just what the heck are these things, and can we understand an implementation without drowning in abstract C++ noise? Can we express concurrent behaviour safely on systems without exceptions, allocation, or half the library that standardization takes for granted?
Let's find out.
---
Slides: github.com/boo...
Sponsored by Undo: Debug your hardest C++ bugs with time travel debugging → Learn more at undo.io/cppnow
---
Ben Deane
Ben has been programming in C++ for this whole millennium. He spent just over 20 years in the games industry working for companies like EA and Blizzard; many of the games he worked on used to be fondly remembered but now he’s accepted that they are probably mostly forgotten. After getting more interested in modern C++, in the teens he started giving internal company talks and then talks at various conferences, spreading ideas about types, algorithms and declarative and functional techniques.
In 2018 he left the games industry and worked in finance for a short spell, writing high-frequency trading platforms using the most modern C++ that compilers could support. Now he is a Principal Engineer at Intel where he puts monads inside your CPU.
---
C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - www.cppnow.org
/ cppnow​
/ cppnow
/ cppnow
/ cppnow
mastodon.socia...
Video Sponsors: millennium and think-cell
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
KZbin Channel Managed & Optimized By Digital Medium Ltd: events.digital...
---
#boost #cpp #embedded #asynchronousprogramming #cppprogramming

Пікірлер
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
(Neo)Vim Made Me a Better Software Developer
40:27
vim-jp
Рет қаралды 41 М.
The SQLite Rewrite In Rust
22:15
ThePrimeTime
Рет қаралды 115 М.
How a Microcontroller starts
28:49
Artful Bytes
Рет қаралды 61 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 48 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН