6 ms·
I think green threads (Java Virtual Threads, Go to an extent) are strictly superior to async/await. If you don't have many threads, OS threads are okay as well
by luke5441 1y ago
I think green threads (Java Virtual Threads, Go to an extent) are strictly superior to async/await.
If you don't have many threads, OS threads are okay as well. It is all about memory and scheduling overhead.
But that is just my opinion. You are welcome to have a different opinion.
- dns_snek 1y agoNo I don't think your opinion is "wrong" or anything, it's just that this is a language-level limitation and not a valid criticism of NodeJS.