HackerTube

THE VIDEO SHELF · swift c++ interoperability

Introducing a Memory-Safe Successor Language in Large C++ Code Bases - John McCall - CppNow 2023

John McCall of Apple's Swift team presents at CppNow 2023 on introducing a memory-safe successor language into large C++ code bases. He argues incremental improvement of C++ hits hard limits and explains Swift's C++ interoperability for gradual migration.

Why HN readers recommended it

Used as the primary source for Apple's stated plan to make Swift its successor to C++ and for how interop supports gradual transition.

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

Video & recommendation details

Creator / channel
CppNow
Topic
swift c++ interoperability
Format
talk
Level
advanced
HN recommenders in dataset
3
HN mentions in dataset
20
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.

  • Java also compiles to native code on Android. Try to write an iOS application using only C and C++, instead of either Objective-C or Swift. "Swift was designed from the outset to be safer than C-based languages, and eliminates entire classes of unsafe code" -- …

    pjmlp on Hacker News · 2023-09
    In Show HN: C-ocoa, Write iOS/macOS apps in any language, with a generated C API
  • On the same note, watch Apple's talk at CppCon 2023, "Introducing a Memory-Safe Successor Language in Large C++ Code Bases" [VIDEO]

    pjmlp on Hacker News · 2023-09
    In Interoperability: Swift’s Super Power
  • 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

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

Keep exploring