Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With all respect that sounds like excuse-making. I mean, yeah, Javascript and JVM and .NET are slower runtimes than C or Rust[1]. Nonetheless that's the world we live in, and if you have a performance-sensitive problem to solve you pick up rustc or g++ and not a managed runtime. If that's wrong, someone's got to actually show that it's wrong.

[1] Maybe Go or Swift would be more apples-to-apples. But even then are there clear benchmarks showing Kotlin or C# beating similar AoT code? If anything the general sense of the community is that Go is faster than Java.



Excuses for what? I'm not the elected representative for JIT compiled languages, sworn to defend them. There are technical reasons they tend to be slower. I was sketching some of them.


I think the above comments are because JIT gets so much positive press, someone wandering in from outside could be mistaken for thinking that JIT isn't coming 2nd in a two-man race with AOT.

I've been around long enough to hear that Java and JIT are gonna overtake C++ any day now.

The title on this article doesn't help.


https://devblogs.microsoft.com/oldnewthing/20060731-15/?p=30...

https://blog.codinghorror.com/on-managed-code-performance-ag...

And that was 2005. Modern .NET is much, much faster.

> If anything the general sense of the community is that Go is faster than Java.

Faster where?


When things are performance-sensitive, you want things to be tunable and predictable. Good luck playing with the JIT if you rely that for performance...


Good luck with AOT as well, unless you hardcode the target hardware, like game consoles.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: