| Thread overview | ||||||||
|---|---|---|---|---|---|---|---|---|
|
July 20, 2015 DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
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 ஶ்ரீரமணஶர்மா श्रीरमणशर्मा | ||||
July 20, 2015 Re: DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Shriramana Sharma | 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. | |||
July 20, 2015 Re: DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Shriramana Sharma | 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 | |||
July 20, 2015 Re: DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Shriramana Sharma | 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) | |||
July 20, 2015 Re: DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Elie Morisse | 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.
| |||
July 21, 2015 Re: DMD 2.68's promised C++ interface | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Shriramana Sharma | 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 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply