3 ms·
You can get AOT compilation with GraalVM today, allocating small objects on the stack is being worked on in Project Valhalla, compile time asserts can be implem
by doteka 6y ago
You can get AOT compilation with GraalVM today, allocating small objects on the stack is being worked on in Project Valhalla, compile time asserts can be implemented with annotations if you care (see @NotNull), utf-8 is available in the standard library in the StandardCharsets class.
For Async/await, I believe a much better approach is available with Quasar today or with Project Loom soon.
SIMD is an issue though if you need that.
- apta 6y agoSIMD is being worked on as well: https://openjdk.java.net/jeps/338 https://openjdk.java.net/jeps/338 See Project Panama for the encompassing project: https://openjdk.java.net/projects/panama/ https://openjdk.java.net/projects/panama/
- vips7L 6y agoAOT was available for over a DECADE with the GNU Compiler for Java before it was removed.
- MaxBarraclough 6y agoIt's also long been possible with lesser-known proprietary solutions like Excelsior JET, so I suppose Java can claim to have a mature solution to that feature, just not a mature mainstream FOSS solution (not counting Graal).