www.digitalmars.com         C & C++   DMDScript  

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

reply Emmanuel Danso Nyarko <emmankoko519 gmail.com> writes:
Hello everyone,

It has been an exciting week researching through druntime. There 
is a proposed major lifting of C++ STL interop into it's own 
project which is currently undergoing tests. Currently, C++ STL 
interop is in the core.stdcpp package in druntime which faces the 
limitation of being tied to a certain runtime as supported by 
druntime. So we have to separate the template library(interop) 
from the druntime library. It's an important factor to consider 
as we want to support multiple platforms.

Currently, std::vector has bindings for only 
CppRuntime_Microsoft. Linux and MacOs platforms are not yet 
supported. Work will now be geared towards making it work with 
gcc and clang compiled binaries on linux and Mac.
Oct 06 2023
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Friday, 6 October 2023 at 20:28:54 UTC, Emmanuel Danso Nyarko 
wrote:
 Hello everyone,

 It has been an exciting week researching through druntime. 
 There is a proposed major lifting of C++ STL interop into it's 
 own project which is currently undergoing tests. Currently, C++ 
 STL interop is in the core.stdcpp package in druntime which 
 faces the limitation of being tied to a certain runtime as 
 supported by druntime. So we have to separate the template 
 library(interop) from the druntime library. It's an important 
 factor to consider as we want to support multiple platforms.

 Currently, std::vector has bindings for only 
 CppRuntime_Microsoft. Linux and MacOs platforms are not yet 
 supported. Work will now be geared towards making it work with 
 gcc and clang compiled binaries on linux and Mac.
Thanks for working on this
Oct 07 2023