Clang.jl

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

Clang.jl Alternatives

Similar projects and alternatives to Clang.jl

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Clang.jl alternative or higher similarity.

Clang.jl reviews and mentions

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.
  • Julia 1.10 Released
    15 projects | news.ycombinator.com | 27 Dec 2023
    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
    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...)

Stats

Basic Clang.jl repo stats
2
216
8.3
8 days ago

JuliaInterop/Clang.jl is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Clang.jl is Julia.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com