On Friday, 18 March 2016 at 13:45:18 UTC, Jonas Drewsen wrote:
Any pointers to reasonably up-to-date info about interfacing
with c++ is much appreciated as well.
The language documentation is up to date except for the section
on exceptions:
http://dlang.org/spec/cpp_interface.html
I'd updat
On 3/18/2016 6:45 AM, Jonas Drewsen wrote:
[...]
dmd itself is a D main program that calls a lot of C++ code (the optimizer and
back end) and so interfacing to C++ works on every platform dmd runs on.
On Friday, 18 March 2016 at 13:45:18 UTC, Jonas Drewsen wrote:
For a hack week at work I am thinking about creating a module
in D that can be used with our existing application which is
written in C++.
Can anyone shed some light on the current status of interfacing
with C++? In particular:
On Friday, 18 March 2016 at 14:26:31 UTC, ZombineDev wrote:
The important thing to remember is that the Druntime must be
initialized (see http://wiki.dlang.org/Runtime_internals and
http://dlang.org/phobos/core_runtime.html#.rt_init for more
info), before you call D functions that use the garba
On Friday, 18 March 2016 at 15:29:55 UTC, jmh530 wrote:
On Friday, 18 March 2016 at 14:26:31 UTC, ZombineDev wrote:
The important thing to remember is that the Druntime must be
initialized (see http://wiki.dlang.org/Runtime_internals and
http://dlang.org/phobos/core_runtime.html#.rt_init for mo
On Saturday, 19 March 2016 at 10:52:35 UTC, Johan Engelen wrote:
On Saturday, 19 March 2016 at 08:10:41 UTC, Johan Engelen wrote:
On Friday, 18 March 2016 at 20:47:41 UTC, Walter Bright wrote:
On 3/18/2016 6:59 AM, Johan Engelen wrote:
It'd be nice to be able to call `dmd -ldflags` whose output
On Friday, 18 March 2016 at 20:50:59 UTC, Walter Bright wrote:
On 3/18/2016 6:45 AM, Jonas Drewsen wrote:
[...]
dmd itself is a D main program that calls a lot of C++ code
(the optimizer and back end) and so interfacing to C++ works on
every platform dmd runs on.
My concern was mostly if I
On 3/18/2016 6:59 AM, Johan Engelen wrote:
It'd be nice to be able to call `dmd -ldflags` whose output would be the
standard linker flags.
dmd -v file.d
will tell you what command is sent to the linker.
For a hack week at work I am thinking about creating a module in
D that can be used with our existing application which is written
in C++.
Can anyone shed some light on the current status of interfacing
with C++? In particular:
1, Can I build my C++ program using visual c++ and then link a D
On Saturday, 19 March 2016 at 08:10:41 UTC, Johan Engelen wrote:
On Friday, 18 March 2016 at 20:47:41 UTC, Walter Bright wrote:
On 3/18/2016 6:59 AM, Johan Engelen wrote:
It'd be nice to be able to call `dmd -ldflags` whose output
would be the
standard linker flags.
dmd -v file.d
will tel
On Friday, 18 March 2016 at 20:47:41 UTC, Walter Bright wrote:
On 3/18/2016 6:59 AM, Johan Engelen wrote:
It'd be nice to be able to call `dmd -ldflags` whose output
would be the
standard linker flags.
dmd -v file.d
will tell you what command is sent to the linker.
That linker command do
On Friday, 18 March 2016 at 19:21:08 UTC, ZombineDev wrote:
I'm sorry, what I said about rt_init() [1] is wrong. It does a
lot of stuff and it's not just enabling the garbage collector.
This means you have to be more careful if you decide to not
call it. Here's what it does:
If it is useful
On Friday, 18 March 2016 at 13:45:18 UTC, Jonas Drewsen wrote:
For a hack week at work I am thinking about creating a module
in D that can be used with our existing application which is
written in C++.
Can anyone shed some light on the current status of interfacing
with C++? In particular:
On Friday, 18 March 2016 at 14:11:46 UTC, Jakob Ovrum wrote:
I'd update the section on exceptions but I'm really tired of
fighting the dlang.org makefile.
http://forum.dlang.org/post/aupwqmkicdjzwxdkk...@forum.dlang.org
If you'll write an update for the C++ exceptions section as plain
text,
14 matches
Mail list logo