News for hackers. Stuff that matters.
Re:55 GiB/s FizzBuzz (2021) by pkolaczk on Monday July 03, 2023 @05:57AM (#36570829)
I don't think replacing one bad idea with another bad idea is a good idea ;) I'm also not sure if Java would be less bad in that case. At least JS has years of research that went into making it start fast, not only run fast after warmup.
Re:55 GiB/s FizzBuzz (2021) by selimco on Monday July 03, 2023 @06:16AM (#36570963)
Modern Java has Coordinated Restore at Checkpoint (CRaC) as well as ways to compile it to native binaries that can start very fast (GraalVM & Substrate VM). The former has the benefit of a JIT as well!
Re:55 GiB/s FizzBuzz (2021) by therealdrag0 on Monday July 03, 2023 @06:55PM (#36579869)
Have you used any of these? I’m looking for ways to speed up start time of JVM, but almost options I’ve seen so far are “experimental” and not sure best route to take. For example was sad to see ahead of time compile being removed from JDK.
Re:55 GiB/s FizzBuzz (2021) by pulse7 on Monday July 03, 2023 @07:22AM (#36571386)
Is this "years of research" the reason why most Electron apps still start slower than - for example - IntelliJ IDEA, which is written in Java and Swing?
Re:55 GiB/s FizzBuzz (2021) by dahfizz on Monday July 03, 2023 @01:51PM (#36576476)
Just imagine if those years of research went into a good language instead. Instead of expending a huge amount of effort making an inherently slow language perform reasonably, we could have taken a reasonable language like Rust and made it so good it would legitimately push computing forward.

And then all you web devs could still compile rust to wasm. wasm is already faster than JS anyway. JS was a mistake.