Alternative for Vec for variable size arrays in no_std environment?

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

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

    RFCs for changes to Rust

  • Implementing the C version in Rust is discuessed here: https://github.com/rust-lang/rfcs/pull/1909 . Note that this approach has some issues as well, which is why it hasn't managed to get stabilised.

  • embedded-alloc

    A heap allocator for embedded systems

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • staticvec

    Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.

  • If you're on nightly, I have a crate that I'd say would seem to be exactly what you're looking for.

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