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. …explained the main reason why the standard library could not just adopt parking_lot mutexes: From https://github.com/rust-lang/rust/issues/93740 > One of the problems with replacing std's lock implementations by parking_lot is that…
  2. …crates whose names differ only in the use of dashes vs underscores. > package namespaces See https://github.com/rust-lang/rust/issues/122349 > proof of ownership See https://github.com/rust-lang/rfcs/pull/3724 and…
  3. …to call it something else? You don't need transmute or leak. The issue is only 10 years old now https://github.com/rust-lang/rust/issues/25860
    comment by tick_tock_tick · 2025-11-13 · in Rust in Android: move fast and fix things
  4. …the best possible advertisement for ”we enable soundness and correctness for all your programs.” https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la...
    comment by ViewTrick1002 · 2025-11-13 · in Rust in Android: move fast and fix things
  5. …not true of Rust. It's not supposed to be, but Rust does have plenty of outstanding soundness bugs: https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la... Rust as intended is safe and sound unless you write u-n-s-a-f-e, but as…
    comment by quotemstr · 2025-11-11 · in Memory Safety for Skeptics
  6. …of a vector without needing that trick (and with compile-time checks for alignment compatibility): https://github.com/rust-lang/rust/pull/148416 But that example aside, I agree with your overall premise -- Zig and Rust share different…
    comment by NobodyNada · 2025-11-10 · in Zig and the design choices within
  7. …tracking support for features which were deprecated but had yet to be removed from the compiler: https://github.com/rust-lang/rust/issues/4707 , and that's just a single snapshot from one moment in Rust's prehistory.
    comment by kibwen · 2025-11-08 · in Why is Zig so cool?
  8. Scalable vectors as in RVV & SVE aren't available in rust corrently; see https://github.com/rust-lang/rust/issues/145052 (that said autovectorization should work, and fixed-width SIMD should map to RVV as best as possible, though of course…
    comment by dzaima · 2025-11-05 · in The state of SIMD in Rust in 2025
  9. Thanks, referred to your comment here: https://github.com/rust-lang/rust/issues/148546#issuecomment...
    comment by sunshowers · 2025-11-05 · in SocketAddrV6 is not roundtrip serializable
  10. …for core::simd), and you can't manually use "#[rustc_intrinsic]" & co in stable rust either. [1]: https://github.com/rust-lang/rust/blob/b01cc1cf01ed12adb2595... [2]: https://github.com/rust-lang/rust/blob/b01cc1cf01ed12adb2595...
    comment by dzaima · 2025-11-05 · in The state of SIMD in Rust in 2025
  11. …effect on Rust development. Today the activity in the Rust repo is as high as it's ever been ( https://github.com/rust-lang/rust/graphs/contributors ) and the governance of the project is more organized and healthy than it's ever been (…
    comment by kibwen · 2025-11-01 · in Futurelock: A subtle risk in async Rust
  12. Those pages are out of date, and AsyncDrop is in progress: https://github.com/rust-lang/rust/issues/126482 I think "practically rudderless" here is fairly misinformed and a little harmful/rude to all the folks doing tons of great work…
  13. Most of your post completely falls apart when considering https://github.com/rust-lang/rust/issues/127343
  14. …It makes a world of difference if it is a language change or not. As shown in dtolnay's comment https://github.com/rust-lang/rust/issues/127343#issuecomment... . If breakage is not due to a language change, and the program is fully…
  15. …consideration of the issue basically disqualifies it from being made "on a whim", in my view. [0]: https://github.com/rust-lang/rust/pull/99969 [1]: https://github.com/rust-lang/rust/issues/127343 [2]:…
  16. …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-...
  17. https://github.com/rust-lang/rust/issues/73632 needs to be addressed and then integrated into meson before systemd could consider adopting rust.
  18. …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
  19. …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
  20. 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
  21. …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
  22. …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>
  23. …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>
  24. …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
  25. …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
  26. …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
  27. …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
  28. …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
  29. …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
  30. …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
  31. …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
  32. 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
  33. …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
  34. …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
  35. …are doing this too, but for the unrelated reason of trying to support various async runtimes). [0]: https://github.com/rust-lang/rust/issues/32838
    comment by hardwaresofton · 2025-08-18 · in Why Nim?
  36. …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…
  37. …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)
  38. …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
  39. …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
  40. …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
  41. 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…
  42. ▲ 1
    Explicit tail call optimization in Rust on nightly merged
    story by akkad33 · 2025-08-06 · 0 comments
  43. …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…
  44. 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)
  45. …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]:…
  46. …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…
  47. …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++
  48. …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++
  49. …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
  50. 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