Clang.jl VS CxxWrap.jl

Compare Clang.jl vs CxxWrap.jl and see what are their differences.

Clang.jl

C binding generator and Julia interface to libclang (by JuliaInterop)

CxxWrap.jl

Package to make C++ libraries available in Julia (by JuliaInterop)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Clang.jl CxxWrap.jl
2 4
217 408
0.9% 1.7%
7.8 8.1
7 days ago 18 days ago
Julia Julia
MIT License 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.

Clang.jl

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

CxxWrap.jl

Posts with mentions or reviews of CxxWrap.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-12.
  • jluna: a new Julia <-> C++ Wrapper
    4 projects | /r/cpp | 12 Mar 2022
    Kudos for your work. AFAIK, the recommended C++ interop for Julia is CxxWrap https://github.com/JuliaInterop/CxxWrap.jl. Could you provide the main advantages of using jluna vs. CxxWrap?
  • A new C++ <-> Julia Wrapper: jluna
    4 projects | /r/Julia | 5 Feb 2022
    If you are interested in C++ interop you can also have a look at Clang.jl and CxxWrap.jl (the usual Julia package chaos applies, where the package mentioned in old talks and docs that you find on google is superseded by some others...)
  • Can I expose C/C++ Functions to Julia?
    1 project | /r/Julia | 17 May 2021
    You could try https://github.com/JuliaInterop/CxxWrap.jl
  • Anyone using Julia for physics?
    2 projects | /r/Julia | 10 Apr 2021
    I like about Julia that it is so easy to call packages from other languages. CxxWrap.jl for easy access of C++ libraries. I often use python libraries inside my Julia code.

What are some alternatives?

When comparing Clang.jl and CxxWrap.jl you can also consider the following projects:

jluna - Julia Wrapper for C++ with Focus on Safety, Elegance, and Ease of Use

LatticeQCD.jl - A native Julia code for lattice QCD with dynamical fermions in 4 dimension.

Lux.jl - Explicitly Parameterized Neural Networks in Julia

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

Torch.jl - Sensible extensions for exposing torch in Julia.

LibTIFF.jl - Clang.jl generated wrapper around Libtiff_jll.jl

julia - The Julia Programming Language

threads - Threads for Lua and LuaJIT. Transparent exchange of data between threads is allowed thanks to torch serialization.