| ▲ | bearjaws 7 hours ago | ||||||||||||||||
JavaScript can be fast too, it's just the ecosystem and decisions devs make that slow it down. Same for Java, I have yet to in my entire career see enterprise Java be performant and not memory intensive. At the end of the day, if you care about performance at the app layer, you will use a language better suited to that. | |||||||||||||||||
| ▲ | maccard 7 hours ago | parent | next [-] | ||||||||||||||||
My experience with the defaults in JavaScript is that they’re pretty slow. It’s really, really easy to hit the limits of an express app and for those limits to be in your app code. I’ve worked on JVM backed apps and they’re memory hungry (well, they require a reallocation for the JVM) and they’re slow to boot but once they’re going they are absolutely ripping fast and your far more likely to be bottlenecked by your DB long before you need to start doing any horizontal scaling. | |||||||||||||||||
| |||||||||||||||||
| ▲ | j-vogel 7 hours ago | parent | prev | next [-] | ||||||||||||||||
Fair point on ecosystem decisions, that's basically the thesis of the post. These patterns aren't Java being slow, they're developers (myself included) writing code that looks fine but works against the JVM. Enterprise Java gets a bad rap partly because these patterns compound silently across large codebases and nobody profiles until something breaks. | |||||||||||||||||
| ▲ | pron an hour ago | parent | prev | next [-] | ||||||||||||||||
Well, JS is fast and Go is faster, but Java is C++-fast. | |||||||||||||||||
| ▲ | FatherOfCurses 6 hours ago | parent | prev [-] | ||||||||||||||||
"Enterprise Java" Factories! Factories everywhere! | |||||||||||||||||
| |||||||||||||||||