nowfound

AI · July 27, 2025

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 – Library written in Rust that provides PyTorch-like functionality launched on July 27, 2025 with 50 votes, #575 of 9,223 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 6% of July 2025

In plain words

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 serves as both a learning tool for exploring neural network implementation and a project for improving coding practices in Rust.

written from the facts on this page · September 2026

From the sources

Clean, simple, hackable ml framework in rust. Supports metal and cuda - TuckerBMorgan/can-t

██████╗ █████╗ ███╗ ██╗████████╗ ██╔════╝██╔══██╗████╗ ██║╚══██╔══╝ ██║ ███████║██╔██╗ ██║ ██║ ██║ ██╔══██║██║╚██╗██║ ██║ ╚██████╗██║ ██║██║ ╚████║ ██║ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ Cant A machine learning library written in Rust that provides PyTorch-like functionality with automatic differentiation and tensor operations. Designed as a learning project to understand ML concepts from the ground up. # Run tests cargo test # Build the project cargo build # Format code (required before commits) rustfmt src/ ** / * .rs crates/ ** / * .rs Code Coverage # Generate coverage report cargo llvm-cov --html open target/llvm-cov/html/index.html Architecture Core Components ( src/central/ ) tensor.rs -…from github.com

Does a similar job

all alternatives →
  • Algorithm Cookbook in Rust2017 · github.com · ▲320

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

  • Machine learning (entirely) in Rust2016 · github.com · ▲20

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

  • PA
    Python at the Speed of Rust2025 · blog.fxn.ai · ▲68

    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…

  • I Wrote a Book on Data Analysis with Rust Notebooks2020 · datacrayon.com · ▲105

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

  • LambdaNet – A functional neural network library written in Haskell2014 · github.com · ▲56

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

  • Rust framework for advanced file recognition and identification2025 · crates.io · ▲46

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

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 18d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 18d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 19d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 21d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

  • Beam.win▲377

    Run AI agents on one Mac and use its windows on another

    AI · 4d ago · beam.win

Source: Show HN post ↗

Launched alongside, July 2025

the whole month →
  • Clueso▲1,300

    Create stunning product videos in minutes with AI

    AI · 2025 · clueso.io

  • Hey HN! Introducing Trickle Magic Canvas: the world’s first Agentic Canvas, where you can visually co-create apps and websites with AI, from idea to production. Why is a canvas better? Most AI tools today rely on linear chats or text prompts. We believe that limits creativity and clarity. Canvas changes the game. 1. Every version & page at a glance. Each page and sub-page lives on a timeline. You can quickly browse, edit, and preview progress like a living, visual document — no more digging through chat logs or scattered states. 2. The canvas is the context. Unlike linear chats, you can…

    AI · 2025 · trickle.so

  • TB
  • Today marks ten years, 3653 consecutive days, of running at least one mile every day under the USRSA rules [1]. To celebrate, I built an interactive dashboard that turns a decade of GPX files into charts you can explore. Running has truly changed my life: I've made lifelong friends, explored beautiful places, and more importantly invested into my own health and fitness, which I'm starting to see the positive benefits as I get older. The stack is pretty simple: a NextJS app, with a Postgres database to keep all my running data, and all the stats are pre-computed and cached in Redis, so I…

    Dev tools · 2025 · nodaysoff.run

  • Made this website as an exercise in vibe-coding and GCP. It was posted about a few times around the internet, on sites like Morning Brew (https://www.morningbrew.com/issues/business-buzzkill), MetaFilter (https://www.metafilter.com/209703/Draw-A-Fish), boingboing.net, etc. I think it's cute! I built a basic CNN trained against penises and swastikas, and then anything that doesn't hit the 63% confidence score gets sent to a mod queue, a vibe-coded fish-tinder…

    AI · 2025 · drawafish.com

  • Hi HN - I made a site that takes a UK postcode, grabs the local MP's information and generates an AI mockup of what their ID might look like. It's a small, silly protest at the stupidity of the Online Safety Act that just came into force. edit - My open AI credits got hugged to death, please use a known postcode (like one from Kier Starmer's constituency, WC2B6NH) in the meantime.

    AI · 2025 · use-their-id.com