What's the latest news for calling D from python 3 using ctypes?

Enjoys Math enjoysmath at gmail.com
Wed Feb 28 01:07:12 UTC 2018


On Wednesday, 28 February 2018 at 00:18:17 UTC, Nicholas Wilson 
wrote:
> On Tuesday, 27 February 2018 at 23:59:10 UTC, Enjoys Math wrote:
>> I am making a library that will run very speedily in D (or, 
>> failing that, C++) and do the backend work of a PyQt5 gui.  
>> Was wondering the simplest route to accomplish this, 
>> preferably in ctypes calls.
>>
>> Thanks.
>
> http://code.dlang.org/packages/pyd
>
> With PyD you can wrap the D functions for python instead of 
> calling them through types in python.

Thank you!  That looks like what I need.  How do you install pyd 
with dub so that I can import ?

dub fetch pyd
dub run pyd

doesn't work.  Will try other params and get back to this thread.



More information about the Digitalmars-d-learn mailing list