World Congress 2025 • Aug 20, 2025 • Session details

Functional Programming in C++

Jonathan Müller

Eliminate mutable state without sacrificing execution speed. Discover how C++20 ranges and monadic error handling merge functional programming safety with hardware-native performance.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction to functional programming concepts in C++

Adopting declarative programming paradigms eliminates state mutations and simplifies reasoning in C++ code.

#2 about 5 min

Filtering and transforming ranges with lazy evaluation views

Replacing eager intermediate containers with C++20 views enables efficient and stateless lazy evaluation.

#3 about 3 min

Finding pair sums using Cartesian products and parallel algorithms

Defining combinations with lazy Cartesian products allows seamless optimization through standard parallel algorithms.

#4 about 3 min

Applying chunking patterns to identify continuous subsequences lazily

Using chunk boundaries based on predicates simplifies the extraction of subranges without manual state tracking.

#5 about 3 min

Reversing string words with conditional range pipelines and subsets

Combining splitting and conditional reverse operations cleanly transforms strings without eager memory allocations.

#6 about 1 min

Summarizing range composition patterns and standard library algorithms

Applying standard views minimizes manual loops when manipulating collections and data streams.

#7 about 7 min

Handling errors functionally using expected values and pipeline continuations

Modeling failures as concrete return values prevents unpredictable control flow paths caused by exceptions.

#8 about 4 min

Separating I/O and concurrency from computation using execution actions

Defining I/O operations as deferred action lists eliminates side effects and simplifies software testing.

#9 about 2 min

Simplifying monads as composable value boxes within C++

Treating ranges, expected types, and I/O objects as monads unifies their composition through common transform operations.

Matching moments

8:10 min

Functional programming principles and practical application in C#

Simon Painter · LIVE

2:55 min

Defining the core principles of functional programming

Jemima Abu · World Congress 2022

2:03 min

Building scalable applications with reactive programming

Josh Long · World Congress 2022

2:10 min

Using higher-order functions to manipulate data collections

Tobias Schröder · World Congress 2021

1:30 min

Benefits of writing encapsulated functional code

Jemima Abu · World Congress 2022

2:28 min

Functional programming roots and security focus

Arthur Breitman Arthur Breitman · World Congress 2021

Upcoming sessions on this topic

Open session

React Under Fire: Rendering Performance for Streaming Agent UIs

  • Abhirupa Mitra

    Slack

    Senior Member of Technical Staff

Open session

Beyond File Dumps: Context Engineering for Coding Agents

  • Animesh Dutta

    Arm

    Senior Software Engineer

Open session

From Prompt Engineering to Harness Engineering: Building Observable and Governed GenAI Systems

  • Lakshmi Devi Prakash

    JPMorgan Chase

    VP, Applied AI/ML Lead

Open session

Modern forecasting with sktime - foundation models, agents, and benchmarks

  • Aryan Saini

    sktime

    AI engineer

  • Franz Kiraly

    sktime

    Director

  • Jigyasu ㅤ

    sktime

    Core developer

Open session

Teaching AI Coding Agents to Build It Right the First Time

  • Sajeetharan Sinnathurai

    Microsoft

    Principal Product Manager

Open session

How We Cut Our API's p99 Latency from Minutes to Under a Second

  • Deepak Agrawal

    Atlassian

    Principal Software Engineer