Hacker News new | ask | show | jobs
by mhh__ 2552 days ago
D's C++ interop looks better at a glance.

With a simple extern(C++) you can use templates, classes and vtable's are matched up to single inheritance. There is also some experimental work on catching C++ exceptions but I've never tried to use it.

1 comments

Also: COM support. This can be incredibly useful for interop.
Specially since Windows has gone full COM for all new major APIs.