[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion and .NET

From: Oliver Geisser <oliver.geisser_at_gmx.de>
Date: 2003-02-03 22:35:29 CET

Hi

Arild Fines wrote:
[...]
> o Managed C++ - MC++ allows us to write mixed assemblies - eg, assemblies
> containing both managed and unmanaged code. This means we can write a single
> DLL which links to the SVN .libs, and that exposes a managed interface for
> consumption by managed languages. This approach works equally well with both
> dynamic and static libraries.
>
> Currently, we are leaning towards the last solution, but we would be very
> interested in hearing input from other people on this.
[...]

If you like to hear my 2c ...

I have thought about this problem, too. I would use managed C++
to wrap the SVN C API as you describe above.

With our team at work we have done something similiar. We wrapped
a unmanaged C++ API with managed classes.

Another interesting problem is related to resource management (for
example pools) in the unmanaged world.

I think there are two alternatives: with or without peer classes.

I would recommend to read the following article about how the Eclipse
team solved this problem for SWT:
http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html

Just replace "widget" with SVN/APR resource (pool, token, etc.).

Olli

-og

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 22:36:17 2003

This is an archived mail posted to the Subversion Dev mailing list.