Clang.jl
PyCallChainRules.jl
Clang.jl | PyCallChainRules.jl | |
---|---|---|
2 | 1 | |
231 | 56 | |
1.7% | - | |
7.2 | 10.0 | |
15 days ago | over 2 years ago | |
Julia | Julia | |
MIT License | MIT License |
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...)
PyCallChainRules.jl
-
Julia 1.10 Released
> Can I use PyTorch or JAX comfortably in Julia?
There is https://github.com/rejuvyesh/PyCallChainRules.jl which makes this possible. But using some of the native Julia ML libraries that others have mentioned is preferable.
What are some alternatives?
jluna - Julia Wrapper for C++ with Focus on Safety, Elegance, and Ease of Use
Torch.jl - Sensible extensions for exposing torch in Julia.
threads - Threads for Lua and LuaJIT. Transparent exchange of data between threads is allowed thanks to torch serialization.
erfa - Essential Routines for Fundamental Astronomy. Maintainers: @eteq @mhvk @sergiopasra
LibTIFF.jl - Clang.jl generated wrapper around Libtiff_jll.jl