Is async log appender from log4j useful to mitigate this situation of a virtual thread mounting it after the log IO?
@Tony-dp1rl9 ай бұрын
Virtual Threads in Java are such a terrible implementation. I wonder why they didn't look at other languages first.
@ekadet9 ай бұрын
What is the 'better' implementation in your opinion?
@MrKar187 ай бұрын
In which way? Any article to elaborate? We can mail java mailer group with your findings.
@arpitrathore49144 ай бұрын
The answer is in this talk. The plan was to keep the virtual threads API consistent with regular threads API. Also the other languages with better APIs (say async/await) are all single threaded.
@ThaRealiestJEDI3 ай бұрын
@@arpitrathore4914 I would argue async/await is better design
@br98093 ай бұрын
@@arpitrathore4914 not true. Async/await first showed up in the very multithreaded C#.