Are default trait method implementations as reusable as inheritance?

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

    A catalogue of Rust design patterns, anti-patterns and idioms

  • I also considered this but I think that using Deref for polymorphism a bad practice. See this: https://github.com/rust-unofficial/patterns/blob/main/anti_patterns/deref.md. Though as the document says there are no good alternatives.

  • inheritance-rs

    Avoiding code reuse in Rust with OOP inheritance

  • and btw https://github.com/danielhenrymantilla/inheritance-rs

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

    RFCs for changes to Rust

  • There has been discussion about this https://github.com/rust-lang/rfcs/issues/349 "fields in traits" was one of the options. It still may happen someday.

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

  • Uninitialized Memory: Unsafe Rust is Too Hard

    5 projects | /r/rust | 30 Jan 2022
  • Hey Rustaceans! Got an easy question? Ask here (52/2020)!

    6 projects | /r/rust | 21 Dec 2020
  • Ask HN: What April Fools jokes have you noticed this year?

    1 project | news.ycombinator.com | 1 Apr 2024
  • Rust to add large language models to the standard library

    1 project | news.ycombinator.com | 1 Apr 2024
  • Why does Rust choose not to provide `for` comprehensions?

    1 project | news.ycombinator.com | 11 Mar 2024