News for hackers. Stuff that matters.
Re:Love It or Hate It, Java Continues to Evolve by kjeetgill on Monday June 17, 2019 @05:33AM (#20201250)
I've definitely had to fix servers that have choked themselves with thread abuse, so maybe it's ptsd. The fixes can be as simple as shrinking threadpools to needing substantial rewrites, so I still treat threads as resources requiring management.

Green threads are nice because they let me separate logical execution from operating system resources. Unlike Go, Java will expose the ability to use a custom scheduler, so that should be nice!

My personal pet usecase is actually the opposite. I want to isolate 5-10 "low priority" tasks to a single kernel thread to isolate how much damage misbehaving code can do.

Re:Love It or Hate It, Java Continues to Evolve by pjmlp on Tuesday June 18, 2019 @03:22AM (#20210410)
You can already use custom schedulers with java.util.concurrent though.