digitalmars.D.learn - D and C++
Hi, Are there any recent improvements in how D interfaces with C++? I got the impression that some work has been done on that, in order to make DMD a self-hosting compiler.
Oct 19 2013
On Saturday, 19 October 2013 at 13:20:28 UTC, develop32 wrote:Hi, Are there any recent improvements in how D interfaces with C++? I got the impression that some work has been done on that, in order to make DMD a self-hosting compiler.I do not know of any recent improvements. The current plan to make DMD self-hosting seems to be a conversion tool. The transition would one step then. The challenge is mostly on LDC then to use the C++ LLVM bindings.
Oct 21 2013
On Monday, 21 October 2013 at 11:08:15 UTC, qznc wrote:On Saturday, 19 October 2013 at 13:20:28 UTC, develop32 wrote:I'm aware of the conversion tool, but it seems it will only apply to the frontend? The DMD backend will be left as is.Hi, Are there any recent improvements in how D interfaces with C++? I got the impression that some work has been done on that, in order to make DMD a self-hosting compiler.I do not know of any recent improvements. The current plan to make DMD self-hosting seems to be a conversion tool. The transition would one step then. The challenge is mostly on LDC then to use the C++ LLVM bindings.
Oct 21 2013
On Monday, 21 October 2013 at 11:29:54 UTC, develop32 wrote:On Monday, 21 October 2013 at 11:08:15 UTC, qznc wrote:The DM backend has some legal issues. Symantec owns part of it and does not relicence it. Converting it to D would not change that, since the D version is still derived work. Writing a whole new backend in D is not feasible. There are so many more important tasks. However, in the Open Source world, nobody can stop you from doing it. ;)On Saturday, 19 October 2013 at 13:20:28 UTC, develop32 wrote:I'm aware of the conversion tool, but it seems it will only apply to the frontend? The DMD backend will be left as is.Hi, Are there any recent improvements in how D interfaces with C++? I got the impression that some work has been done on that, in order to make DMD a self-hosting compiler.I do not know of any recent improvements. The current plan to make DMD self-hosting seems to be a conversion tool. The transition would one step then. The challenge is mostly on LDC then to use the C++ LLVM bindings.
Oct 21 2013