Replies: 2 comments
-
Just found the article that tickled some of my brain cells when I read the code: https://notgull.net/why-you-want-async/ Most notable excerpt:
|
Beta Was this translation helpful? Give feedback.
-
Thanks Robert, I really appreciate your thoughts and feedback! I will discusss this with the development team. |
Beta Was this translation helpful? Give feedback.
-
I just had a quick look through the repos new v2 implementation in rust and its recent additions, in particular the recent process handling utilities. I was wondering if it would make sense for you to use async rust there instead since manually handling subprocesses could be tricky when the app grows.
Of course the first thought here would be to use
tokio
and especially it'scommand
feature. The obvious cons are that it will drag in quiet some dependencies with it. There are some more lightweight solutions here as well though if you'd really care about your dependencies like using the smol async runtime and then only picking the stuff you really need (like async-process)So: Did you consider these options already? And if so, why did you not choose to use them? (Just curious for that second question)
Beta Was this translation helpful? Give feedback.
All reactions