digitalmars.D - Bridging C++ and C#
- Brad Anderson (6/6) Dec 19 2011 The Mono guys are doing some interesting stuff with being able to access
- Adam Wilson (12/18) Dec 19 2011 Ok, THIS is seriously cool, if I had this today for D it would make my
- Jesse Phillips (6/7) Dec 19 2011 Seems no less cross platform than .Net:
- mta`chrono (3/3) Dec 20 2011 I like their approach. They're using gcc-xml to parse c++ files and
- bls (7/10) Dec 22 2011 http://dsource.org/projects/bcd
The Mono guys are doing some interesting stuff with being able to access might find interesting. http://tirania.org/blog/archive/2011/Dec-19.html It makes me wonder how practical it would be to build upon their work to extend the support for C++ D already has.
Dec 19 2011
On Mon, 19 Dec 2011 15:53:25 -0800, Brad Anderson <eco gnuk.net> wrote:The Mono guys are doing some interesting stuff with being able to access might find interesting. http://tirania.org/blog/archive/2011/Dec-19.html It makes me wonder how practical it would be to build upon their work to extend the support for C++ D already has.Ok, THIS is seriously cool, if I had this today for D it would make my life about 10 times simpler. Interoperation with D and .NET is currently only possible via either PInvoke (but no objects) or via COM which is clunky and not cross-platform. This would solve that. And like with this tool it could be done by feeding a tool the proper .DI files. Definitely something worthy of investigation. -- Adam Wilson Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Dec 19 2011
On Mon, 19 Dec 2011 16:09:05 -0800 "Adam Wilson" <flyboynw gmail.com> wrote:COM which is clunky and not cross-platform.Seems no less cross platform than .Net: http://www.mono-project.com/Mono:Runtime#COM_and_XPCOM hmm... maybe I should be looking at making Juno work with Mono... Probably not too likely.
Dec 19 2011
I like their approach. They're using gcc-xml to parse c++ files and generate approtiated wrapper code. maybe we could write a similar tool for d.
Dec 20 2011
On 12/20/2011 02:37 PM, mta`chrono wrote:I like their approach. They're using gcc-xml to parse c++ files and generate approtiated wrapper code. maybe we could write a similar tool for d.http://dsource.org/projects/bcd Project is Not up to date. AFAIK gcc-xml is a dead project. Thanks to David Nadlinger SWIG has now official D1 abd D2 Support. Since SWIG also supports a subset of C++ templates it is IMO the better choice. Bjoern
Dec 22 2011