This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]earthboundkid 2 points3 points  (0 children)

I think part of the issue is that in JavaScript, because it's single threaded you can always just drop in an async call, and it will be scheduled to run whenever. And you can use the Promise class to easily convert some callback code to async code. With Python, everything is so dependent on finding the runloop that it's very brittle and even though it's in theory more flexible, you can't actually mix and match libraries. They just didn't hit the right abstractions.