My idea for seamless interop to C++

Atila Neves atila.neves at
Thu Nov 19 16:36:47 UTC 2020

On Thursday, 19 November 2020 at 07:37:52 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Thursday, 19 November 2020 at 07:02:58 UTC, Jacob Carlborg 
> wrote:
>> On Wednesday, 18 November 2020 at 23:32:00 UTC, Petar Kirov 
>> [ZombineDev] wrote:
> dpp makes for some cool live demoes,

I'm using it in autowrap to translate the Python headers. Still 
some issues with macros though, that I had to translate by hand. 
But, then again, there's no other way to get around this and I'm 
out of ideas wrt to those particular macros.

> but I've always preferred my source code committed to git,

You can! Use `--keep-d-files`. But, like object files, I don't 
know why you'd want to check them in.

> rather than just existing in-memory

They're on the file system, but by default they get deleted after 
the binary is generated.

I should probably change that - since nearly everything has dub 
dependencies, using d++ as a compiler makes little sense, and dub 
needs to see the resulting D files to actually use them.

More information about the Digitalmars-d mailing list