Fast, simple, hard real time allocator for Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    Lock-free multithreaded memory allocation

  • > For that it would be necessary to make a reverse lookup from pointer address to allocation handle, which would require something like a red-black tree covering the address space, which would no longer be 0(1). If anyone has ideas on this front, I would be happy to hear them.

    A radix tree can solve this: https://en.wikipedia.org/wiki/Radix_tree

    I used one way, way back to do exactly the same thing: upon a free, I needed to look up all of the metadata for an address. For a 32-bit address space, you can just allocate a giant array up front, and use the address as an index. For a 64-bit address space, it's obviously way too big to statically allocate it up front. A radix tree neatly solves the problem. An arbitrarily sized radix tree is not constant lookup, but for reasons I honestly cannot remember, for a 64-bit address space, it's guaranteed to only be 3 levels deep.

    See my implementation, which (I believe) I borrowed from tcmalloc: https://github.com/scotts/streamflow/blob/master/streamflow....

  • offset-allocator

    A port of Sebastian Aaltonen's `OffsetAllocator` to 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.

    InfluxDB logo
  • storage

    An exploration of Storages (by matthieu-m)

  • OTOH, I think this would be a good fit for the "Store" proposal [1] which uses handles rather than addresses.

    [1] https://github.com/matthieu-m/storage/blob/main/etc/rfc.md

  • glare-core

    C++ code used in various Glare Tech Ltd products

  • OffsetAllocator

    Fast O(1) offset allocator with minimal fragmentation

  • https://github.com/sebbbi/OffsetAllocator

    which has links to a pertinent paper at the end of that page.

  • xalloc-rs

    Dynamic suballocators for external memory (e.g., Vulkan device memory). Umaintained - consider migrating to https://crates.io/crates/offset-allocator

  • rlsf

    Constant-time dynamic memory allocator in Rust

  • SaaSHub

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

    SaaSHub logo
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

  • Diligent Engine 2.5.5: High-Level Rendering, SSR, SSAO, DoF

    1 project | news.ycombinator.com | 16 May 2024
  • Zsh + Oh My Zsh

    4 projects | dev.to | 12 May 2024
  • Dstp: Run common networking tests against any site

    1 project | news.ycombinator.com | 11 May 2024
  • Show HN: Roc VAD – macOS virtual device for audio streaming

    2 projects | news.ycombinator.com | 10 May 2024
  • (MQTT Series) Part 3 - Publishing Subscribing and Topics

    2 projects | dev.to | 10 May 2024