5 ms·
So why can't I just use an OS regular thread to use a non-blocking API? What is the advantage of a virtual thread in that case? You are saying that it's painfu
by jasmer 4y ago
So why can't I just use an OS regular thread to use a non-blocking API?
What is the advantage of a virtual thread in that case? You are saying that it's painful? How exactly? If you use an Executor that's setup with a proper Thread Pool it's mostly painless?
I mean, virtural threads are nicer but I see that as almost a syntax issue. A bit cleaner.
I guess I'm asking what you mean by 'painful to use?'.
- twic 4y agoI literally include a concrete example in the comment you are replying to.