Declarative Style Evolved - Declarative Structure - Ben Deane - C++Now 2025

https://www.cppnow.org --- Declarative Style Evolved - Declarative Structure - Ben Deane - C++Now 2025 --- • If it compiles, it should be correct. • It should be easy to use and change. • It should run fast enough. • It should be testable. I'm sure we could all extend this wish list indefinitely with desirable properties of code. The question is, how to do we apply this beyond small areas of local concern? How can we deal with the complexities of common cross-cutting concerns like IO, networking, concurrency, logging, handling time, or dealing with hardware quirks? How can we write code and enable our teams to write code that really achieves zero-cost abstraction at the scale of subsystems? How do we move beyond "easy mode" code reviews recommending using algorithms over raw loops, to cultivating a sensibility for code structure that moves us closer to the above goals? What techniques are available to achieve a declarative style at scale? These are the questions I'll address in this talk, with practical advice; case studies; and an exploration of what it means to structure code and APIs declaratively, how to do so, and what the benefits are. --- Slides: https://github.com/boostcon/cppnow_pr... think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: https://www.think-cell.com/en/career/... Ben Deane Ben has been programming in C++ for this whole millennium. He spent just over 20 years in the games industry working for companies like EA and Blizzard; many of the games he worked on used to be fondly remembered but now he’s accepted that they are probably mostly forgotten. After getting more interested in modern C++, in the teens he started giving internal company talks and then talks at various conferences, spreading ideas about types, algorithms and declarative and functional techniques. In 2018 he left the games industry and worked in finance for a short spell, writing high-frequency trading platforms using the most modern C++ that compilers could support. Now he is a Principal Engineer at Intel where he puts monads inside your CPU. --- C++Now 2026 - 4th May - 8th May C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world. Annual CppNow Conference - https://www.cppnow.org   / cppnow     / cppnow     / cppnow     / cppnow   https://mastodon.social/@cppnow Video Sponsors: think-cell and Bloomberg --- Videos Filmed & Edited By Bash Films: https://bashfilms.com/ YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk --- #abstraction #algorithms #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment

Making A Program Faster - Multithreading & Automatic Compiler Vectorization - Ivica Bogosavljevic
▶︎

Making A Program Faster - Multithreading & Automatic Compiler Vectorization - Ivica Bogosavljevic

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024
▶︎

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024

API Structure and Technique: Learnings from C++ Code Review - Ben Deane - CppCon 2025
▶︎

API Structure and Technique: Learnings from C++ Code Review - Ben Deane - CppCon 2025

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024
▶︎

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

How the Linux User/Kernel ABI Really Works - Greg Law - C++Now 2025
▶︎

How the Linux User/Kernel ABI Really Works - Greg Law - C++Now 2025

Are We There Yet? - The Future of C++ Software Development - Sean Parent - C++Now 2025
▶︎

Are We There Yet? - The Future of C++ Software Development - Sean Parent - C++Now 2025

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024
▶︎

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024

Cache-Friendly C++ - Jonathan Müller - CppCon 2025
▶︎

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025
▶︎

C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025

"Simple Made Easy" - Rich Hickey (2011)
▶︎

"Simple Made Easy" - Rich Hickey (2011)

C++: Some Assembly Required - Matt Godbolt - CppCon 2025
▶︎

C++: Some Assembly Required - Matt Godbolt - CppCon 2025

More Speed & Simplicity: Practical Data-Oriented Design in C++ - Vittorio Romeo - CppCon 2025
▶︎

More Speed & Simplicity: Practical Data-Oriented Design in C++ - Vittorio Romeo - CppCon 2025

New (& Old) C++ Standard Library Containers - How to Choose the Right Container in C++26 and Beyond
▶︎

New (& Old) C++ Standard Library Containers - How to Choose the Right Container in C++26 and Beyond

Embedded Asynchronous Abstraction C++ - Implementing Senders & Receivers Without an OS - Ben Deane
▶︎

Embedded Asynchronous Abstraction C++ - Implementing Senders & Receivers Without an OS - Ben Deane

Techniques for Declarative Programming in C++ - Richard Powell - C++Now 2025
▶︎

Techniques for Declarative Programming in C++ - Richard Powell - C++Now 2025

consteval All The Things? - Jason Turner - ACCU 2025
▶︎

consteval All The Things? - Jason Turner - ACCU 2025

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025
▶︎

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025
▶︎

Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat
▶︎

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat

Compiler Explorer: The Features You Never Knew Existed - Matt Godbolt - CppCon 2025
▶︎

Compiler Explorer: The Features You Never Knew Existed - Matt Godbolt - CppCon 2025