Visual Studio integration

John Arbash Meinel john at arbash-meinel.com
Thu Mar 15 19:46:26 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rodrigo Braga wrote:
> i need too this resource!
> 
> But IronPython is not so good, and theoretically is optimum way to
> write wrapper for bzrlib (if the batteries were includes in
> IronPython)
> 
> sorry my english
> 
> On 3/15/07, Alexander Belchenko <bialix at ukr.net> wrote:
> Klaus Hartke ?8H5B:
>> (4) Implementing it with CPython to access bzrlib directly
> 
>>      Unfortunately Visual Studio requires add-ins to be written a .NET
>>      language.
> 
> I'm not sure I understand what you mean here about "Visual Studio
> requires add-ins to be written a
> .NET language", but I'm sure you can embed CPython interpreter into
> some C++ programs/dll
> (I don't know about C#) and then use such wrapper to communicate with
> bzrlib directly.
> 
> This is the most native way, IMHO.
> 
> [µ]

I'm guessing that the "easy" way to get a plugin in the latest Visual
Studio is if you tie into their .NET apis. I would guess VS itself is
running on their .NET interpreter.

And while I'm sure it is possible to call into other dlls, it is
probably more difficult.

But you certainly are correct that CPython can be embedded into a C/C++ dll.

It actually would be interesting to see a C/C++ wrapper for bzrlib. Even
though it feels so wrong.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+aKSJdeBCYSNAAMRAl+7AJ0S3GrPx/QYEJxpU+d5sQqmit4LgwCgrVHT
txgpt78nL5YulSv0eW54MpA=
=LHH2
-----END PGP SIGNATURE-----



More information about the bazaar mailing list