> In contrast the foreign memory API is very stable already since Java 19 and > the changes were minimal in 21.
If you take a look at differences from Java 20 to Java 21 on Java Almanac [1] for java.lang.foreign. I wouldn't really call it minimal. Lots of classes and methods were added and removed. > P.S.: Vector API is still in incubation, when will it go to preview? It is detailed in the lastest Vector JEP [2]. ------ Accordingly, the Vector API will incubate over multiple releases until the necessary features of Project Valhalla become available as preview features. Once these Valhalla features are available we will adapt the Vector API and implementation to use them and then promote the Vector API itself to a preview feature. For further details, see the sections on run-time compilation and future work. ----- /Kasper [1] https://javaalmanac.io/jdk/21/apidiff/20/ [2] https://openjdk.org/jeps/448