constduck: compile-time duck typing and reflection powered by const generics

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

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. constduck

    A crate for compile-time duck typing and reflection of structs

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. prop-rs

    duck typed objects for rust using const generics

    I did a similar thing a while back but got it working on stable by hashing the string into a u128 at compile time: https://github.com/camshaft/prop-rs/blob/main/src/lib.rs.

  4. frunk

    Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends.

    Hey, #[derive(LabelledGeneric)] from frunk does something like this, but without const generics, so it has odd representations for things like type-level strings (it's represented as a tuple of chars so (a, b, c) is the type-level representation of the string "abc")

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

  • Apply generic function to every tuple element

    1 project | /r/learnrust | 22 May 2023
  • Self Referencing structs with different generic types

    1 project | /r/learnrust | 24 Feb 2023
  • Is there a convenient way to convert a struct<T> (where all fields are of type T) into struct<U> where U: From<T>?

    2 projects | /r/rust | 16 Feb 2023
  • Can we make useful streaming APIs that disallow deadlocks?

    3 projects | /r/rust | 20 Jan 2023
  • Generic associated types encode higher-order functions on types

    3 projects | /r/rust | 4 Jan 2021

Did you know that Rust is
the 5th most popular programming language
based on number of references?