HackerTubewatch
Surprise me
Frame from Interfacing D To Legacy C++ Code Plays via YouTube's privacy-enhanced embed

Interfacing D To Legacy C++ Code

NWCPP - Northwest C++ Users Group
Talks
YouTube
Cited on HN 3 times, 2016–2019, never outright recommended score 0
Years with an HN recommendation, 2007–2026

HN uses it as evidence that D has unusually good C++ interop and as Walter Bright's account of the challenges D is tackling.

Walter Bright explains to the Northwest C++ Users Group how the D programming language can interface directly with legacy C++ code. He covers why C++ is hard to interface with and how D approaches the problem.

3 citations · Talks · advanced · partly dated

3 Hacker News comments

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

@qznc Dec 2016 Cites it
on HN thread D Future
Read more
Reasons for D: It is a way out of the C++ tar pit, because it does C++ interop better than any other language. D needs to continue to outrun C++ evolving, though. See [link] or [this video] It has powerful meta-programming. It is effectively the opposite of Go, which does not even have generics. This certainly provides foot shooting as well, so other languages (e.g. Rust) are more conservative with that. D examples: [link] Those are the two reasons, which D has ahead of all other languages (ok, not Lisp wrt meta-programming). If you compare it to another specific language, there are more things to talk about.
Shows D's C++ interop as a reason to use it
@armitron Dec 2018 Cites it
on HN thread Creating a Non-Trivial Lisp Game in 2018
Rust does not have native C++ interop. C ABI is different to what clasp has done (native C++ interop). All widely used Common Lisp implementations have seamless C ABI interop through their FFIs / CFFI [1]. Clasp goes above and beyond that and natively interfaces with C++. LTO works with mixed Common Lisp and C++ code. Exception handling works as expected. You can mix Common Lisp and C++ stack frames. Correct me if I'm wrong but Rust does not have anything equivalent. The language that comes closest is D I think [2]. [1] [link] [2] [this video]
D comes closest to native C++ interop
@maga_2020 Apr 2019 Cites it
on HN thread Flutter desktop shells
Another alternative, I think is D-language bindings to QT (or betterC which is a subset of D allowes to use D with C runtime library, while retaining D-s class system, templates and memory safety). [1] [link] D's team is doing an incredible job of matching C++ compiler specific ABIs, name mangling/etc -- just so D users can use C++ libraries (including templates) directly from D without loosing the features of the language. [2] [link] Here is also an older video of Walter Bright (2015) talking about the challenges that D is tackling [3] [this video]
Walter Bright on D's challenges matching C++

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