pyd still usable?

Simen Haugen simen at norstat.no
Tue Apr 28 01:05:29 PDT 2009


Jarrett Billingsley wrote:
> On Mon, Apr 27, 2009 at 11:18 AM, mpt <mpt at iki.fi> wrote:
>> Which versions of tango+gdc+pyd do I need to get stuff to work? I'd like
>> to use D+Python on 32 or 64 bit Linux. I've tried a number of tango/gdc
>> bundles and pyd rc/trunk, but there are always compiler and linker errors.
>>
>> How do you build Tango to a library that can be linked to a dynamic
>> library, such as a Python extension?
> 
> Unless Kirk has updated it recently, Pyd is still Phobos-only, but the
> library-dependent code as far as I know is limited to one module and
> something like four functions.

It uses templates for bindings, and if I remember correctly, dmd hits 
the limit for max variable name length when using templates.
I hit the limit somewhere around 8 functions I think.

Might work on linux, but I haven't tried.


More information about the Digitalmars-d-learn mailing list