FFM (Foreign Function and Memory API) Goes Final

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. carlie

    A fast, asynchronous, and easy-to-use TCP server library for the JVM (built on libuv).

    Some years ago, I wrote a custom JNI wrapper over libuv [0] for a Java/Kotlin project I was working on. It’s mind-blowing how much work it took to get cross-compilation and everything else working. That said, as someone who’s been writing C code for years, it wasn’t the worst experience I’ve had; it was mostly just tedious.

    [0]: https://github.com/1791-labs/carlie

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. JNA

    Java Native Access

    As far as I understand it, with JNA, all calls into C code go through libffi: https://github.com/java-native-access/jna/blob/master/www/Fu...

    This means that every call sets up some libffi data structures and libffi uses this information to perform the native call. Likewise in the other direction for return values. With JNI (and Panama), Hotspot can directly emit the argument/return code a the call, not too dissimilar from what a C or C++ compiler would do. There is still some overhead from maintaining JVM invariants. For example, I think a thread blocked in an FFI call can still participate in a safepoint. But that applies to JNI as well.

  4. cljfx

    Declarative, functional and extensible wrapper of JavaFX inspired by react and re-frame

    More broadly, non-Electron apps have been uncommon for a while. I just don't work in the webspace and I need to write code that's relatively performant. I understand it's all possible with Electron.. but it's a bit daunting to have a client-server web stack and multiple languages and some numbercrunching backend

    JavaFX was a nice solution that's crossplatform and near-native. It has a very nice react-like library in Clojure called `cljfx`

    https://github.com/cljfx/cljfx/

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

  • Cljfx: A declarative desktop UI framework in Clojure

    3 projects | news.ycombinator.com | 22 Apr 2026
  • Cljfx – Declarative, functional and extensible wrapper of JavaFX

    1 project | news.ycombinator.com | 10 Aug 2025
  • Windows 10 GUI

    1 project | /r/learnprogramming | 3 May 2022
  • ClojureScript in the Age of TypeScript — David Nolen

    3 projects | /r/Clojure | 2 Aug 2021
  • Can programming be liberated from the von Neumann style? (1978)

    1 project | news.ycombinator.com | 19 Jun 2021

Did you know that Java is
the 10th most popular programming language
based on number of references?