News and views from members of the Java team at Oracle
(Recorded at JVMLS 2019 - for more, check our JVMLS 2019 playlist.)
Project Panama re-imagines the way in which Java applications speak to foreign functions and data structures. In Panama, developers generate suitable Java interfaces from existing native headers using a tool called 'jextract'; such interfaces can then be bound to the corresponding native methods and data structures on the fly, with no need for writing platform-specific code in C or C++. Allowing platform-specific idioms to be coded directly in Java not only improves developers productivity, but it also makes the platform more secure and efficient. This talk takes a peek under the hood of the composable architecture of the Panama foreign support with particular focus on the challenges of providing a foreign interoperability support which is as expressive as is efficient.