News for hackers. Stuff that matters.
Re:Swift and C++ interoperability workgroup announcement by LegionMammal978 on Tuesday February 01, 2022 @10:52AM (#30164121)
I've asked around a bit, and so far I've found no language or tool that can directly access C++ libraries without manually writing bindings. I hope that can change sometime in the near future.
Re:Swift and C++ interoperability workgroup announcement by gavinray on Tuesday February 01, 2022 @01:33PM (#30166995)
I know of two languages:

1. D (https://dlang.org/spec/cpp_interface.html)

2. Nim. Though this is a bit cheap because Nim is a frontend to C(++), so you're really writing C++ that calls other C++ when it boils down to it. See https://nim-lang.org/docs/manual.html#implementation-specifi...

Re:Swift and C++ interoperability workgroup announcement by pzo on Tuesday February 01, 2022 @01:03PM (#30166503)
There is one -> Objective-C++ - interop is very seamless (just change file extension from .m to .mm). I do hope as well that will change and we will see some other languages speaking to c++ so easily.