rust-lang/rust
View on GitHub ↗ ★ 120,971 Rust
Empowering everyone to build reliable and efficient software.
1,825 mentions on Hacker News by 819 people: 158 stories, 1,667 comments · first 2012-01-20 · latest 2026-10-22
20082026
-
…far off in regards to breaking compatibility. And it caused some projects, like Nix, a lot of pain. https://github.com/rust-lang/rust/issues/127343 https://devclass.com/2024/08/19/rust-1-80-0-breaks-existing-...
comment by rustdebacletime · 2025-10-24 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
https://github.com/rust-lang/rust/issues/73632 needs to be addressed and then integrated into meson before systemd could consider adopting rust.
comment by DaanDeMeyer · 2025-10-16 · in Upcoming Rust language features for kernel development -
…reason, zed compilation on windows with msvc is extremely slow compared to the Linux counterpart. https://github.com/rust-lang/rust/issues/145864 was opened because of the the discrepancy
comment by eyeris · 2025-10-16 · in Zed is now available on Windows -
…not sure any of the Rust devs would agree? Have any of them made a claim along those lines? [0]: https://github.com/rust-lang/rust/issues/57893 [1]: https://github.com/Speykious/cve-rs
comment by aw1621107 · 2025-10-15 · in Why Is SQLite Coded In C -
For slices the access is handled inside of the compiler: https://github.com/rust-lang/rust/blob/235a4c083eb2a2bfe8779... I'm checking to see how array access is implemented, whether through deref to slice, or otherwise.
comment by OptionOfT · 2025-10-15 · in Why Is SQLite Coded In C -
…The current version of the Rust compiler definitely doesn't -- there's known issues like https://github.com/rust-lang/rust/issues/57893 -- but maybe there's some historical version from before the features that caused those problems were…
comment by csande17 · 2025-10-15 · in Why Is SQLite Coded In C -
…has grown in complexity over time to address real needs. Here's what it looked like at 1.0.0: https://github.com/rust-lang/rust/blob/1.0.0/src/libcollecti...
comment by steveklabnik · 2025-10-09 · in Under the hood: Vec<T> -
…more than the requested amount of memory, the excess is ignored for the purposes of Vec's capacity: https://github.com/rust-lang/rust/blob/4b57d8154a6a74d2514cd... Of course, this can change in the future; in particular, the entire…
comment by kbolino · 2025-10-09 · in Under the hood: Vec<T> -
…with something that ends up being unusable in many cases people actually want to use them on. [1] https://github.com/rust-lang/rust/issues/32838
comment by whytevuhuni · 2025-10-04 · in Arenas in Rust -
…conditions } [0]: https://github.com/Amanieu/rfcs/blob/more_atomic_types/text/... [1]: https://github.com/rust-lang/rust/blob/c58a5da7d48ff3887afe4...
comment by aw1621107 · 2025-09-25 · in Wild performance tricks -
…so common posix layers like cygwin [0]. Most C posix compliant stuff compiles in my experience. [0] https://github.com/rust-lang/rust/issues/137819
comment by riedel · 2025-09-20 · in Git: Introduce Rust and announce it will become mandatory in the build system -
…even uses an arrow to indicate “oh this was too long for me”: `feels like a regression as →` https://github.com/rust-lang/rust/pull/146121 [4]: 1ed3cd7030718935a5c5e5c8f6581f36d8be179f [5]: Closer to the Linux Kernel style than the Git…
comment by keybored · 2025-09-11 · in The origin story of merge queues -
…part is that 99.9% of safe Rust code is sound. [0] https://hal.science/hal-01633165v2/document [1] https://github.com/rust-lang/rust/issues/25860 [2] https://github.com/rust-lang/rust/issues/107975
comment by quamserena · 2025-09-07 · in C++26: Erroneous behaviour -
…look at compilers for languages with pattern matching (e.g. Rust), you still see... visitors! E.g.: https://github.com/rust-lang/rust/blob/64a99db105f45ea330473...
comment by cyberax · 2025-08-31 · in Cognitive load is what matters -
…had assumed that there are some kind of soundness issues that force that particular approach (e.g., https://github.com/rust-lang/rust/pull/110975 , "Any panics while the panic hook is executing will force an immediate abort. This is…
comment by aw1621107 · 2025-08-25 · in In-Memory Filesystems in Rust -
…fsync either). If you have a bare File then drop really just closes the file descriptor, that's it. https://github.com/rust-lang/rust/blob/ee361e8fca1c30e13e7a3...
comment by the8472 · 2025-08-25 · in In-Memory Filesystems in Rust -
To drive the point home: https://github.com/rust-lang/rust/pulls?q=is%3Apr+author%3Aj...
comment by estebank · 2025-08-21 · in The Core of Rust -
…trait system. You can see all the soundness issues, many of which are tagged T-types here ( https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... ). They really want to fix these, and they hope the new trait solver makes it…
comment by testdelacc1 · 2025-08-20 · in Rust in 2025: Targeting foundational software -
…that supports constexpr, like Rust's const fn [0], can execute arbitrary code at compile time. [0] https://github.com/rust-lang/rust/issues/57563
comment by shakna · 2025-08-19 · in How we exploited CodeRabbit: From simple PR to RCE and write access on 1M repos -
…as if the discussion and decisions from 2023 had never happened. The tracking issue for the RFC was https://github.com/rust-lang/rust/issues/113527 . You can see the last update was in 2023, at the point where it was time to start the…
comment by mjw1007 · 2025-08-16 · in Rust in 2025: Targeting foundational software -
…I suspect you have your eye on too is: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119472 aka https://github.com/rust-lang/rust/issues/107975 https://github.com/llvm/llvm-project/issues/45725 But it seems like it's just that everybody…
comment by tialaramex · 2025-08-12 · in Undefined Behavior in C and C++ (2024) -
…mutual recursion) Support got added to nightly quite recently, in fact - on 2025-07-31 [0]. [0]: https://github.com/rust-lang/rust/pull/144232
comment by aw1621107 · 2025-08-12 · in Why tail-recursive functions are loops -
…unsafe helps a lot, but it’s not a formal proof, especially across crates and compiler versions. 1. https://github.com/rust-lang/rust/issues/107975 2. https://github.com/rust-lang/rust/labels/I-unsound On the safety spectrum: C/C++ -> Zig…
comment by lossolo · 2025-08-09 · in Partially Matching Zig Enums -
…full functionality can be exposed with the unstable -Zunleash-the-miri-inside-of-you flag [0]. [0] https://github.com/rust-lang/rust/pull/56123
comment by LegionMammal978 · 2025-08-09 · in Why Cargo Check Is So Slow -
Link to actual GitHub PR since Reddit blocks some ASNs: https://github.com/rust-lang/rust/pull/144232 From documentation, and a test in the PR: When tail calling a function, instead of its stack frame being added to the stack, the stack…
comment by a2128 · 2025-08-07 · in Explicit tail calls are now available on Rust Nightly (become keyword) -
…stable where it defaulted to the system allocator until Rust 1.32 released in January 2019 [2] [1]: https://github.com/rust-lang/rust/pull/55238 [2]: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0/ At the time in 2018, however, I was…
comment by CupricTea · 2025-08-05 · in A deep dive into Rust and C memory interoperability -
Note that that language has changed: https://github.com/rust-lang/rust/commit/58645e06d9121ae3765...
comment by OptionOfT · 2025-08-04 · in Names are not type safety (2020) -
…because the Rust devs wanted to give the ecosystem time to migrate. More discussion at [2]. [0]: https://github.com/rust-lang/rust/pull/78802 [1]: https://github.com/rust-lang/rust/pull/78802#event-709670882... [2]:…
comment by aw1621107 · 2025-08-01 · in Carbon Language: An experimental successor to C++ -
…stable, but not always. > https://internals.rust-lang.org/t/type-inference-breakage-in ... > https://github.com/rust-lang/rust/issues/127343 > 300 comments on Github. > https://github.com/NixOS/nixpkgs/pull/332176 Might worth noting that…
comment by aw1621107 · 2025-08-01 · in Carbon Language: An experimental successor to C++ -
…supported due to correctness concerns, but due to historical accidents and backwards compatibility. https://github.com/rust-lang/rust/issues/41620#issuecomment-... https://github.com/rust-lang/rust/pull/84045#issuecomment-82...
comment by justcuriousab · 2025-08-01 · in Carbon Language: An experimental successor to C++ -
…somewhat stable, but not always. https://internals.rust-lang.org/t/type-inference-breakage-in... https://github.com/rust-lang/rust/issues/127343 300 comments on Github. https://github.com/NixOS/nixpkgs/pull/332176 Rust has editions, but…
comment by justcuriousab · 2025-08-01 · in Carbon Language: An experimental successor to C++ -
…attribute macros via declarative macro definitions are coming soon, which probably obviates this? https://github.com/rust-lang/rust/issues/143549
comment by dochtman · 2025-07-31 · in Advanced Rust macros with derive-deftly -
Here it is extracted for you: https://play.rust-lang.org/?version=stable&mode=release&edit... https://github.com/rust-lang/rust/issues/107975#issuecomment...
comment by tux3 · 2025-07-29 · in New Aarch64 Back End -
…like a segfault out of nowhere in safe Rust? The issue is still open after two years by the way: https://github.com/rust-lang/rust/issues/107975
comment by tw061023 · 2025-07-25 · in New Aarch64 Back End -
…its various soundness holes as bugs that need to be fixed. It's just that some of them, like https://github.com/rust-lang/rust/issues/25860 (which I assume you're referring to), need major refactors of certain parts of the compiler in…
comment by ameliaquining · 2025-07-24 · in There is no memory safety without thread safety -
…but that is opt-in, while it is always on for Rust. And there is newer UB as well in Rust stdlib https://github.com/rust-lang/rust/pull/139553
comment by hamcocar · 2025-07-10 · in Tree Borrows -
…the libraries you use do not have UB. If you have no unsafe, but your library does, you can get UB. https://github.com/rust-lang/rust/pull/139553 This is why it may be a good idea to run MIRI on your Rust code, even when it has no unsafe,…
comment by gronpi · 2025-07-10 · in Tree Borrows -
One example of MIRI not being guaranteed to handle all cases. https://github.com/rust-lang/rust/pull/139553#issuecomment-2... The above issue was part of diagnosing UB in Rust stdlib.
comment by gronpi · 2025-07-10 · in Tree Borrows -
…in Rust for mutable references. And the rules of Rust have tripped up even senior Rust developers. https://github.com/rust-lang/rust/commit/71f5cfb21f3fd2f1740... Without MIRI, a lot of Rust developers would be lost, as they do not even…
comment by gronpi · 2025-07-10 · in Tree Borrows -
https://github.com/rust-lang/rust/issues/143714
comment by josephg · 2025-07-10 · in # [derive(Clone)] Is Broken -
…about 5% performance improvement in terms of runtimes[0], though the data is obviously very old. https://github.com/rust-lang/rust/issues/54878#issuecomment-...
comment by ivanbakel · 2025-07-09 · in Tree Borrows -
…Borrows. [1] https://github.com/Voultapher/sort-research-rs/blob/main/wri... Miri column [2] https://github.com/rust-lang/rust/blob/6b3ae3f6e45a33c2d95fa...
comment by Voultapher · 2025-07-09 · in Tree Borrows -
Would you mind filing a ticket on GitHub.com/rust-lang/rust with that exact request? (I'm on the go and am not logged on GitHub on this device and wouldn't want this feedback to be lost). This should be relatively easy to add and I agree…
comment by estebank · 2025-07-09 · in # [derive(Clone)] Is Broken -
…use `unsafe`, not only is Rust's borrow checker not formally verified, there are soundness holes ( https://github.com/rust-lang/rust/issues?q=is%3Aopen%20is%3A... ). However, in theory it's possible to formally prove that a subset of Rust…
comment by armchairhacker · 2025-07-07 · in My first verified imperative program -
…indicative, the submitter posted an update about how it was fixed. This may be a better example. https://github.com/rust-lang/rust/issues/132064 >cargo check with 1.82: 6m 19s >cargo check with 1.81: 1m 22s It may be difficult to fix.…
comment by resurrectedcyb · 2025-07-07 · in Building the Rust Compiler with GCC -
…compile times of some practical Rust projects after they upgraded compiler version, for instance in https://github.com/rust-lang/rust/issues/75992 . It would be good if there was a formal description of at least one borrow checking…
comment by resurrectedcyb · 2025-07-07 · in Building the Rust Compiler with GCC -
…to compile, borrow checker or not. https://play.rust-lang.org/?version=stable&mode=release&edit... https://github.com/rust-lang/rust/issues/75992 Some people used async in ways that surfaced these problems. Upgraded rustc, then the project…
comment by resurrectedcyb · 2025-07-07 · in Building the Rust Compiler with GCC -
…evil_lincoln is doing, you have to understand very old Rust. Here's the commit that introduced it: https://github.com/rust-lang/rust/commit/664b0ad3fcead4fe4d2... fn evil_lincoln() { let evil <- log "lincoln"; } log was a keyword to print…
comment by steveklabnik · 2025-06-27 · in Weird Expressions in Rust -
…macro invocations so that they get executed only once if the item they annotate hasn't changed: https://github.com/rust-lang/rust/pull/129102 There are multiple caveats on providing this to users (we can't assume that macro invocations are…
comment by estebank · 2025-06-27 · in Why is the Rust compiler so slow?