Bin Wang on Nostr: Python's async is a total mess. It doesn't have an asyncio queue that is thread safe. ...
Python's async is a total mess. It doesn't have an asyncio queue that is thread safe. Then what's the point of it? The popular job queue library Celery doesn't even support asyncio to get result... It's just so hard to write an async task in Python...
Published at
2023-10-08 02:37:56Event JSON
{
"id": "808d7cff452a43f36a5b3c448936dd1b237321fb28e437fed0519e27abdc827e",
"pubkey": "99ed94b5b9e8c635221621a9052f29da970ab15e01f924bf3b465e8486f0e2b1",
"created_at": 1696732676,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.binwang.me/users/wangbin/statuses/111197072707016239",
"activitypub"
]
],
"content": "Python's async is a total mess. It doesn't have an asyncio queue that is thread safe. Then what's the point of it? The popular job queue library Celery doesn't even support asyncio to get result... It's just so hard to write an async task in Python...",
"sig": "f37dbe04a2257a5f79013f3f94ea6bcf7f5340ef72ad3b817768e6956161075096fc207877fbe37643564009c12507691a4e4a9daca039d5e1858ded278ceb49"
}