Rust Memoization

Open-source Rust projects categorized as Memoization

Top 4 Rust Memoization Projects

  • cached

    Rust cache structures and easy function memoization

  • comemo

    Incremental computation through constrained memoization.

  • Project mention: Durable Incrementality | news.ycombinator.com | 2023-07-25

    I wonder how this compares to comemo [1] [2], they're both memoization frameworks with "tricks" to limit invalidation.

    The trick in comemo's blog post is to make the dependencies fine-grained, by tracking and only comparing what parts of them are actually used; while the trick here is to have functions depend on other outputs instead of the root input, so changes don't propagate all the way.

    [1] https://laurmaedje.github.io/posts/comemo/

    [2] https://github.com/typst/comemo

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

    WorkOS logo
  • bkt

    a subprocess caching utility, available as a command line binary and a Rust library.

  • michie

    A Rust attribute macro that adds memoization to a function (rhymes with Mickey)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Index

What are some of the best open-source Memoization projects in Rust? This list will help you:

Project Stars
1 cached 1,372
2 comemo 375
3 bkt 213
4 michie 18

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