Class ForeignFunctionMemoryApiPreviewNotes
java.lang.Object
net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
Explains the Foreign Function and Memory API as a Java 19 preview feature.
Native integration in Java traditionally meant JNI, which is powerful but complex and easy to make unsafe. The Foreign Function and Memory API was introduced to provide a supported model for calling native functions and working with memory outside the Java heap.
The API evolved through later releases before finalization. A serious example normally calls native code or manages off-heap memory, so this repository keeps the Java 19 entry as notes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNames the older technology this API can replace for many use cases.Explains why this repository keeps it as notes.purpose()Explains the high-level goal.
-
Constructor Details
-
ForeignFunctionMemoryApiPreviewNotes
public ForeignFunctionMemoryApiPreviewNotes()
-
-
Method Details
-
purpose
-
alternativeTo
Names the older technology this API can replace for many use cases.- Returns:
- the older technology name
-
projectDecision
Explains why this repository keeps it as notes.- Returns:
- the project decision
-