A critique of Rust's range types

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

    Provides truly zero-cost alternatives to Iterator::step_by for both incrementing and decrementing any type that satisfies RangeBounds<T: Copy + Default + Step>.

  • TLDR it now completely matches StepBy's behaviour and still is not any slower than it was previously.

  • rust

    Empowering everyone to build reliable and efficient software.

  • It's not a matter of operator precedence, but a case of precedence inversion: Long ago I fixed rustc so that all 4 versions of .. (.., a.., ..b and a..b) have the same operator precedence, and refuse to accept code involving precedence inversions. Thus, .. .method() alone is invalid syntax, because .. has lower precedence than . and thus .. cannot appear as operand on the left-hand-side of .. However, only .. has parser logic to prevent priority inversions, lambdas don't. So the .method() call instead takes the whole lambda as its left-hand-side :( https://github.com/rust-lang/rust/issues/28785#issuecomment-154826874

  • 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

  • To know I suggest reading through the RFC thread. I didn't see the answer in the RFC itself or the first couple pages, so I gave up, but it might be there if you dig a bit more.

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

  • Why stdout is faster than stderr?

    2 projects | news.ycombinator.com | 10 Jan 2024
  • Progress toward a GCC-based Rust compiler

    8 projects | news.ycombinator.com | 18 Dec 2023
  • INSANE bug in my code from compiler optimization [Rust] [video]

    2 projects | news.ycombinator.com | 16 Dec 2023
  • Understanding thread-safety vs race conditions

    4 projects | /r/rust | 10 Dec 2023
  • What's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?

    6 projects | /r/rust | 9 Dec 2023