HackerTube

THE VIDEO SHELF · swift c++ interoperability

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

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.

Why HN readers recommended it

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

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Strange Loop Conference
Topic
swift c++ interoperability
Format
talk
Level
advanced
HN recommenders in dataset
3
HN mentions in dataset
9
Recommendation years in dataset
2023–2025

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • 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 …

    mannuch on Hacker News · 2023-12
    In Memory safety is necessary, not sufficient
  • 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] …

    glhaynes on Hacker News · 2024-06
    In Swift Static Linux SDK
  • 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 …

    cube2222 on Hacker News · 2024-08
    In Ladybird browser to start using Swift language this fall

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.

Keep exploring