News for hackers. Stuff that matters.
Re:Accidental complexity, essential complexity, and Kubernetes by anonymous_sorry on Monday September 05, 2022 @05:49PM (#32729901)
I think the suggestion is to use native Linux binaries with static linking of any libraries and resources in the executable.

Java programs would need to be compiled as a standard ELF. I think GraalVM can do this.

Re:Accidental complexity, essential complexity, and Kubernetes by threeseed on Monday September 05, 2022 @05:56PM (#32729967)
Only some Java/Scala programs can be compiled as a single binary.

It's been a concept that has been around for years but not progressing to the point where it comes close to negating the need for the JVM in a Production environment.

In the meantime containers works today and is significantly more powerful and flexible.

Re:Accidental complexity, essential complexity, and Kubernetes by krageon on Tuesday September 06, 2022 @09:53AM (#32737138)
The fallback scenario just embeds the interpreter inside of the binary. That still nets you a single binary, unless I'm missing something?