C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025 @CppNow
C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025  @CppNow
Uploaded August 2025 | Updated December 2026, 3 hours ago
cppnow.org
---

C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025
---

Transitioning to memory safe programming is a requirement for modern browser engines. But… how? Is memory safety even possible in a large C++ codebase? And if so, what would it look like?

This talk will review the approach we’ve taken in WebKit over the last year, and the results we’ve achieved. I’ll define memory un-safety and memory safety from the perspective of an engineering project. Then I’ll show how we use safe idioms backed by static analysis to eliminate categories of un-safety. Notably, we do not use analysis to search for bugs; rather, we use it to define a safer C++ dialect.

Finally I’ll show how we approach transitioning to a memory safe language (Swift) — not as an either/or, but as a yes/and, in which the work we do in C++ creates a composable interface for verifying safety across programming languages.
---

Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/C++_Memory_Safety_in_WebKit.pdf

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: think-cell.com/en/career/tech---

Geoffrey Garen

I'm the WebKit Architect @ Apple. I've been working on WebKit, as an engineer and manager, for about 20 years. During that time, I've worked on just about everything in WebKit, including engineering and management, programming languages, performance, API design, process architecture, OS integration, porting to various OS's and CPU's, and security. My current focus is WebKit's transition to memory safe programming.


---

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 - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#safety #webkit #staticanalysis #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus
C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025Testing Everything in Constexpr - Braden Ganetsky - C++Now 2026Lightning Talk: Immovable C++ Objects? In My Vector? - Likelier Than You Think - Robert LeahyExpressive Compile-Time Parsers in C++ - Alon Wolf - C++Now 2024Harnessing constexpr - A Path to Safer C++ - Mikhail Svetkin - C++Now 2025Lightning Talk: Christie Mystique - Tony Van Eerd - CppNow 2023Lightning Talk: ?: - Jonathan Müller - C++Now 2026Developing Better C++ Code by Isolating Decisions - Michael Okyen - C++Now 2024Lock-free Programming is Dead - Long Live Lock-free Programming! - Fedor G Pikus - C++Now 2026Mistakes to Avoid When Writing C++ Projects - Bret Brown - C++Now 2024Keynote: Multidimensional Parallel Standard C++ - Mark Hoemmen - C++Now 2026
CppNow |

C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER