News for hackers. Stuff that matters.
Re:Should I Learn Java in 2018 by sheeshkebab on Friday July 13, 2018 @08:31AM (#17522343)
My guess is that it won’t work with less than 1GB bc of spring boot, hibernate and all the rest of Java enterprise “microservice” goodness.
Re:Should I Learn Java in 2018 by bloomthrowaway on Friday July 13, 2018 @08:48AM (#17522458)
IMO almost nobody is writing microservices with spring boot because its so gigantic. Hibernate isn't bad on memory use on its own.

There's a raft of more sane choices these days like Play, Dropwizard, Vert.X etc.. They all use far less resources. Spring Boot is huge because it has to support a decade of obsolete junk, its far more than just a REST app framework.

Checkout TechEmpower's framework benchmarks https://www.techempower.com/benchmarks/#section=data-r16&hw=...

(I added filters to limit to Java+Go+JS+Python and limited DB to Postgres and Mysql)

Java and Golang lead the pack, with JS a distant second and most Python frameworks hanging out near the bottom

Re:Should I Learn Java in 2018 by ardfie on Friday July 13, 2018 @09:02AM (#17522551)
>IMO almost nobody is writing microservices with spring boot because its so gigantic.

I've encountered plenty of spring boot microservices in my work and, from what I hear of other companies, it's not particularly rare.

Most of the time, if you have a team that's productive in Spring, a manager or lead will be happy to spend some extra memory and get more features shipped.

Re:Should I Learn Java in 2018 by boobsbr on Friday July 13, 2018 @08:38AM (#17522390)
> My guess

So you actually haven't tried to run an application with those libraries, and you don't even know what libraries that particular application is using, and here you are speculating about something you don't know and/or understand.

Re:Should I Learn Java in 2018 by bloomthrowaway on Friday July 13, 2018 @09:11AM (#17522613)
I've used Spring and he's probably right :) . But there's better choices these days. Any Spring micro-services out there are probably by a team that knew Spring well and didn't want to learn a more suitable framework
Re:Should I Learn Java in 2018 by jackpeterfletch on Friday July 13, 2018 @08:48AM (#17522456)
Whats different about the equivalent libraries in other languages?
Re:Should I Learn Java in 2018 by bloomthrowaway on Friday July 13, 2018 @09:18AM (#17522664)
Spring is huge... The closest competitor might be Rails