www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [SAOC 2023] C++ STL INTEROP - WEEKLY UPDATE #2

Hi everyone,

it's my second week of researching into the current state of C++ 
interoperability with D and it has been very exciting and 
productive.

Over the week, I have been testing several instances and cases 
involving functions, global variables( static ones   being 
gshared in D), passing by values, passing by reference, and then 
rvalue references, structs, templates( templates instantiations 
taken care of on the C++ side and not worried about on the D 
side), const conditions, operator overloads.
On exploring exceptions, I was able to catch an exception thrown 
on a C++ integer variable conditioning in D. But I  will be 
having a deeper conversation on that with my mentor about the 
complete state of exceptions in the state of D - C++ interop.

For the next few weeks, I will be settling on exceptions, getting 
my hands fully on the itanium C++ ABI and also Druntime.
Sep 29 2023