[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed
From: |
Adam Treat |
Subject: |
Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding. |
Date: |
Thu, 5 Dec 2002 23:35:09 -0500 |
User-agent: |
KMail/1.4.7 |
On Thursday 05 December 2002 11:10 pm, Neil Cawse wrote:
> So if you got down this far ;) now what you have is:
> using a single command you can reuse all the great c++ libraries in c#.
> Sounds good?!
>
> I think this route is the most robust and sensible way of reuse. Do you
> agree? Will this be useful?
> I need to finish the work and then convince Dave to add this into his Swig
> project. Swig offers pretty complete support of c++ including templates,
> virtual methods - take a look at the website. Quite a lot of work remains
> to make sure we are writing decent c# code, to finish off and thoroughly
> test. I havnt had the time to even try it on a c++ library bigger than the
> example above - but I will!
>
That is a good example of how to call c++ from C#, but it essentially does
what we are already doing with Qt#. We already have an intermediate C
library and we are looking for ways to reduce that to an absolute minimum
size. We also are working on a new parser/generator called 'binge' that will
automatically bind C++ API's to C# and the CLR. It is being created
specifically for Qt# and eventually KDE#, but we are designing it to produce
bindings for any C++ library with an easy extension. Marcus, has even come
up with a way to handle transparent overrides of C++ virtual methods from C#.
Of course, we are looking for any and all ideas on how to minimize the
overhead and C library size. If you are interested in more, please come by
and see us: IRC openprojects.net #qtsharp.
Cheers,
Adam
- [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Adam Treat, 2002/12/02
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Gopal V, 2002/12/02
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., James Michael DuPont, 2002/12/03
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., David Leimbach, 2002/12/03
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Neil Cawse, 2002/12/05
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding.,
Adam Treat <=
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Gopal V, 2002/12/06
- ADMIN: Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., David Faure, 2002/12/06
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Neil Cawse, 2002/12/06
- Re: [DotGNU]Strategy for dealing with C++ virtual functions in a managed binding., Neil Cawse, 2002/12/08
- [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), Gopal V, 2002/12/08
- Re: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), James Michael DuPont, 2002/12/09
- Re: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), Gopal V, 2002/12/09
- Re: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), James Michael DuPont, 2002/12/09
- Re: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), Gopal V, 2002/12/09
- Re: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ), Neil Cawse, 2002/12/10