Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dr_zoidberg
on Aug 14, 2020
|
parent
|
context
|
favorite
| on:
Django Async: What's new and what's next?
> Thread workers will hold the GIL in Python and prevent network I/O while they are doing CPU bound tasks.
Using cython:
with nogil: # whatever you need to do, as long as it # doesn't touch a python object
If you're doing heavy calculations from python you should at least be considering cython.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Using cython:
If you're doing heavy calculations from python you should at least be considering cython.