HackerTubewatch
Surprise me
Frame from Carbon Language Successor Strategy: From C++ Interop to Memory Safety - Chandler Carruth - CppNow 23 Plays via YouTube's privacy-enhanced embed

Carbon Language Successor Strategy: From C++ Interop to Memory Safety - Chandler Carruth - CppNow 23

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

HN cites it as the authoritative statement of Carbon's memory safety plans, including its borrow-checker-like direction.

Chandler Carruth's CppNow 2023 talk describes Carbon as a successor language to C++ rather than a superset, focusing on C++ interop and a path to memory safety in large existing codebases. It explains why Carbon takes a different approach from Cpp2 and Circle.

“Talks like better reflect more recent plans around this topic.” (HN, 2024)

1 recommendations · 5 citations · Talks · advanced · partly dated

6 Hacker News comments

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

@josh11b Nov 2024 Recommends
on HN thread The two factions of C++
Read more
(Carbon lang dev here.) Carbon is intended to be memory safe! (Not sure whether you intended to write a double negative there.) There are a few reasons that might not be clear: * Carbon has relatively few people working on it. We currently are prioritizing work on the compiler at the moment, and don't yet have the bandwidth to also work on the safety design. * As part of our migration-from-C++ story, where we expect code to transition C++ -> unsafe Carbon -> safe Carbon, we plan on supporting unsafe Carbon code with reasonable ergonomics. * Carbon's original focus was on evolvability, and didn't focus on safety specifically. Since then it has become clear that memory safety is a requirement for Carbon's success, and will be our first test of those evolvability goals. Talks like [this video] better reflect more recent plans around this topic.
Reflects recent Carbon plans around memory safety, per a Carbon developer.

Citations, criticism and jokes

@synergy20 Nov 2023 Cites it
on HN thread Toward a TypeScript for C++"
After the talk, the activity on it is nearly zero since then, in a world where ideas are cheap, show me the code, this does not seem promising to me. On the other hand, carbon has been very actively developed since its announcement, which also claims to be a typescript-for-c++. Now it also wants to be a memory safe: [this video] I'm forced to learn rust but I hope carbon will take off ASAP so I can be more productive and my (carbon) code can interface with c/c++ code easier than rust.
Carbon's plan for memory safety and C++ interop.
@raphlinus Nov 2023 Cites it
on HN thread C++ Memory Model: Migrating from x86 to ARM
Read more
I haven't carefully read the relevant part of the spec, but I imagine that pointers have to be modeled as not subject to tearing, otherwise safety guarantees would completely fall apart. The flip side of this is that adding "fat pointers" safely to Java would be very difficult. Fat pointers are widely used in languages such as Go, Rust, and Swift to represent both slices (pointer + length) and various forms of dynamic dispatch (pointer + vtable). In Rust, this is safe because data races are forbidden, enforced by the type system. I consider Go and Rust to be "safe-ish" in that data races can happen, and can violate safety. Apparently this hasn't led to huge problems in Go. Thus, the roadmap for Carbon[1] targets a comparable level of safety, not trying to prevent data races, but aiming for memory safety in single threaded contexts. [1]: [this video]
Carbon roadmap targeting single-threaded memory safety.
@Vt71fcAqt7 Mar 2024 Cites it
on HN thread Secure by Design: Google's Perspective on Memory Safety
Unless something has chnaged since this talk[0][1], I don't think that is accurate. >Best candidate for C++ is likely similar to Rust’s borrow checker It is stated clearly in the talk that this is true for Carbon as well [0] [link] [1] relevant timestamps: [this video] [this video]
Talk states Carbon's best safety candidate resembles Rust's borrow checker.
@Vt71fcAqt7 Jun 2024 Cites it
on HN thread Circle C++ with memory safety
>Carbon wants to ship a finished working Carbon language, then bolt on safety (somehow) but, only for some things, not data races for example, so, you still don't actually have Rust's Memory Safety I'm not sure this is correct. As I understand it, Carbon's plan is to add a borrow checker like Rust's. From a recent talk[0][1] by one of the lead developers: >Best candidate for C++ is likely similar to Rust’s borrow checker [0] slides: [link] [1] relevant timestamps: [this video] [this video]
Recent talk by lead developer on Carbon's planned borrow checker.
@Vt71fcAqt7 Jun 2024 Cites it
on HN thread Circle C++ with memory safety
You're right. In fact it was in the previous slide[0] from that same talk. Thanks for pointing that out. [0] [this video]
Slide in the talk confirming the earlier point.

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