Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,043 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. It is a little more complex than that these days https://github.com/rust-lang/rust/blob/4e0d0d757e2f1b61ec809...
    comment by steveklabnik · 2022-11-23 · in Using Rust at a startup: A cautionary tale
  2. Bringing that feature to Rust was under discussion for a while but it was ultimately withdrawn: https://github.com/rust-lang/rust/issues/27779#issuecomment-...
    comment by conradev · 2022-11-17 · in Is Rust stack-efficient yet?
  3. …it's a completely normal part of writing Rust (and LLVM optimizations have finally been turned on: https://github.com/rust-lang/rust/issues/54878 ) Also see https://github.com/rust-lang/rust/pull/103070 and https://reviews.llvm.org/D136659…
    comment by howinteresting · 2022-11-14 · in Tell HN: Rust Is Complex
  4. ▲ 107
    Tell HN: Rust Is Complex
    story by slashdev · 2022-11-13 · 93 comments
  5. …crate. This causes spurious warnings to be emitted if you want to share code between tests. See https://github.com/rust-lang/rust/issues/46379 Modules and crates continues to be one of the most confusing aspects of Rust, for me at least.
    comment by ridiculous_fish · 2022-11-13 · in Carefully exploring Rust as a Python developer
  6. …improved to the point that they're now competitive or faster than parking_lot, at least on Linux: https://github.com/rust-lang/rust/pull/95035#issuecomment-10... Channels appear to be trickier, but it might be possible to upstream…
  7. ▲ 4
    About the last Rust release – By an Iranian Rustacean
    story by Georgelemental · 2022-11-05 · 2 comments
  8. Adding allocator support does add a bit more noise: https://github.com/rust-lang/rust/pull/103093/files#diff-8bd...
    comment by mastax · 2022-11-05 · in In defense of linked lists
  9. ▲ 6
    Rust 1.65.0
    story by georgehill · 2022-11-03 · 0 comments
  10. …considered. AFAICT this work is being done in the broader context of async methods, tracked here: https://github.com/rust-lang/rust/issues/91611
    comment by kibwen · 2022-11-03 · in Rust 1.65.0
  11. …the GAT stabilization PR that compiles a list of crates that use GATs or would like to use them: https://github.com/rust-lang/rust/pull/96709#issuecomment-11... Here's a collection of comments from the same PR from users arguing for…
    comment by kibwen · 2022-11-03 · in Rust 1.65.0
  12. Originally OCaml, and now Rust: https://github.com/rust-lang/rust
  13. …optimization, providing 10-20% improvements to compiler performance", per Rust's release notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md ).
    comment by itamarst · 2022-10-23 · in How Rust 1.64 became faster on Windows
  14. Tldr: PGO https://github.com/rust-lang/rust/pull/96978/
    comment by mastax · 2022-10-23 · in How Rust 1.64 became faster on Windows
  15. …in some cases it does not allow you to compile an absolutely valid and safe program like here https://github.com/rust-lang/rust/issues/47680 - unfortunately you don't have freedom of code design decisions! I see some possible problems with…
    comment by cyber1 · 2022-10-18 · in Why Rust?
  16. ▲ 21
    Tell HN: GitHub – “This comment has been minimized. Sign in to view”
    story by agluszak · 2022-10-15 · 25 comments
  17. …symbols to the FFI module[0], but untangling `usize` might not be possible at this point. [0] https://github.com/rust-lang/rust/issues/88345
    comment by jmillikin · 2022-09-23 · in The road to Zettalinux
  18. …they are working on getting support for it in external tools and writing up the documentation. https://github.com/rust-lang/rust/issues/60705 https://github.com/rust-lang/rfcs/pull/2603
  19. ▲ 1
    Tracking issue for Rust Symbol Mangling v0 (RFC 2603)
    story by pabs3 · 2022-09-23 · 0 comments
  20. …use it. https://wiki.debian.org/StaticLinking#Rust https://github.com/rust-lang/rfcs/pull/2603 https://github.com/rust-lang/rust/issues/60705
  21. …and most of the API is just simple convenience combinators with obvious implementations: https://github.com/rust-lang/rust/blob/master/library/core/s... If nothing else, this is a clear counterexample to the claim that "Option and Result…
    comment by Rusky · 2022-09-22 · in C++ by Example
  22. Yes, and the pointer management is all done using unsafe blocks: https://github.com/rust-lang/rust/blob/master/library/alloc/...
  23. > Even a doubly-linked list is impossible to get through the borrow checker. https://github.com/rust-lang/rust/blob/master/library/alloc/... It's part of standard lib. And you don't get more idiomatic than that.
  24. …ts.llvm.org/pipermail/llvm-dev/2018-November/1276... Which causes a good bit of awkwardness for Rust: https://github.com/rust-lang/rust/issues/73328 The solution is to not attempt to store payload-laden NaN as any kind of floating point…
    comment by MaulingMonkey · 2022-09-20 · in NaN Boxing (2020)
  25. …RFC and how their sole purpose is to not have to add HKTs. From the collapsed discussion in the OP. https://github.com/rust-lang/rust/pull/96709#issuecomment-11...
    comment by Gwypaas · 2022-09-13 · in Rust stabilizes generic associated types
  26. …and simpler library code (which is usually an improvement in reliability and maintainability). https://github.com/rust-lang/rust/pull/96709#issuecomment-11... Has an extensive list of libraries wanting to use GATs, with their…
    comment by masklinn · 2022-09-13 · in Rust stabilizes generic associated types
  27. ▲ 152
    Rust stabilizes generic associated types
    story by xavxav · 2022-09-13 · 52 comments
  28. …traits You're probably already aware, but for the bystanders, that seems to be close to happening: https://github.com/rust-lang/rust/issues/63063 > - Mutability variance: e.g. write `fn index<&a>(&a self, idx: Idx) -> &a T`, instead of…
    comment by proto_lambda · 2022-09-13 · in A personal list of Rust grievances
  29. …Both of such conclusions aren't true in practice. [0]: https://crates.io/crates/fake-static [1]: https://github.com/rust-lang/rust/issues/25860
    comment by kprotty · 2022-09-12 · in Zig VP of community comments on Rust
  30. …one of my first additions to the standard library also ran into this, but at a way smaller scale: https://github.com/rust-lang/rust/issues/41793 Back then we didn't have the PR yet that would make nightly functions not conflict with…
  31. …break the no-less-than 319 crates that directly or transitively depend on `Itertools::intersperse`: https://github.com/rust-lang/rust/pull/89638 Speaking as one of the maintainers of itertools: This whole situation feels kinda awful, and…
  32. https://github.com/rust-lang/rust/issues/88967 : they've delayed adding an `Iterator::intersperse()` method to the standard library, since it conflicts with the `Itertools::intersperse()` method from the popular `itertools` crate.
  33. …in the right direction. I'm really grateful to all the people who work on it. [1] I just ran into https://github.com/rust-lang/rust/issues/55795 , for example.
    comment by agalunar · 2022-09-11 · in Zig VP of community comments on Rust
  34. …implementation work has been done, and a stabilization report was even put forward back in July: https://github.com/rust-lang/rust/issues/54503#issuecomment-...
    comment by eddyb · 2022-09-07 · in Zig, the Small Language
  35. …link are used specifically to ensure correct handling of Rust multi-level breaks work syntax, like https://github.com/rust-lang/rust-analyzer/blob/master/crate... , https://github.com/rust-lang/rustfmt/blob/master/tests/sourc... ,…
    comment by eesmith · 2022-09-04 · in Python multi-level break and continue
  36. Forgot that HN strips the line number. Actual link: https://github.com/rust-lang/rust/blob/d0ea1d767925d53b2230e...
    comment by Grimburger · 2022-09-04 · in Problematic Constants in Rust
  37. ▲ 3
    Problematic Constants in Rust
    story by Grimburger · 2022-09-04 · 2 comments
  38. Rust has a standard library working as something akin to a runtime, period. https://github.com/rust-lang/rust/blob/33916307780495fe311fe...
  39. ▲ 1
    Rust tracking issue for bugs fixed by the MIR borrow checker or NLL
    story by walterbell · 2022-08-28 · 0 comments
  40. Related, Rust's main(): https://github.com/rust-lang/rust/blob/1.62.0/library/std/sr...
  41. ▲ 1
    Improve Performance of Stable Sort
    story by est31 · 2022-08-21 · 0 comments
  42. Only a partial set, though: https://github.com/rust-lang/rust/blob/master/compiler/rustc...
    comment by jeroenhd · 2022-08-20 · in Unicode Utilities: Confusables
  43. …target will (very likely) be available in Rust 1.64.0 [0]. [0]: https://github.com/rust-lang/rust/pull/88991#issuecomment-11...
  44. ▲ 2
    Rust: Remove Ternary Operator (2012)
    story by rashadphil · 2022-08-14 · 0 comments
  45. …and there is a very serious push (or pushback with regards to GAT) to keep those promises. https://github.com/rust-lang/rust/pull/96709#issuecomment-11...
    comment by pas · 2022-08-11 · in Rust 1.63
  46. …less about the general allocator API than it is about the fallible allocation for collections RFC ( https://github.com/rust-lang/rust/issues/48043 ), which is something that the Rust-in-Linux folks have been pushing for recently.
    comment by kibwen · 2022-08-11 · in Rust 1.63
  47. …more precise about tracking control flow, allowing bugs in the old borrow checker to be fixed (see https://github.com/rust-lang/rust/issues?q=is%3Aissue+label%... for examples)). The edition compatibility story here is interesting. When…
    comment by kibwen · 2022-08-11 · in Rust 1.63
  48. …were some completely sound (albeit useless) examples of partial initialization that broke with NLL: https://github.com/rust-lang/rust/issues/21232#issuecomment-... https://github.com/rust-lang/rust/issues/54987 Strict adherence to semver…
    comment by cwzwarich · 2022-08-11 · in Rust 1.63
  49. …they made some of the core traits in the serializer infallible (ie. panic instead of using Result): https://github.com/rust-lang/rust/pull/93066 Writeup from the contributor: https://nnethercote.github.io/2022/02/25/how-to-speed-up-the...…
    comment by ninkendo · 2022-08-08 · in Using unwrap() in Rust is okay
  50. The primary Rust implementation, https://github.com/rust-lang/rust , is written in Rust.