Message Handling with Boolean Algebra - Ben Deane - CppCon 2024

Message Handling with Boolean Algebra - Ben Deane - CppCon 2024

Видео: Message Handling with Boolean Algebra - Ben Deane - CppCon 2024

RuTube

CppVault

Опубликовано: 15.11.2024 в 00:00:00 | Продолжительность: 01:01:02

cpp cppcon Message Handling with Boolean Algebra - Ben Deane - CppCon 2024 Slides: --- Message reception and dispatch is something common to many codebases. And deep down we know that Boolean algebra underlies everything we do. But we seldom give it a second thought or if we do we probably dismiss it as trivial something we learned in college and quickly outgrew. This talk shows the unreasonable effectiveness of going back to basics and really understanding and unlocking the power of Boolean algebra in the design of a message handling library for embedded systems. Well talk about separating message layout and semantics how to match against messages for dispatch and particularly how to compose and simplify constraints at compile time in order to do the least at runtime. Well also introduce Boolean implication and see a non-obvious application which is key to a generic approach. Finally well see how message matchers can be generically transformed using compile-time information allowing complete flexibility of expression and maximum runtime performance. --- Ben Deane Ben was in the game industry for 23 years at companies like EA and Blizzard. For the last couple of years hes been working in the finance industry at Quantlab. Hes always looking for useful new techniques in C and he geeks out on algorithms APIs types and functional programming. ,

#Cpp #Cppcon

Комментарии ( 0 )
Введите имя и нажмите войти
Войти

Сначала новые
Сначала старые
Сначала лучшие

Присоединяйтесь к обсуждению

М
Гость
М
Гость
М
Гость
Есть такие музыкальные дуэты, которые запоминаются своими песнями надолго и при этом они хороши именно потому, что они дуэты. А не одиночки.. Так было и с "Чай вдвоем": красивейшие песни ( "Ласковая моя" была несомненным хитом, да и до сих пор многие ее любят и слушают, и, конечно же, исп...
М
Гость
Мне кажется, что людям, которые могут делать такие поделки скучно не быает, они всегда себя найдут чем занять. Но, чтобы заниматься с детьми, которым скучно или для организации конкурсов идеи очень интересные. Шестеренки вообще отличная идея - можно сделать их больше и показывать, как работают ча...
М
Гость
Уже досматривая сериал практически до конца, не в первый раз задумалась, насколько он легко смотрится. Я, вроде как не сильный любитель фильмов типа "Улицы разбитых фонарей", но этот мне пришелся по нраву. Юморной, сюжеты незатейливые, артисты приятные, мордахи не избитые, так сказать. Смотрела...