logoalt Hacker News

nailertoday at 6:39 PM2 repliesview on HN

But latency. No Java app I have used in 25ish years has ever started in a reasonable amount of time.


Replies

gunnarmorlingtoday at 7:17 PM

It's a non-issue with GraalVM native binaries. See https://news.ycombinator.com/item?id=46445989 for an example: this CLI tools starts in ms, fast enough you can launch it during tab completions and have it invoke a REST API without any noticeable delay whatsoever.

But also when running on the JVM, things have improved dramatically over the last few years, e.g. due to things such as AOT class loading and linking. For instance, a single node Kafka broker starts in ~300 ms.

show 1 reply
thangalintoday at 6:53 PM

> started in a reasonable amount of time

A hasty generalization with a little confirmation bias, perhaps?

    $ time keenwrite.bin --version
    KeenWrite version 3.6.5
    Copyright 2016-2025 White Magic Software, Ltd.

    user 0m0.329s
From Claude:

> It's worth noting this is a common perception about Java, and there's some historical truth to it (especially with Swing desktop applications from the 2000s). However, the absolute statement "no Java app... ever" is the fallacy - it's an overgeneralization from limited personal experience to a universal claim.