On inheritance and why it's good Rust doesn't have it

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

    RFCs for changes to Rust

  • There's also an open issue: https://github.com/rust-lang/rfcs/issues/349

  • protoc-gen-star

    protoc plugin library for efficient proto-based code generation (by lyft)

  • The project, protoc-gen-star, uses embedding to provide base implementations of interfaces.

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

    Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse. (by reflex-frp)

  • There's other people around here who would like to know your opinion about these GUI frameworks! I haven't written a GUI in Rust personally, but my favorite GUI framework is not at all OOP: https://reflex-frp.org/

  • rust-delegate

    Rust method delegation with less boilerplate

  • Ah, that answers the first question, as to how inheritance is superior to manual delegation. By the way, this crate seems to do a good job of supporting delegation: https://crates.io/crates/delegate. I have nothing against this in principle.

  • areweguiyet

    A website built for the Rust community

  • You still haven't said anything about why those existing frameworks don't count. Again, they are used in production and do exactly what a gui framework is supposed to do. Sure they may not have all the features of the frameworks that have existed a decade before rust even existed but the issue is time not rust itself. They very clearly can be used to build complex UI without inheritance. Since you mentioned it, you should probably actually look at it https://areweguiyet.com/ the page clearly says that GUI frameworks do exist 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

  • Generics in Rust: murky waters of implementing foreign traits on foreign types

    2 projects | dev.to | 3 Jun 2024
  • 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
  • Coroutines in C

    4 projects | news.ycombinator.com | 25 Feb 2024