Using the Standard Library with C++ Interop

2021-02-05 Thread wolfiesnotfine via Digitalmars-d-learn
Hello, I'm currently working on a primarily C++ project but I wanted to leverage some of D's language features and library for a few parts. I'm using the betterC subset and here's the code snippet in D: https://run.dlang.io/is/XOXF06 It's quite a simple test, and the code just gets called from

Re: Using the Standard Library with C++ Interop

2021-02-05 Thread wolfiesnotfine via Digitalmars-d-learn
On Friday, 5 February 2021 at 21:11:20 UTC, Adam D. Ruppe wrote: tbh I'd say just don't use betterC, you can still runtime init from C++ and be judicious in what features you use to keep it more minimal. Hmm. I'm mostly concerned about issues or slowdowns in mixing the manual memory managemen