HackerTubewatch
Surprise me
Frame from Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023 Plays via YouTube's privacy-enhanced embed

Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023

6 videos recommended on HN
YouTube
1 HN user recommended this talk1 month2023–2025 score 1
Years with an HN recommendation, 2007–2026

Recommended as a recent take on rethinking compiler architecture, and cited in discussions of flattened ASTs and fast lexers.

Chandler Carruth's CppNow 2023 talk on modernizing compiler design for the Carbon toolchain, using data-oriented design and modern hardware assumptions. It covers lexing, parsing and compact data structures aimed at compiler performance.

“I recommend a watch of this for a recent take on trying to change how we think of these.” (HN, 2023)

1 recommendations · 3 citations · Talks · advanced

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@di4na Aug 2023 Recommends
on HN thread How to speed up the Rust compiler in August 2023
No but it is endemic to how we think about compilers up to now, and especially when the rust compiler arch was massively developed, more than 10 years ago. I recommend a watch of this for a recent take on trying to change how we think of these. It is an open research field [this video]
Recent take on rethinking compiler architecture, an open research field.

Citations, criticism and jokes

@wrsh07 Jan 2025 Cites it
on HN thread Flattening ASTs and other compiler data structures (2023)
Chandler discusses it in this video though! [this video] You get some traversals for free with this layout (preorder, reverse post order). Can search for subtrees with string searching algorithms or more complex things with regex.
Chandler Carruth discusses flattened AST layout and its benefits.
@norskeld Jul 2025 Cites it
on HN thread Strategies for Fast Lexers
Is lexing ever a bottleneck though? Even if you push for lexing and parsing 10M lines/second [1], I'd argue that semantic analysis and codegen (for AOT-compiled languages) will dominate the timings. That said, there's no reason not to squeeze every bit of performance out of it! [1]: In this talk about the Carbon language, Chandler Carruth shows and explains some goals/challenges regarding performance: [this video]
Carbon talk on compiler performance goals and challenges.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close