Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Message Handling with Boolean Implication
38Likes
1,254Views
May 32024
Message reception and dispatch is something common to many codebases. 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. We'll talk about composing predicates on messages and manipulating them at compile time in order to do the least work when dispatching them at runtime. Particularly we'll introduce implication, develop an intuition for this lesser-used Boolean operation, and see how it is key to a generic approach for simplifying predicates.

Follow along using the transcript.

Microsoft Visual Studio

335K subscribers