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. …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...
  5. …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...
  6. …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...
  7. 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…
  8. You got my upvote and this one decade old issue: https://github.com/rust-lang/rust/issues/25860
  9. "I" stands for "issue" https://github.com/rust-lang/rust/labels?q=unsound
  10. …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,…
  11. …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
  12. …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.…
  13. …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…
  14. …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"
  15. 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.
  16. …in Rust for a time, where `loop {}` is a valid way to implement a diverging function: https://github.com/rust-lang/rust/issues/28728
  17. …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…
  18. …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
  19. …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
  20. 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
  21. …( 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…
  22. …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
  23. …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
  24. …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…
  25. 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
  26. > 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…
  27. …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
  28. 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
  29. …by default, but consider such a change unlikely unless "something materially changes" [0]. [0]: https://github.com/rust-lang/rust/issues/47739#issuecomment-...
  30. …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
  31. …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
  32. …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…
  33. …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]
  34. …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
  35. 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).
  36. …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...
  37. …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.
  38. 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
  39. …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
  40. …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]
  41. …problem stems from rust's early decision to requiring concrete types at interface boundaries. https://github.com/rust-lang/rust/issues/63063
    comment by josephg · 2026-05-24 · in .NET (OK, C#) finally gets union types
  42. …about a codebase. Since it does it anyway I added dossier pages to it as well https://searchcode.com/repo/github.com/rust-lang/rust Which is useful for humans, and shows what the system is creating. Best part is that I get to use the tools…
  43. …a mess across platforms and ABIs, but that can be solved by treating all NaNs as identical.) [0] https://github.com/rust-lang/rust/issues/114479
    comment by LegionMammal978 · 2026-05-08 · in Floats Don't Agree with Themselves
  44. …issue in TFA's introduction. [0] https://rust-lang.github.io/rfcs/3514-float-semantics.html [1] https://github.com/rust-lang/rust/issues/114479
    comment by LegionMammal978 · 2026-05-08 · in Floats Don't Agree with Themselves
  45. It depends: https://github.com/rust-lang/rust/pull/155403#issuecomment-4...
    comment by slanterns · 2026-05-05 · in Zig → Rust porting guide
  46. GitHub have some quite nice feeds If you want all the commits from a repo you can do something like: https://github.com/rust-lang/rust/commits/main/.atom And if you now only is interested in the num module you can do:…
    comment by erk__ · 2026-05-04 · in Introduction to Atom
  47. …Someone above mentioned that such an API is being considered for inclusion in libstd in this issue: https://github.com/rust-lang/rust/issues/120426
    comment by kibwen · 2026-04-29 · in Bugs Rust won't catch
  48. …://github.com/tialaramex/nook/blob/main/src/balanced.rs 2: https://github.com/rick-de-water/nonany 3: https://github.com/rust-lang/rust/issues/135996
    comment by wongarsu · 2026-04-27 · in Box to save memory in Rust
  49. …one part of async Rust that I think will need somewhat painful changes is Stream/AsyncIterator ( https://github.com/rust-lang/rust/issues/79024#issuecomment-... ), but those aren't yet stable, so hopefully some transition pain is tolerable…
    comment by oconnor663 · 2026-04-25 · in What async promised and what it delivered
  50. …that fixes that mistake As part of the runtime/stdlib or as a third-party library? [0]: https://github.com/rust-lang/rust/issues/17325 [1]: https://without.boats/blog/why-async-rust/
    comment by aw1621107 · 2026-04-25 · in What async promised and what it delivered