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 )
Введите имя и нажмите войти
Войти

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

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

М
Гость
М
Гость
Слушаю в новостях что народ собирает голоса что б лишить Киркорова и Баскова,званий народного артиста.Вот так у нас всегда!!!!!!!За что! За прекрассную работу?Которую хочется смотреть!За прекрассную актерскую игру?Юмор? За что?За то что артисты хотят что б мы не скучали и не засыпали .Хоть что то...
М
Гость
ее иза торта вывели, якобы стиль игры очень меняется после черепахи, потому и поставили аллигатора который по факту та же самая черепаха
М
Гость
Мало таких каналов УДАЧИ В ПРОДВИЖЕНИИ!

Моё приветствие
Смотреть
Маршрут Воронеж Ростов
Смотреть
5 счастливый дурень о разработке игр. камень 1
Смотреть
Алексей Николаевич Коровкин
  2026-04-21 в 04:49:09
GPT-5.5 утек: мощный AI-модель от OpenAI!
Смотреть