4 ms·
Cython is a very nice way to transition hot python paths into a C extension. The best part is that it's a python superset, so it should provide some speed up wi
by aeroevan 9y ago
Cython is a very nice way to transition hot python paths into a C extension. The best part is that it's a python superset, so it should provide some speed up without any typing information (and can be very fast once the hot paths are all in cdef'd functions).
- nickpsecurity 9y agoBeat me to it. Cython was a great solution to this problem.
- dom0 9y agohttps://news.ycombinator.com/item?id=14376961 https://news.ycombinator.com/item?id=14376961 Further, it doesn't help with the required restructuring; when the functionality is scattered across a dozen or more modules (complex software + good Python practice), then you first have to pull the functionality needed for the path you're trying to get fast together. That leads to duplication, removing abstractions and most certainly vetoes from other people.