Generalizing with GAT: what's going to happen to the current, less general traits?

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

    Empowering everyone to build reliable and efficient software.

  • This is a tough question. AFAIK, there aren't any plans for GATs in std, other than one feature request issue filed for generators (https://github.com/rust-lang/rust/issues/69268). I think it'd be super neat to be able to add lifetime parameters to some existing traits in std, but I'm not sure this is able to be done in a backwards compatible way (though, I'd be super interested to hear thoughts here). As for new traits, like I said, I haven't heard anything.

  • go

    The Go programming language

  • Somewhat anecdotally, I think it's worth taking the same approach as Go is with the introduction of generics and avoid making changes to std until we've seen how the broader Rust ecosystem ends up using the feature. That linked issue has some great discussion from Rob Pike on that point, but it basically boils down to the fact that we still don't know what the best practices and design patterns that work around GAT will turn out to be. So we shouldn't lock ourselves into potentially poor decisions early on in std that we'll have to live with forever.

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

  • Banging Errors in Go

    4 projects | news.ycombinator.com | 19 Oct 2023
  • No telemetry in the Rust compiler: metrics without betraying user privacy

    2 projects | news.ycombinator.com | 1 Aug 2023
  • proposal: cmd/go: add .ʕ◔ϖ◔ʔ as an alternate spelling of .go in file names

    2 projects | /r/rustjerk | 4 May 2023
  • Rust is good, but I feel like its almost never productive to work in rust...

    3 projects | /r/programmingcirclejerk | 3 Aug 2021
  • Rust's Async Working Group wants you to tell them what you hate about it and how things should be

    3 projects | /r/programming | 19 Mar 2021