HackerTubewatch
Surprise me
Frame from "Swift as C++ Successor in FoundationDB" by Konrad Malawski (Strange Loop 2023) Plays via YouTube's privacy-enhanced embed

"Swift as C++ Successor in FoundationDB" by Konrad Malawski (Strange Loop 2023)

46 videos recommended on HN
YouTube
3 HN users recommended this talk3 months2023–2025 score 3
Years with an HN recommendation, 2007–2026

HN commenters recommend it as the main resource on Swift as an incremental successor to C++ and on how the interoperability works in practice.

Konrad Malawski's Strange Loop 2023 talk shows how the FoundationDB team adopted Swift incrementally in a C++ codebase. It covers Swift's C++ interoperability, which let them move single functions or entire types over one at a time.

“The fairly recent presentation about starting to move FoundationDB to Swift[0] was also very interesting.” (HN, 2024)

3 recommendations · 6 citations · Talks · advanced · partly dated

9 Hacker News comments

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

@mannuch Dec 2023 Recommends
on HN thread Memory safety is necessary, not sufficient
Read more
I wonder what the author thinks about Swift’s new C++ interop story? Since the Swift compiler includes Clang, and can thus compile both your C++ and Swift into LLVM IR, without the need for an FFI later between the two, couldn’t this be the “Typescript for C++” that the author points out a space for? The Swift folks are very much thinking about Swift as a C++ successor that can be incrementally migrated to so I’m a bit surprised the author didn’t discuss it further — especially given Swift’s spiritual similarities to Rust. There’s a couple great talks on this by folks on the Swift team. John McCall at CppNow [link] Konrad Malawski at StrangeLoop 2023 [this video]
Great talk on Swift as incremental C++ successor.
@glhaynes Jun 2024 Recommends
on HN thread Swift Static Linux SDK
I'm not a (direct) user of the C++ interop, but everything I've heard about it has been quite positive. A few hopefully relevant resources, first a couple of videos: - "Introducing a Memory-Safe Successor Language in Large C++ Code Bases" (John McCall; CppNow 2023) [link] - "Swift as C++ Successor in FoundationDB" (Konrad Malawski; Strange Loop 2023) [this video] And then a series of blog posts by Doug Gregor: - "Swift for C++ Practitioners" [link] And finally: - "Mixing Swift and C++" (Swift.org) [link]
Resource on Swift C++ interop in FoundationDB.
@cube2222 Aug 2024 Recommends
on HN thread Ladybird browser to start using Swift language this fall
Read more
Honestly, Swift seems like such a nice language. Most of the performance and power, great interop, but more directed at application development than Rust (with e.g. refcounting being the default). But as they say, you choose a language for its ecosystem, not for the language itself. It would be great if Swift’s open source ecosystem for stuff other than app development grew. It does indeed seem like Apple is pushing for it with stuff like Swift for embedded. The fairly recent presentation about starting to move FoundationDB to Swift[0] was also very interesting. A follow-up on that at some point would be quite interesting to see too, and would inspire confidence if the process is going well. Arc is also a nice example of a cross-platform app written in Swift, with their fairly recent addition of Windows support. Either way, fingers crossed, and very happy with TFA. PS: does anybody have experience with async/await in Swift? Is it pleasant to use? [0]: [this video]
Presentation on moving FoundationDB to Swift.

Citations, criticism and jokes

@pjmlp Oct 2023 Cites it
on HN thread Apple's use of Swift and SwiftUI in iOS 17
On the same subject, some talks from Apple folks, "Introducing a Memory-Safe Successor Language in Large C++ Code Bases" [link] "Swift as C++ Successor in FoundationDB" [this video]
Talk on Swift as C++ successor in FoundationDB.
@sandyarmstrong Jan 2024 Cites it
on HN thread 9 years of Apple text editor solo dev
Yup, exactly. Swift was specifically designed to replace Objective-C and C++ throughout Apple codebases (see [this video] ). C# is a totally different story.
Shows Swift designed to replace Objective-C and C++ at Apple.
@Someone Sep 2024 Cites it
on HN thread Swift 6
> I’d be interested to know how good this integration is in practice I haven’t used it, but from looking at the long) video at [this video] (discussed in [link] ), it looks pretty good.
Long video suggesting the interop looks pretty good.
@pjmlp Apr 2025 Cites it
on HN thread Apple’s Darwin OS and XNU Kernel Deep Dive
Read more
Yes, Apple themselves, apparently folks wanting Apple to use Rust don't read Apple's documentation or watch talks done by Apple compiler developers. > Swift was designed from the outset to be safer than C-based languages, and eliminates entire classes of unsafe code. -- [link] > Swift is a successor to the C, C++, and Objective-C languages. It includes low-level primitives such as types, flow control, and operators. It also provides object-oriented features such as classes, protocols, and generics. -- [link] "Introducing a Memory-Safe Successor Language in Large C++ Code Bases" [link] "So we feel pretty strongly, obviously at Apple our sucessor language is Swift and I am here to talk about features of Swift, both to try to sell you on to it, but also to talk about the things we think are pretty necessary and the ways in which a programming language can support, you know, clear code, safer and more correct code." "Like I said before, Apple has always intended for Swift to be a sucessor language for all of our predecessors, from the top to the bottom of our stack, accessible to novices, powerful enough for experts, it is real a tall order. From [link] to [link] "Swift as C++ Successor in FoundationDB" [this video]
Evidence Apple sees Swift as its C++ successor.

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