News for hackers. Stuff that matters.
Re:Ask HN: What'd be possible with 1000x faster CPUs? by invisiblerobot on Wednesday September 21, 2022 @09:34PM (#32933864)
Java runs at 90% the speed of C for most common benchmarks.

It uses 50x the RAM to do so. But you're dead wrong to think java is slow.

The only reason physics game engines are written in C++ is because physics game engines are written in C++.

Re:Ask HN: What'd be possible with 1000x faster CPUs? by solomatov on Wednesday September 21, 2022 @11:17PM (#32934444)
>Java runs at 90% the speed of C for most common benchmarks.

It's not 90%, more of several times slower: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

>The only reason physics game engines are written in C++ is because physics game engines are written in C++.

They are written in C++ because of latency requirements which are nearly impossible in GCed language.

Re:Ask HN: What'd be possible with 1000x faster CPUs? by seer-zig on Tuesday September 27, 2022 @03:53PM (#33000297)
From what I know, the major C++ engines (Unity, Unreal) have GC in them. Using GC does not automatically mean that latency is out the window.
Re:Ask HN: What'd be possible with 1000x faster CPUs? by tiernano on Thursday September 22, 2022 @04:43AM (#32936289)
You missed the jk (joking part) didn't you. Only Java apps I use are jdownloader and ikvm apps for servers...and well, they are slow...
Re:Ask HN: What'd be possible with 1000x faster CPUs? by throwaway019254 on Friday September 23, 2022 @06:53AM (#32950184)
Have you ever used any service from AWS? Then you were using Java.