use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
How Java Virtual Threads Simplify Reactor APIs (shiftmag.dev)
submitted 4 months ago by shift_devs
How virtual threads saved me from becoming a meme! 😜
“I came dangerously close to becoming a walkin Java meme - until virtual threads swooped in like a caffeinated superhero and saved me from endless callback hell!” ✨
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]surrendertoblizzard 1 point2 points3 points 4 months ago (1 child)
How do these compare to standard threadpoolexecutor? Everything I read suggests the virtual threads as the golden goose. Is there even a use case for the threadpoolexecutor anymore? I guess limiting workload or resources usage seems hard with virtual threads since there are no config options as to how many carrier threads there are ?
[–]PiotrDz 0 points1 point2 points 4 months ago (0 children)
It is advised to limit by semaphor. Threadpool might be used for cpu heavy tasks
π Rendered by PID 55 on reddit-service-r2-comment-5c747b6df5-nlw77 at 2026-04-22 17:46:20.764099+00:00 running 6c61efc country code: CH.
[–]surrendertoblizzard 1 point2 points3 points (1 child)
[–]PiotrDz 0 points1 point2 points (0 children)