The Most Annoying Bug I've Had To Track Down

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

  • The tricky part, which Rust does not do, is to ensure that this can always be done 100% of the time. This is basically the same problem as guaranteed RVO/NRVO or "(Named) Return Value Optimization" and "placement new" (see e.g. this old tracking issue). Because blocks support basically anything in their body, there are some cases where a temporary (or at least a move) is necessary. Further, carving out a precise specification of when the result can be created directly in place is both a) difficult and b) would be annoying for users to learn and pay attention to.

  • miri

    An interpreter for Rust's mid-level intermediate representation

  • A case that was recently caught by miri (now that it can run on doctests) and fixed in std docs was where AtomicPtr::new(p: *mut T) -> AtomicPtr was used like AtomicPtr::new(&mut 10).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • paru

    Feature packed AUR helper

  • I recently had this https://github.com/Morganamilo/paru/issues/392 bug reported to me.

  • alpm.rs

    Rust bindings for libalpm

  • Then I figured out what wrong: https://github.com/archlinux/alpm.rs/commit/5253d6

  • Clippy

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

  • I created an issue to deny such errors: https://github.com/rust-lang/rust-clippy/issues/7311

  • 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