Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching  - Andrew Kaster @CppCon
Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching  - Andrew Kaster  @CppCon
Uploaded April 2025 | Updated November 2026, 3 days ago
cppcon.org
---

Improving an HTML Parser with Swift 6 Pattern Matching - Andrew Kaster - CppCon 2024
---

Implementing an HTML parser is a lot of work, but the current specification is extremely proscriptive about the expected state machine. The naive approach might lead to some spaghetti though. Let's refactor part of the Ladybird browser's HTML parser in LibWeb using a pattern matched style in Swift 6 to demonstrate the types of transformations that are possible with pattern matching and choice types.
---

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Andrew Kaster

Andrew Kaster is a long time open source contributor and maintainer for the SerenityOS and Ladybird Browser projects. He works full time for the Ladybird Browser Initiative.
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

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

#html #cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #programming #programmer
Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching  - Andrew KasterLightning Talk: Only Forward: Why Concurrency Works in C++ - Thomas Cassell - CppCon 2025The Wonderful World of Designing a USB Stack Using Modern C++ - Madeline Schneider - CppCon 2025Boosting Software Efficiency in C++: 100% Performance Improvement in a  C++ Embedded System - CppConParallel Range Algorithms: The Evolution of Parallelism in C++ - Ruslan Arutyunyan - CppCon 2025Back To Basics: C++ Strings and Character Sequences - Nicolai Josuttis - CppCon 2025Implementing Your Own C++ Atomics - Ben Saks - CppCon 2025Interesting Upcoming Low-Latency, Concurrency, and Parallelism Features - CppCon 2025How C++ Finally Beats Rust at JSON Serialization - Daniel Lemire & Francisco Geiman ThiesenCMake Doesnt Have to Be Painful | Simple Strategies That Work - Bret Brown - CppCon 2025Connecting C++ Tools to AI Agents Using the Model Context Protocol (MCP) - Ben McMorran - CppConBack to Basics: C++ Concepts - Jeff Garland - CppCon 2025
CppCon |

Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching - Andrew Kaster

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER