Announcing `compact_str` version 0.7! A small string optimization for Rust

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • compact_str

    A memory efficient string type that can store up to 24* bytes on the stack

  • Not that I know of! As part of compact_str v0.6 we tried to make the API of CompactString 1:1 with String, inevitably we missed a few (1, 2, 3) things but they were fixed in this latest release.

  • utils

    Utility crates used in RustCrypto

  • I didn't use any inline asm, instead I wrote the simplest if statement possible, which I confirmed on x86_64, x86, and aarch64 compiles down to use the platform's supported conditional move instructions. If this changes in the future and there's a need to write inline asm, you can do so in a portable way, e.g. the cmov crate.

  • 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
  • rust

    Empowering everyone to build reliable and efficient software.

  • Checkout Pattern types MVP, it will enable such use cases without enumerating every possible value.

  • perf-ninja-rs

    Rust port of dendibakh/perf-ninja - an online course where you can learn and master the skill of low-level performance analysis and tuning.

  • For benchmarking I follow the guide at grahamking/perf-ninja-rs. They detail how to disable hyper threading, pin execution to a single core, and other things, so you can create an environment for the most accurate and repeatable testing.

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

  • What is Box and how is it different from String in Rust?

    5 projects | news.ycombinator.com | 25 Jun 2022
  • vu128: Efficient variable-length integers

    2 projects | news.ycombinator.com | 23 May 2024
  • hyper (Rust) upgrade to v1: Body became Trait

    6 projects | dev.to | 21 May 2024
  • How does Rust go “from” here “into” there

    2 projects | dev.to | 19 May 2024
  • Generic constant expressions: a future bright side of nightly Rust

    2 projects | dev.to | 16 May 2024