JavaCPP VS JNR

Compare JavaCPP vs JNR and see what are their differences.

JavaCPP

The missing bridge between Java and native C++ (by bytedeco)

JNR

Java Abstracted Foreign Function Layer (by jnr)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
JavaCPP JNR
8 1
4,349 1,193
1.4% 0.9%
7.1 5.9
3 days ago about 1 month ago
Java Java
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

JavaCPP

Posts with mentions or reviews of JavaCPP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-27.

JNR

Posts with mentions or reviews of JNR. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-11.
  • Does Java 18 finally have a better alternative to JNI?
    5 projects | dev.to | 11 Apr 2022
    Another popular option is Java Native Runtime (JNR). Though not as widely used or mature as JNA, it's much more modern and has better performance than JNA for most use cases. However, there are some cases where JNA might perform better.

What are some alternatives?

When comparing JavaCPP and JNR you can also consider the following projects:

JNA - Java Native Access

SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

Cython - The most widely used Python to C compiler

cppimport - Import C++ files directly from Python!

djinni

Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Deep Java Library (DJL) - An Engine-Agnostic Deep Learning Framework in Java

nbind - :sparkles: Magical headers that make your C++ library accessible from JavaScript :rocket:

nelson - The Nelson Programming Language

jnativehook - Global keyboard and mouse listeners for Java.

v8pp - Bind C++ functions and classes into V8 JavaScript engine