On Monday, 3 August 2015 at 06:16:57 UTC, yawniek wrote:
On Sunday, 2 August 2015 at 16:25:18 UTC, Yura wrote:
While it is easy to code in Python there are two things I do
not like:
1) Python is slow for nested loops (much slower comparing to C)
2) Python is not compiled. However, I want to work with a code
which can be compiled and distributed as binaries (at least at
the beginning).
you can use the best of both worlds with pyd:
https://github.com/ariovistus/pyd
- write python Modules in D
and/or
- make your D code scriptable with python
Also, note that you can write D in the ipython/jupyter notebook
and have it interoperate with D libraries from code.dlang.org and
with python. It's at an early stage, but so far I have found it
to work well.
https://github.com/DlangScience/PydMagic