Tree Borrows - A new aliasing model for Rust

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

    Empowering everyone to build reliable and efficient software.

    That is indeed an overall goal (there are many known examples of code that is UB under Stacked Borrows but should be allowed, and these examples guided the development of Tree Borrows), but Stacked Borrows also had some cases of accidentally accepted code, such as some tests in stdlib recently patched.

  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. miri

    An interpreter for Rust's mid-level intermediate representation

    I'm not the author, but this describes an alternative to the current Stacked Borrows model, that has recently landed as an option to use in miri.

  4. rust-memchr

    Optimized string search routines for Rust.

    /u/nvanille Excellent work. Evaluating whether this all makes sense is very much above my pay-grade, but I'm all in favor of making it harder to shoot yourself in the foot with unsafe. This actually happened with the memchr crate, if you're interested in those details.

  5. slotmap

    Slotmap data structure for Rust

    It looks like .get_disjoint_mut() from slotmap failed under stacked borrows, but seems to pass under tree borrows

  6. Clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

    TIL. I've just filed a Clippy lint suggestion to warn about &slice[0] as *const T, given that slice.as_ptr() sounds more idiomatic (regardless of whether SB or TB is the "better" memory model): https://github.com/rust-lang/rust-clippy/issues/10560

  7. CodeRabbit

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

  • You can't do that because I hate you

    9 projects | news.ycombinator.com | 28 Dec 2023
  • Let else will finally be formatted by rustfmt soon

    5 projects | /r/rust | 3 Jul 2023
  • Foundation - Open Membership

    2 projects | /r/rust | 13 Apr 2023
  • Why is holding std sync locks across awaits not caught by the compiler?

    3 projects | /r/rust | 19 Mar 2023
  • How do I stop RustFmt from turning this…

    2 projects | /r/rust | 17 Dec 2022

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