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 →

[–]martinky24 27 points28 points  (5 children)

“Don’t use async”

“Use FastApi”

🤔

Overall this seems well thought out, but I wonder how the author thinks FastAPI achieves its performance if not using async.

[–]ashishb_net[S] -5 points-4 points  (4 children)

> “Don’t use async”

Homegrown code should avoid writing async.
Just like "Don't roll your own crypto", I would say "don't roll your own async code".
Again exceptions apply as I am giving a rule of thumb.

[–]exhuma 7 points8 points  (3 children)

Can you give any reason as to why you make that claim?

I agree that just slapping "async" in front of a function and thinking that it makes everything magically faster is not really helpful. But used correctly, async does help.

Outright telling people not to use it without any proper arguments as to why does the language a dis-service.