3 ms·
I tend to agree, but an important note is that I've never seen an async/await system that didn't ALSO interact with OS threads. Async await is not an alternativ
by delusional 3y ago
I tend to agree, but an important note is that I've never seen an async/await system that didn't ALSO interact with OS threads. Async await is not an alternative to OS threads but rather an additional layer.
- OtomotO 3y agoI have heard about them in embedded systems where there are no OS threads, because there is no OS, but there is Async tasks and a scheduler
- mike_hearn 3y agoThat just means there's an OS but it's one a bit like Win 3.1, with fully cooperative multitasking.
- IshKebab 3y agoYou mean like the async/await systems in the two most popular languages in the world - JavaScript and Python? Async/await is definitely an alternative to user space threads, especially for IO bound tasks.
- WorldMaker 3y agoSome of the Python schedulers today already use pools of OS Threads. There's definitely complications involving the GIL that makes Python ugly in true multi-threading, but Python has done a lot to mitigate it in the last few years and the rumors are GIL removal will happen sooner than a lot of people expect.