this post was submitted on 13 Jul 2023
37 points (100.0% liked)
Java
1365 readers
1 users here now
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
When I worked for Amazon, someone had created a command line tool to be used in builds, but repeatedly starting up JVMs is painfully slow. I rewrote the app in C++ and it could be invoked 81 times vs one invocation of Java version.
If I need speed, I'll use C++. If I need developer productivity, I'll use Ruby.
Why in the world would you rewrite it when you could take an hour and get it compiling with graalvm and it would be just as fast as c++?
Tbf he's also suggesting that Ruby is the most dev friendly language he could use, so I'm already a bit skeptical lol
I mean, I agree with them on that. It’s very dev friendly. You definitely shouldn’t be building large scale apps in it, but it’s more readable than almost every single language out there. But rewriting a whole app in a new language instead of just using the tools available to get the best of both worlds is just a bad idea.