Advertisement

C++Now 2019: Ben Deane “Identifying Monoids: Exploiting Compositional Structure in Code”

C++Now 2019: Ben Deane “Identifying Monoids: Exploiting Compositional Structure in Code”

Presentation Slides, PDFs, Source Code and other presenter materials are available at:

Composition is the essence of code architecture, and monoids are a powerful and
underappreciated compositional pattern that is lurking in code of all kinds.
Identifying and exploiting monoids is perhaps the best way to improve our code's
large-scale architecture, in the same way that recognizing algorithms and
replacing raw loops is a great way to improve small-scale architecture.

When we start looking for monoids, we find that they are everywhere, and it's
not just about std::accumulate with addition! In this talk I want to develop an
intuition for recognizing this ubiquitous design pattern. I will show some ways
to think about code capabilities at a higher level, and how thinking in terms of
monoids can help us with things like API design, incremental computation,
evolving system state and distributing work. Along the way we'll also look at
how C++ language and library features can support putting monoids to work in our
code.

Ben Deane
Ben was in the game industry for 23 years, at companies like EA and Blizzard. He's always looking for useful new techniques in C++, and hegeeks out on algorithms, APIs, types and functional programming.

Videos Filmed & Edited by Bash Films:

Ben Deane,C++Now 2019,Aspen,Computer Science (Field),+ C (Programming Language),Bash Films,conference video recording services,conference recording services,nationwide conference recording services,conference videography services,conference video recording,conference filming services,conference services,conference recording,conference live streaming,event videographers,capture presentation slides,record presentation slides,event video recording,

Post a Comment

0 Comments