33 points theanonymousone 3 days ago 14 comments
JMKH42 1 hour ago | parent
pron 10 minutes ago | parent
lazystone 1 hour ago | parent
> Non-Goals
> It is not a goal to support cross-compilation. Code compiled in a training run must run on the same CPU architecture, with the same set of features, in subsequent production runs.
florieger 1 hour ago | parent
IMHO, that would be much better than running into crashes and having to figure out the cause yourself.
paulddraper 39 minutes ago | parent
"This is what I would like AOT cache to mean."
crschnick 29 minutes ago | parent
_old_dude_ 1 hour ago | parent
jiehong 57 minutes ago | parent
Instead, this AOT feature is not very ergonomic to use at all, with too many pitfalls to be of broad use IMO.
deepsun 55 minutes ago | parent
I think other AOT-compiled languages don't opt in for the lowest set of CPU features -- they just detect them at runtime and use whenever present, all in compiled machine code.
mikepurvis 52 minutes ago | parent
https://doc.rust-lang.org/beta/core/arch/#dynamic-cpu-featur...
emoII 33 minutes ago | parent
hocuspocus 10 minutes ago | parent
Struggling to build native images should be a sign you're reliant on libraries that are dangerously outdated and abandoned.
pron 20 minutes ago | parent
The first use case is the very common one (for Java) where developers control deployment (internal deployment). The last basic building block, caching machine code, will be released next year in JDK 28, and then the feature is likely to evolve to better support other use cases, such as external deployment.
pjmlp 5 minutes ago | parent
There are plenty of other AOT/JIT cache approaches in the Java ecosystem already, with more mature deployment experience of several years, namely:
OpenJ9, Azul, PTC, Aicas, the Android cousin since Android 7
Technology based on process snapshots CRaC for Amazon OpenJDK distro (Correcto), and OpenJ9, is also another approach available for some time.