by ludovicianul on 3/18/25, 1:08 PM with 112 comments
by atomicnumber3 on 3/18/25, 2:38 PM
I really want structured concurrency out of preview!! I think it helps close one of the last gaps golang has over Java in the ease-of-concurrent-programming side of things. Go makes channels and waitgroups pretty easy. I think structured concurrency is a great side-step of those primitives by actually making the higher-level tasks you use those tools to accomplish easier to write and reason about. Continuing a trend I see where go tends to have somewhat better primitives, but then obstinately does nothing with them to actually make the higher-level tasks easier to accomplish.
No pinning virtual threads is huge. Finally you can virtual thread with near-wild abandon, as God intended.
Love seeing Streams still getting love. I do a lot of fizzbuzz-esque interviews (the "can you code your way out of a paper bag" type screens) for my company and I think it says a lot that, in general, people who pick Java and use streams pass but people who don't use streams often get tripped up in their loop logic and fail (or, even if they don't fail per se, don't pass). It says a lot about ergonomics and intuitiveness, and also the power of the abstraction to tersely and compactly solve real problems, when a language is a big ally in interviews. And the cool thing about Java streams is that they're as powerful as Ruby's functional-style operation chaining (arr.map{}.reduce(:+) etc) but they're actually performant. I feel it also bears mentioning that people who use Ruby in these interviews, few as they are, almost always pass and do so while writing very few LOC :)
by theandrewbailey on 3/18/25, 1:25 PM
by bullen on 3/18/25, 2:26 PM
Raspberry 2 and Vision Five 2 are very future proof peices of hardware that Oracle and OpenJDK ignores!
by dpratt on 3/18/25, 2:46 PM
by lordleft on 3/18/25, 2:35 PM
by magicmicah85 on 3/18/25, 3:22 PM
by jsiepkes on 3/18/25, 3:34 PM
by re-thc on 3/18/25, 2:25 PM
by satvikpendem on 3/18/25, 3:04 PM
by pjmlp on 3/18/25, 3:11 PM
Lots of goodies.
by guybedo on 3/19/25, 1:59 AM
by learncomputer on 3/18/25, 2:37 PM
by 0x1ceb00da on 3/18/25, 3:29 PM