Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Cython #210

Open
pmer opened this issue Apr 12, 2020 · 1 comment
Open

Investigate Cython #210

pmer opened this issue Apr 12, 2020 · 1 comment

Comments

@pmer
Copy link
Member

pmer commented Apr 12, 2020

Cython is a compiler that supports almost all Python code. It has good support for calling external C libraries and runs 30% faster than CPython. If static type annotations are added, then it runs even faster.

As this can be done at any granularity in the code, Cython makes it easy to write simple Python code that is fast enough, and just tune the critical 5% of your code into maximum performance by using static C types in just the right places.

https://cython.org/

@pmer
Copy link
Member Author

pmer commented Jul 23, 2021

Using this at work at the moment and just read through the tutorial this week. It seems good so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant