Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by dragonwriter on Monday October 26, 2020 @05:41PM
(#24901808)
> Calling C APIs from Python is not pleasant. [...] Python requires writing/compiling a separate dll written in C (see [^1]).
No, it doesn't, see [0] and [1].
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by jhayward on Monday October 26, 2020 @05:40PM
(#24901800)
Python has a perfectly useful CFFI. There's no need to write an extension module.
Python is a pretty poor glue language, in my experience.
Calling C APIs from Python is not pleasant. This is how one might import the libm "error function" from Julia:
Python requires writing/compiling a separate dll written in C (see [^1]). Python extensions are (reasonably) fast, sure. But they are not pleasant at all to write.[^1]: https://docs.python.org/3/extending/building.html