Clang.jl
CxxWrap.jl
Clang.jl | CxxWrap.jl | |
---|---|---|
2 | 4 | |
229 | 433 | |
0.4% | 0.5% | |
7.5 | 7.8 | |
24 days ago | 13 days ago | |
Julia | Julia | |
MIT License | GNU General Public License v3.0 or later |
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
-
Julia 1.10 Released
Are there solid C interfaces that can be used?
A large part of why I started using Julia is because calling into other languages through the C FFI is pretty easy and efficient. Most of the wrappers are a single line. If there is not existing driver support, I would pass the C headers through Clang.jl, which automatically wraps the C API in a C header.
https://github.com/JuliaInterop/Clang.jl
I most recently did this with libtiff. Here is the Clang.jl code to generate the bindings. It's less than 30 lines of sterotypical code.
https://github.com/mkitti/LibTIFF.jl/tree/main/gen
The generated bindings with a few tweaks is here:
https://github.com/mkitti/LibTIFF.jl/blob/main/src/LibTIFF.j...
-
A new C++ <-> Julia Wrapper: jluna
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...)
CxxWrap.jl
-
jluna: a new Julia <-> C++ Wrapper
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
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?
You could try https://github.com/JuliaInterop/CxxWrap.jl
-
Anyone using Julia for physics?
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?
threads - Threads for Lua and LuaJIT. Transparent exchange of data between threads is allowed thanks to torch serialization.
LatticeQCD.jl - A native Julia code for lattice QCD with dynamical fermions in 4 dimension.
jluna - Julia Wrapper for C++ with Focus on Safety, Elegance, and Ease of Use
Torch.jl - Sensible extensions for exposing torch 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:
LibTIFF.jl - Clang.jl generated wrapper around Libtiff_jll.jl
Cxx.jl - The Julia C++ Interface
oorb - An open-source orbit-computation package for Solar System objects.
julia - The Julia Programming Language
Lux.jl - Elegant and Performant Scientific Machine Learning in Julia
PyCallChainRules.jl - Differentiate python calls from Julia