SWIG VS JavaCPP

Compare SWIG vs JavaCPP and see what are their differences.

SWIG

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

JavaCPP

The missing bridge between Java and native C++ (by bytedeco)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SWIG JavaCPP
15 5
4,523 3,860
1.5% 1.3%
9.8 7.6
5 days ago 13 days ago
C++ 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.

SWIG

Posts with mentions or reviews of SWIG. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-22.

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 2022-04-11.

What are some alternatives?

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

cffi

CppSharp - Tools and libraries to glue C/C++ APIs to high-level languages

JNA - Java Native Access

Cython - The most widely used Python to C compiler

djinni

libffi - A portable foreign-function interface library.

JNR - Java Abstracted Foreign Function Layer

PyCUDA - CUDA integration for Python, plus shiny features

sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint

V8 - The official mirror of the V8 Git repository