3 ms·
This isnt true. Java can be extremely high performing. Nasdaq runs on java.
by vanillax 4y ago
This isnt true. Java can be extremely high performing. Nasdaq runs on java.
- PaulHoule 4y agoIn Java you can write correct multithreaded code that is highly scalable if you use the basic primitives and avoid snake oil like parallel streams, fork/join, etc. People wish you could write reliable and scalable parallel code with a small set of primitives but it just isn't true.
- rockwotj 4y agoAgreed. I wish people didn't assume GC means slow - Java has the most sophisticated GC out there. There are points when not being able to stack allocate objects hurts performance, but JVM performance is good. I've worked one two database systems written in JVM tech and the performance was good.
- jmartin2683 4y agoRelative to what, though? It’s a garbage collected language running on a virtual machine. At the end of the day, if I want high level ergonomics I’ll use Python and if I want performance I’ll use C. If I want both at the same time I’ll use rust. I don’t see where Java fits in this outside of some case where I’m forced to use it due to some library requirement or deployment constraint.