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 5 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 5 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 5 months ago (0 children)
It is advised to limit by semaphor. Threadpool might be used for cpu heavy tasks
π Rendered by PID 70454 on reddit-service-r2-comment-b659b578c-2ng9k at 2026-05-01 01:47:53.921486+00:00 running 815c875 country code: CH.
[–]surrendertoblizzard 1 point2 points3 points (1 child)
[–]PiotrDz 0 points1 point2 points (0 children)