Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
January 24, 2014 Python and D could work together? | ||||
---|---|---|---|---|
| ||||
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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ReverseFlux | 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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | 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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ReverseFlux | 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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ReverseFlux | 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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | 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 Re: Python and D could work together? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | 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 |
Copyright © 1999-2021 by the D Language Foundation