When packaged alongside the binary, VM for all purposes is just the language runtime,e.g. natively compiled Java.
I just don't think natively compiled Java is there yet. It's not trivial to get it working and the ecosystem isn't ready for it yet.
There are certain things that just work (i.e. quarkus, which I have a web service running on 13 mb of ram), but I have never been able to successfully compile to native on my own because of library dependencies. Getting things like Weld or H2 to work is pretty difficult.
It is there since 2000.
AOT compilation has been a feature of most commercial JDKs, specially the ones targeted at embedded development like PTC and Aicas.
Re:Dark’s new backend will be in F#
by aphexairlines on Tuesday November 03, 2020 @04:00PM
(#24983915)
jlink potentially helps with weight.
You either have to run into the same problem as dark when it comes to libraries and ecosystem (ocaml, haskell, D, etc), use go and give up any nice language features, or run on a VM and deal with all the issues of packaging/weight (clr, jvm).