Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pyodide uses its own event loop which just subscribes to the JavaScript event loop. My suspicion is that this will be more efficient than using uvloop since v8's event loop is quite well optimized. It also allows us to await JavaScript thenables from Python and Python awaitables from JavaScript, whereas I would be worried about how this behaves with separate event loops. Also, porting uvloop would probably be hard.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: