tch-rs VS cbindgen

Compare tch-rs vs cbindgen and see what are their differences.

tch-rs

Rust bindings for the C++ api of PyTorch. (by LaurentMazare)

cbindgen

A project for generating C bindings from Rust code (by mozilla)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tch-rs cbindgen
37 19
3,800 2,178
- 1.3%
7.7 7.5
about 1 month ago 29 days ago
Rust Rust
Apache License 2.0 Mozilla Public License 2.0
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.

tch-rs

Posts with mentions or reviews of tch-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-05.

cbindgen

Posts with mentions or reviews of cbindgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-07.

What are some alternatives?

When comparing tch-rs and cbindgen you can also consider the following projects:

rust-bindgen - THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen.

cxx - Safe interop between Rust and C++

onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

rusty-cheddar - A Rust crate for automatically generating C header files from Rust source file.

candle - Minimalist ML framework for Rust

flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

wtpsplit - Code for Where's the Point? Self-Supervised Multilingual Punctuation-Agnostic Sentence Segmentation

veloren - An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World. This repository is a mirror. Please submit all PRs and issues on our GitLab page.

Module Linker - browse modules by clicking directly on "import" statements on GitHub

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

jni-rs - Rust bindings to the Java Native Interface — JNI

rustlearn - Machine learning crate for Rust