Performance critical ML: How viable is Rust as an alternative to C++

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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

    Rust for C++ programmers

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Awesome-Rust-MachineLearning

    This repository is a list of machine learning libraries written in Rust. It's a compilation of GitHub repositories, blogs, books, movies, discussions, papers, etc. 🦀

    There’s an awesome-git list for a bunch of ML rust stuff not sure how up to date it is as well https://github.com/vaaaaanquish/Awesome-Rust-MachineLearning … not mine

  • XNNPACK

    High-efficiency floating-point neural network inference operators for mobile, server, and Web

    Why are you writing your own inference code in C++ or Rust instead of using some kind of established framework like XNNPACK?

  • nomicon

    The Dark Arts of Advanced and Unsafe Rust Programming

    The ownership model & borrow checker makes rust a bit of an awkward language in which to write complex data structures like trees and graphs. It can be done - since you can always use raw pointers & unsafe code when you absolutely need to to treat rust like C. But the language fights you, and the community can get a bit moralistic about this sort of thing. The rust nomicon is a fantastic resource for learning the limits of the borrow checker, and where and how to use unsafe code correctly. You will need unsafe less than you think you will, but sometimes you will have no choice.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: If you are a Machine Learning engineer, what do you do at work?

    2 projects | news.ycombinator.com | 7 Jun 2024
  • FLaNK AI-April 22, 2024

    28 projects | dev.to | 22 Apr 2024
  • Xnnpack: High-efficiency floating-point neural network inference operators

    1 project | news.ycombinator.com | 25 Dec 2023
  • Can a NPU be used for vectors?

    1 project | /r/RISCV | 29 Aug 2023
  • Machine Learning Inference Server in Rust?

    4 projects | /r/rust | 21 Mar 2023