Clang.jl VS Torch.jl

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

Clang.jl

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

Torch.jl

Sensible extensions for exposing torch in Julia. (by FluxML)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Clang.jl Torch.jl
2 6
216 204
0.0% 1.5%
8.3 4.2
5 days ago 2 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.
  • 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...)

Torch.jl

Posts with mentions or reviews of Torch.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.

What are some alternatives?

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

CxxWrap.jl - Package to make C++ libraries available in Julia

Flux.jl - Relax! Flux is the ML library that doesn't make you tensor

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

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration

Lux.jl - Explicitly Parameterized Neural Networks in Julia

gluon-nlp - NLP made easy

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

SciPyDiffEq.jl - Wrappers for the SciPy differential equation solvers for the SciML Scientific Machine Learning organization

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

JuliaTorch - Using PyTorch in Julia Language