3 ms·
>Seamless C++ interop More detail would be appreciated, I'm not aware of any non-transpiling language that actually support full C++ RTTI/exceptions interop.
by fuhsnn 2y ago
>Seamless C++ interop
More detail would be appreciated, I'm not aware of any non-transpiling language that actually support full C++ RTTI/exceptions interop.
- Jeaye 2y agoMore detail to come. You're right, it's unprecedented.
- pritambaral 2y agoClasp, and implementation of Common Lisp in C++ on LLVM, has exceptions interop. The creator of Clasp even hooked up the Lisp GC to be able to automatically manage C++ objects. A compacting GC, mind, that automatically updates pointers to the managed C++ objects that it moves.
- senkora 2y agoThat’s pretty cool. I would love to hear more about how this works. In particular, whether it is restricted in practice to types that are std::is_trivially_relocatable. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p1144r10.html https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p11...