nowfound

AI · alternatives · 2026

24 alternatives to Cant – Library written in Rust that provides PyTorch-like functionality

Hey! This is something i have been working on. A tiny neural networking lib to learn how something like pytorch works, and to improve my own coding standards.

Cant is a neural networking library written in Rust that provides PyTorch-like functionality. It is designed for developers interested in understanding how machine learning frameworks work internally. The library… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1

    Common data structures and algorithms in Rust. Contribute to EbTech/rust-algorithms development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  2. 2

    Machine Learning library for Rust. Contribute to AtheMathmo/rusty-machine development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  3. 3PA

    I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…

    2025 · blog.fxn.ai · its alternatives →

  4. 4

    A practical book on Data Analysis with Rust Notebooks that teaches you the concepts and how they’re implemented in practice.

    2020 · datacrayon.com · its alternatives →

  5. 5

    Actor runtime and distributed systems framework for Rust - LeonHartley/Coerce-rs

    2019 · github.com · its alternatives →

  6. 6

    Purely functional artificial neural network library implemented in Haskell. - jbarrow/LambdaNet

    2014 · github.com · its alternatives →

  7. 7

    Alternative to magic.h and infer. Zero dependencies. Fully extensible. Works in no_std, async, and embedded contexts.

    2025 · crates.io · its alternatives →

  8. 8

    This is a hobby project of mine that I started a few years ago to learn about programming language implementation. It was created 95% without AI, although a few recent commits include code from Gemini CLI. I started out following Crafting Interpreters, but gradually branched off that until I had almost nothing left in common. Tech stack: Rust, Cranelift (JIT compilation), LALRPOP (parser). Original title: "A small programming language where everything is a value" (edited based on comments)

    Jan 2026 · github.com · its alternatives →

  9. 9

    A tiny version of GPT fully implemented in Python with zero dependencies - isaacperez/tinygpt

    2024 · github.com · its alternatives →

  10. 10

    Supporting Rapid Prototyping with a PyTorch Toolkit

    2018 · github.com · its alternatives →

  11. 11

    Netty-rs is a networking library written in Rust that is meant to help create stateful and p2p application level protocols.

    2021 · gitlab.com · its alternatives →

  12. 12

    Pure Rust implementation of a minimal Generative Pretrained Transformer - keyvank/femtoGPT

    2023 · github.com · its alternatives →

  13. 13JE
  14. 14

    Perform data science on data that remains in someone else's server - OpenMined/PySyft

    2018 · github.com · its alternatives →

  15. 15SA

    Hi everyone, I've made an open-source library for fast spatial search in Rust. It's called Spart, and it currently provides the following features: - Five tree implementations: Quadtree, Octree, Kd-tree, R-tree, and R*-tree - Python bindings (`pyspart` on PyPI) - Fast k-nearest neighbor (kNN) and radius search - Bulk data loading for efficient tree construction Project's GitHub repo: https://github.com/habedi/spart

    2025 · its alternatives →

  16. 16

    A statically-typed, compiled programming language designed as a first-class replacement for Python + PyTorch in AI/ML workloads. - bwiemz/NSL

    May 2026 · github.com · its alternatives →

  17. 17

    A minimalist deep learning library written from scratch in Python - sradc/SmallPebble

    2021 · github.com · its alternatives →

  18. 18
  19. 19

    High-level RealSense library in Rust

    2021 · gitlab.com · its alternatives →

  20. 20

    rustls-based modern TLS for Python. Contribute to djc/pyrtls development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  21. 21

    crates.io serves as a central registry for sharing crates, which are packages or libraries written in Rust that you can use to enhance your projects

    Jul 2026 · crates.io · its alternatives →

  22. 22
    BlockDL▲12

    Hi everyone. Designing neural network architectures is inherently a visual process. Every time I train a new model, I find myself sketching it out on paper before translating it into code (and still running into shape mismatches no matter how many networks I've built). So I built BlockDL: a free and open-source tool to design neural networks visually in your browser. It updates live Python/Keras code as you build, and automatically checks for shape and connectivity errors in real time. It supports: - Most common layer types (Conv2D, Dense, LSTM, etc.) - Multiple input/output…

    2025 · blockdl.com · its alternatives →

  23. 23

    Stack Error is a pragmatic error handling library for Rust that provides helpful messages for debugging, and structured data for runtime error handling. Features: * Informative error messages: stack error messages and optionally add file/line context to your messages. This helps convey not just what went wrong, but also how it went wrong, making debugging faster. * Programmatic error handling: include optional error codes and URIs for robust runtime handling. * Library-Friendly: define custom error types easily while staying compatible with Rust’s error ecosystem. If designing good…

    2025 · github.com · its alternatives →

  24. 24

    I built a neural network library in golang on an autograd engine. Faster and easy to use like PyTorch. Please give it a try and share your feedback. if you like it, a github star will be appreciated.

    2024 · github.com · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →