V2 Process Handling #349
JasmineLowen
started this conversation in
General
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:
|
0 replies
|
Thanks Robert, I really appreciate your thoughts and feedback! I will discusss this with the development team. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
tokioand especially it'scommandfeature. 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)
All reactions