Thread overview
Python and D could work together?
Jan 24, 2014
ReverseFlux
Jan 24, 2014
Tobias Pankrath
Jan 24, 2014
ReverseFlux
Jan 25, 2014
Russel Winder
Jan 24, 2014
Martin Cejp
Jan 24, 2014
John Colvin
Jan 25, 2014
ReverseFlux
January 24, 2014
Hi guys,
I've been thinking for quite some time if there is any possibility of writing D modules for python do you think it's possible? Do you think I can use the already existing wrappers created for C++?
January 24, 2014
On Friday, 24 January 2014 at 20:26:02 UTC, ReverseFlux wrote:
> Hi guys,
> I've been thinking for quite some time if there is any possibility of writing D modules for python do you think it's possible? Do you think I can use the already existing wrappers created for C++?

You can always use the C-Interface for cpython.
January 24, 2014
On Friday, 24 January 2014 at 21:10:23 UTC, Tobias Pankrath wrote:
> On Friday, 24 January 2014 at 20:26:02 UTC, ReverseFlux wrote:
>> Hi guys,
>> I've been thinking for quite some time if there is any possibility of writing D modules for python do you think it's possible? Do you think I can use the already existing wrappers created for C++?
>
> You can always use the C-Interface for cpython.

Thanks for The answer

Does it work proprerly with D?
January 24, 2014
With user-defined annotations and compile-time traits, you could make a pretty smooth binding framework based on, for example, the CPython api.
January 24, 2014
On Friday, 24 January 2014 at 20:26:02 UTC, ReverseFlux wrote:
> Hi guys,
> I've been thinking for quite some time if there is any possibility of writing D modules for python do you think it's possible? Do you think I can use the already existing wrappers created for C++?

https://bitbucket.org/ariovistus/pyd
January 25, 2014
On Friday, 24 January 2014 at 23:53:12 UTC, John Colvin wrote:
> On Friday, 24 January 2014 at 20:26:02 UTC, ReverseFlux wrote:
>> Hi guys,
>> I've been thinking for quite some time if there is any possibility of writing D modules for python do you think it's possible? Do you think I can use the already existing wrappers created for C++?
>
> https://bitbucket.org/ariovistus/pyd
 Thanks a lot guys for your help!
January 25, 2014
On Fri, 2014-01-24 at 21:10 +0000, Tobias Pankrath wrote:
> On Friday, 24 January 2014 at 20:26:02 UTC, ReverseFlux wrote:
> > Hi guys,
> > I've been thinking for quite some time if there is any
> > possibility of writing D modules for python do you think it's
> > possible? Do you think I can use the already existing wrappers
> > created for C++?
> 
> You can always use the C-Interface for cpython.

That doesn't deal with using PyPy.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder