digitalmars.D - DMD 2.68's promised C++ interface
- Shriramana Sharma via Digitalmars-d (10/10) Jul 20 2015 Just now saw Walter's tentative roadmap going forward to 2.69 etc...
- Guillaume Chatelet (8/17) Jul 20 2015 I started working on this but couldn't find enough time lately.
- Jacob Carlborg (6/12) Jul 20 2015 The C++ interoperability has improved a lot in the latest release. A lot...
- Elie Morisse (13/15) Jul 20 2015 Maybe not the original meaning of the promise but:
- jmh530 (2/6) Jul 20 2015 Cool.
- Suliman (3/12) Jul 21 2015 Look at this https://github.com/Syniurge/Calypso there is some
Just now saw Walter's tentative roadmap going forward to 2.69 etc... I don't see anything mentioned about the promised C++ interface. Was I mistaken in thinking that it is part of 2.68? Please can anyone in the know have mercy on us lesser souls and update http://dlang.org/cpp_interface.html in accordance with the latest capabilities? I really really want to interface to Qt 5 and am groping in the dark here as to what to do with c'tors, inheritance, &c &c... -- Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
Jul 20 2015
On Monday, 20 July 2015 at 16:06:43 UTC, Shriramana Sharma wrote:Just now saw Walter's tentative roadmap going forward to 2.69 etc... I don't see anything mentioned about the promised C++ interface. Was I mistaken in thinking that it is part of 2.68? Please can anyone in the know have mercy on us lesser souls and update http://dlang.org/cpp_interface.html in accordance with the latest capabilities? I really really want to interface to Qt 5 and am groping in the dark here as to what to do with c'tors, inheritance, &c &c...I started working on this but couldn't find enough time lately. There are a bunch of things to do : - fix broken extern C++ mangling (I'm rewriting a more complete multi os test suite and started rewriting the mangling code) - add std support in druntime (https://github.com/D-Programming-Language/druntime/pull/1316) - decide what to do with operator overloading and exceptions.
Jul 20 2015
On 2015-07-20 18:06, Shriramana Sharma via Digitalmars-d wrote:Just now saw Walter's tentative roadmap going forward to 2.69 etc... I don't see anything mentioned about the promised C++ interface. Was I mistaken in thinking that it is part of 2.68? Please can anyone in the know have mercy on us lesser souls and update http://dlang.org/cpp_interface.html in accordance with the latest capabilities?The C++ interoperability has improved a lot in the latest release. A lot due to the D port of DMD need to be able to interface with the C++ parts. I'm pretty sure the documentation lags behind. -- /Jacob Carlborg
Jul 20 2015
On Monday, 20 July 2015 at 16:06:43 UTC, Shriramana Sharma wrote:I really really want to interface to Qt 5 and am groping in the dark here as to what to do with c'tors, inheritance, &c &c...Maybe not the original meaning of the promise but: http://forum.dlang.org/thread/xzjsdsuskarkllhmwhfw forum.dlang.org Despite the lack of update it has kept progressing and I'm within an inch or two of breaking the silence and making a new announcement. It's pretty close to usability with C++ libraries of any complexity. The approach is not the official one though, and ties yourself to LDC until probably a very long time. (Calypso was helped by the code cleanness of Clang, does GCC offer things like template instantiation or vtable manipulation by an outsider without having to alter too much the code of GCC? and a DMD version would probably be multiple orders of magnitude harder to do)
Jul 20 2015
On Monday, 20 July 2015 at 23:27:22 UTC, Elie Morisse wrote:Despite the lack of update it has kept progressing and I'm within an inch or two of breaking the silence and making a new announcement. It's pretty close to usability with C++ libraries of any complexity.Cool.
Jul 20 2015
On Monday, 20 July 2015 at 16:06:43 UTC, Shriramana Sharma wrote:Just now saw Walter's tentative roadmap going forward to 2.69 etc... I don't see anything mentioned about the promised C++ interface. Was I mistaken in thinking that it is part of 2.68? Please can anyone in the know have mercy on us lesser souls and update http://dlang.org/cpp_interface.html in accordance with the latest capabilities? I really really want to interface to Qt 5 and am groping in the dark here as to what to do with c'tors, inheritance, &c &c...Look at this https://github.com/Syniurge/Calypso there is some Qt5 examples
Jul 21 2015