Hacker GitHub

← All repos

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

Mentions per year 1,825 mentions · busiest year 2023 (167)
20082026
  1. FWIW this future lint `non_exhaustive_omitted_patterns` will help a bit: https://github.com/rust-lang/rust/issues/89554
    comment by Thom2000 · 2026-10-22 · in Rust Style Guide
  2. …ways also significantly more complex than C++, believe it or not. rustc is also awfully shoddy. https://github.com/rust-lang/rust/issues/164348#issuecomment...
  3. …quality project, with lots of eyes on it and lots of effort put into it. And then this shows up. https://github.com/rust-lang/rust/issues/164348#issuecomment... A bug as careless as can be. Relying wantonly on hashing for equality…
  4. ▲ 2
    Rustc silently substitutes file contents when path hashes collide
    story by acossta · 2026-10-15 · 0 comments
  5. …deliberately write code that doesn't compile. You don't need 'static to trigger the bug [0] [0]: https://github.com/rust-lang/rust/issues/164250#issuecomment...
  6. …or something. Here's the current list of similar (unsoundness-causing) open compiler bugs in Rust: https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la...
  7. …was missing. My guess was just that maybe someone didn't think it was necessary for soundness. [0]: https://github.com/rust-lang/rust/issues/164250#issuecomment...
  8. From TFA: > How on earth was this not found before this??? https://github.com/rust-lang/rust/issues/164250#issuecomment... > Assigning P-high https://github.com/rust-lang/rust/issues/164250#issuecomment... In general I agree with fg137's…
  9. You got my upvote and this one decade old issue: https://github.com/rust-lang/rust/issues/25860
  10. "I" stands for "issue" https://github.com/rust-lang/rust/labels?q=unsound
  11. ▲ 751
    11 year old unsoundness bugs found in Rust borrow checker
    story by formerly_proven · 2026-10-13 · 446 comments
  12. …some point, will the superintelligence fix all the bugs autonomously? When is that going to happen? https://github.com/rust-lang/rust/issues https://github.com/python/cpython/issues What about new features? In every thread about Rust,…
  13. …so it might not hurt to tag onto the bug report the author will (hopefully) eventually submit. [0]: https://github.com/rust-lang/rust/pull/117727 [1]: https://github.com/rust-lang/rust/pull/118031 [2]:…
    comment by aw1621107 · 2026-10-07 · in Rust's derive often implies inline
  14. …dependency management in Rust [1] and Python [2] sometimes uses references that work similar to https://github.com/rust-lang/rust/commit/ec999ed [3] to suggest one particular version of the project, authored by the specified maintainer.…
  15. …front, but I haven't kept up to date on the current status of that. There was a PR showing promise https://github.com/rust-lang/rust/pull/129102 (later landed as https://github.com/rust-lang/rust/pull/145354 , 10% on a specific serde-heavy…
  16. ▲ 2
    Rust 1.99.0
    story by thesuperbigfrog · 2026-10-01 · 0 comments
  17. …trait: https://doc.rust-lang.org/std/ops/trait.Index.html#tymethod.... Vec implements Index here: https://github.com/rust-lang/rust/blob/d080e7dff1b0fc5454154... Vec's Index defers to slice's: https://github.com/rust-lang/rust/blob/d080e7df…
    comment by OptionOfT · 2026-09-28 · in Rusty thoughts on "Parse, don't validate"
  18. ▲ 4
    Rust Allocator API Stabilized
    story by Georgelemental · 2026-09-23 · 0 comments
  19. This actually fixes a case that became a problem for Rust implementations: https://github.com/rust-lang/rust/issues/28728 So yes, it is good for Rust.
  20. …in Rust for a time, where `loop {}` is a valid way to implement a diverging function: https://github.com/rust-lang/rust/issues/28728
  21. …uses) needs better support for musttail (e.g. some architectures just don't support it [2]). [1] https://github.com/rust-lang/rust/issues/112788 [2] https://github.com/rust-lang/rust/issues/153827 By-default guaranteed tail calls really…
  22. …what that something ought to be in order to produce a valid program. Currently it expands to this: https://github.com/rust-lang/rust/blob/98fd715edd3a0a5aa8f20... , which is a function with a return type of `!`, which has indicated a…
    comment by kibwen · 2026-09-13 · in Stabilizing Rust's Never Type
  23. ▲ 1
    Bastion of the Turbofish
    story by birdculture · 2026-09-13 · 0 comments
  24. …and enums. I fixed some of that for the standard containers by writing some natvis files for std: https://github.com/rust-lang/rust/issues?q=state%3Aclosed%20... . Admittedly, they broke a few times. They also weren't automatically…
    comment by MaulingMonkey · 2026-09-10 · in Rust is tier-1 language at Microsoft
  25. ▲ 1
    Stabilize `Never` Type
    story by debo_ · 2026-09-08 · 0 comments
  26. I'm not super certain you're interested in answers, but assuming good faith: > https://github.com/rust-lang/rust/blob/main/library/core/src ... How large a percentage of the logic code there is inside of an unsafe block? The claim isn't…
    comment by dwattttt · 2026-08-31 · in Zig: Pointer Stability for ArrayLists
  27. …( https://hackmd.io/nNHdKkp1TTK7jat0I-ABqA ) and the implementation has been updated to match ( https://github.com/rust-lang/rust/pull/157428 ). The stabilization PR is just waiting on final approval by the relevant team members, with no…
  28. ▲ 3
    Rust: The never type has been merged into nightly
    story by weinzierl · 2026-08-25 · 0 comments
  29. …ps://news.ycombinator.com/item?id=48743462 - It's not me, it's the compiler (2026-07-01, 26 comments) https://github.com/rust-lang/rust/issues/158206
    comment by omoikane · 2026-08-23 · in Rust 1.98 got a P-critical miscompilation
  30. ▲ 49
    Rust 1.98 got a P-critical miscompilation
    story by gdcbe · 2026-08-23 · 3 comments
  31. …topic of RNG, the functionality of the getrandom crate is getting ready to be exposed from libstd: https://github.com/rust-lang/rust/pull/157168
  32. …it looks interesting, but I am not sure about the details of it. This is the tracking GitHub issue https://github.com/rust-lang/rust/issues/139076 . There is also the challenge of backwards compatibility, which makes the feature harder to…
  33. It is a part of the rust codebase: https://rustc-dev-guide.rust-lang.org/offload/internals.html https://github.com/rust-lang/rust/issues/131513
  34. > Rust has stated they do not intend to fix cve-rs. Huh? That joke repo seemed to ride on https://github.com/rust-lang/rust/issues/25860 which is certainly considered a bug. Here's an actually useful list of known soundness issues, all of…
  35. …will also gives us a syntax that looks like programming not math (I'm looking at you, Creusot): https://github.com/rust-lang/rust/issues/128044
  36. https://github.com/rust-lang/rust/issues/159298 is the tracking issue for the unstable feature
    comment by LoganDark · 2026-08-12 · in Rust SIMD on the GPU
  37. …by default, but consider such a change unlikely unless "something materially changes" [0]. [0]: https://github.com/rust-lang/rust/issues/47739#issuecomment-...
  38. …to everything ever. [0]: https://doc.rust-lang.org/std/primitive.slice.html#method.as... [1]: https://github.com/rust-lang/rust/issues/130366 [2]: https://github.com/rust-lang/rust/pull/151603 [3]: https://github.com/rust-lang/rust/pull/152…
    comment by LoganDark · 2026-08-11 · in Rust SIMD on the GPU
  39. …leads to a bad experience, and the latter is insufficient. A recent example of looking at this is https://github.com/rust-lang/rust/pull/159689 , where `Arc::new(RwLock::new(HashMap<i32, i64>::default()));` currently produces error[E0423]:…
    comment by estebank · 2026-08-07 · in Parsers don't have to be complicated
  40. …Rust could at least adopt Haskell GHC's model of incrementality, which is currently file-level: https://github.com/rust-lang/rust/issues/2369#issuecomment-1... This would already help a lot. I recommend anybody who's interested in…
  41. …I don't believe I've constructed cvs-rs's hole by accident. cve-rs's code links to https://github.com/rust-lang/rust/issues/25860 , which is admittedly still open after a decade. Progress appears to still be ongoing though! Related: •…
    comment by MaulingMonkey · 2026-07-25 · in Fil-C: Garbage In, Memory Safety Out [video]
  42. …mentioning that Rust's long-awaited `Allocator` trait is perilously close to stabilizing; watch for https://github.com/rust-lang/rust/pull/157428 to be merged, then the stabilization PR to progress here:…
    comment by kibwen · 2026-07-16 · in How Our Rust-to-Zig Rewrite Is Going
  43. For instance, rust doesn't support PAC yet https://github.com/rust-lang/rust/issues/73628 . Support for PAC wasn't even in upstream LLVM for a while (it now is, but lld still doesn't support it).
  44. …Also, Zig is still in beta. [1] https://codeberg.org/ziglang/zig/issues?state=open&type=all&... [2] https://github.com/rust-lang/rust/issues?q=is%3Aissue%20stat...
  45. …unstable in Rust right now is a standardized interface for generically working with allocators (see https://github.com/rust-lang/rust/pull/157428 for the most recent progress), including support for the containers provided by the stdlib.
  46. I'm not sure about the details of Rust, but this is a good approximation https://github.com/rust-lang/rust/graphs/contributors Why do you want to know?
    comment by gus_massa · 2026-07-11 · in Segfault on Rust 1.97.0
  47. ▲ 3
    Segfault on Rust 1.97.0
    story by solecist · 2026-07-10 · 3 comments
  48. ▲ 2
    Add basic "comptime" fn implementation (Rust)
    story by dabinat · 2026-06-09 · 0 comments
  49. …busy loops instead of waiting on the main thread. See the comment in the Rust source here: https://github.com/rust-lang/rust/blob/77a4fb62f70c6ea05e182... This means that if care is taken to avoid any other code that makes the main thread…
    comment by kettlecorn · 2026-05-27 · in Theseus: Translating Win32 to WASM
  50. …would have to check for panic strategy to maintain the correct behaviour after optimisation. [0] https://github.com/rust-lang/rust/issues/92327
    comment by gobdovan · 2026-05-26 · in Performance of Rust Language [pdf]