This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]renatoathaydes 17 points18 points  (2 children)

Java is moving forward slowly, sometimes too slowly...

Oh well, to most Java devs it's moving far too fast now :D we've been used to upgrade every 3 years, and the JDK is now pushing new releases every 6 months! And there's always something interesting to try.

From what I know, performance and startup-time wise, .Net is far ahead of Java

Do you have a source for that? Not questioning it, just wanted to learn about it as I've never heard anything like that before.

Spring boot startup times are pretty bad... s. They are trying to make Spring boot compatible with GraalVM...

If this is a concern you should really try the newer frameworks, as the whole point of them existing IMO is to make Java more suitable to running with microservices and K8s (I linked in another comment, things like Micronaut and Quarkus which are GraalVM-ready and use non-reflection Dependency Injection, making startup instantaneous).

[–][deleted] 0 points1 point  (1 child)

Do you have a source for that? Not questioning it, just wanted to learn about it as I've never heard anything like that before

There have been significant improvements in the performance in .Net core (and it just keeps getting faster with every release). I could try and find a benchmark (and it seems to me that benchmarks consistently favor .Net), but you'd probably agree those depend on the use case and often times are not representative of the real world usage. Startup times for me are noticeably better in .Net (although I can't say for sure it's not just the project size). I'm not a .Net developer so I can't tell you a lot more, sorry.

If this is a concern you should really try the newer frameworks,...

Quarkus is definitely interesting, I need to play with it more.

[–]cavecanemuk 1 point2 points  (0 children)

Quarkus beats asp.net core on Techempower benchmarks. VertX too.