JEP 419: Foreign Function and Memory API

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Sonar - Write Clean Java Code. Always.
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • InfluxDB - Access the most powerful time series database as a service
  • JNA

    Java Native Access

    This is about calling into any native operating system APIs, as long as they are callable via C or C++ (which these days means "all" operating system APIs).

    JNI is somewhat harder to use, because you need custom glue on both sides of the border: Some custom classes in Java and some custom code on the C (and C++) side.

    This proposal would remove the need for the glue on the C side and would allow a pure java solution.

    Something like this has existed in third-party form for a while as JNA (https://github.com/java-native-access/jna), but now it's going to be built into the JRE itself (if the proposal passes through review)

  • planetiler

    Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast

    I recently found this approach: https://github.com/onthegomap/planetiler/blob/main/planetile... but I’m hoping this api will eventually let you do that without an external dependency or writing/compiling C connectors.

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • JavaCPP

    The missing bridge between Java and native C++

    Javacpp is the best ffi library of all https://github.com/bytedeco/javacpp

  • netty-tcnative

    A fork of Apache Tomcat Native, based on finagle-native

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts