News for hackers. Stuff that matters.
Re:“I am literally losing sleep” over Java (1996) by fsdjkflsjfsoij on Thursday January 06, 2022 @12:56PM (#29827052)
Modern Spring Boot is still incredibly bloated and full of questionable design patterns. A simple web application should not consume hundreds of megabytes of RAM by default and startup time on modern hardware should be basically instantaneous. Classpath scanning and annotations are still massively overused and most of the time they're accomplishing little more than obfuscation and turning compile time errors into runtime errors.
Re:“I am literally losing sleep” over Java (1996) by kaba0 on Thursday January 06, 2022 @03:32PM (#29829641)
Why exactly? How often do you start up a web application? And it’s not like the RAM is not there to use it — thread pools, db connection pools, etc have to be set up.