3 ms·
To get ahead of the obvious question I had and I’m sure others will, this is from the README: > Cython is a programming language whose goal is to facilitate wr
by loeg 5y ago
To get ahead of the obvious question I had and I’m sure others will, this is from the README:
> Cython is a programming language whose goal is to facilitate writing C extensions for the Python language. In particular, it can translate (optionally) statically typed Python-like code into C code that relies on CPython. Similarly to the considerations made for Nuitka, this makes it a powerful tool whenever it is possible to rely on libpython (and when its overhead is negligible, i.e., when dealing with sufficiently large scale computations), but not in the context of interest here.
I.e., it’s a python-like DSL that does not depend on the Python runtime.
Thanks for sharing OP, this is pretty cool.
- zanellia 5y agoRight, that's indeed the main reason I could not simply use Cython or Nuitka (or Julia?). The Python runtime library will do all kinds of non real-time/embedded friendly operations such as garbage collections, memory allocation/de-allocation and so on, in the background.