News for hackers. Stuff that matters.
Re:Interoperability Between Swift and C++ by flohofwoe on Sunday October 18, 2020 @06:16AM (#24816749)
> The intermediate specification would be another language, so it would have the same impedance mismatch as the other N languages do.

Yes, but even though this is a limitation, every language only needs to care about connecting to this one intermediate "language". This is also why going through a C API already works quite well.

Also it's interesting to note that Microsoft's latest version of the WinRT APIs are providing a standard C++17 wrapper on top of COM APIs and don't require C++ language extensions anymore.

Re:Interoperability Between Swift and C++ by pjmlp on Sunday October 18, 2020 @06:43AM (#24816869)
To the anger of Windows devs being told to wait for ISO C++23 or even ISO C++26, hoping that the standard gets the relevant papers for C++/WinRT VS tooling to catch up with C++/CX from 2012.

Right now it is hardly better than ATL/WRL, but so is life when Windows team wins its political battles with DevTools.