Is data science/engineering in Rust practical, does it provide any benefit over Python, and what are the best crates?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • moonfire-tflite

    Rust wrapper around the TensorFlow Lite C API and edgetpu C API

    A great thing is it's not so complex to use tensorflow/pytorch models in Rust, using FFI (Here is a simple example on GitHub that uses tflite).

  • m2cgen

    Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies

    Probably, as many frameworks come with a Rust support (or there are wrappers). Some models, like decision tree, can also be automatically translated to plain Rust (in my company we use m2cgen to translate xgboost models to plain rust code).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • serde

    Serialization framework for Rust

    serde has support for pickle

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