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. Here is the original GitHub issue on the question: https://github.com/rust-lang/rust/issues/15699 And an RFC by some people that felt frustrated by this arguably implementation-centric view that kind of lost steam:…
    comment by cwzwarich · 2023-12-05 · in Common Rust Lifetime Misconceptions (2020)
  2. …14 bugs https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=Ada%20s... Rust: 243 (plus 830 closed) https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... Choose by yourself which seems safer
    comment by rurban · 2023-12-02 · in Is Ada safer than Rust?
  3. …is often far from perfect, it at least has been widely tested as a general-purpose allocator. [0] https://github.com/rust-lang/rust/issues/36963
  4. …less clear to me: You can find them at the original motivation for removing jemalloc, 7 years ago: https://github.com/rust-lang/rust/issues/36963 Also it's not "glibc's allocator", it's the system allocator. If you're unhappy with glibc's,…
  5. …feel free to test it out and open an issue, but maybe take a gander at the previous attempt: https://github.com/rust-lang/rust/pull/103944 which died for the exact same reason the the one before that (…
  6. …function as inline. Essentially rustc converted it from an intrinsic to a regular function call. https://github.com/rust-lang/rust/issues/107617#issuecomment...
    comment by celeritascelery · 2023-11-28 · in Designing a SIMD Algorithm from Scratch
  7. …the old search). It's as simple as appending the repo URL, starting from github.com: e.g. sourcegraph.com/github.com/rust-lang/rust/ (you can try searching for unit on this repo)
  8. …smart pointers defined outside of std. Box patterns are likely to be superseded by one of these: https://github.com/rust-lang/rust/issues/42640 https://github.com/rust-lang/rust/issues/87121
    comment by ForkMeOnTinder · 2023-11-23 · in Enums in Rust – and why they feel better
  9. …because those foreign functions may start making unsynchronised calls to getenv/setenv. [1] https://github.com/rust-lang/rust/blob/master/library/std/sr... [2] https://github.com/rust-lang/rust/blob/master/library/std/sr...
  10. It was orginally me ( https://github.com/rust-lang/rust/pull/65875 )
    comment by Matthias247 · 2023-11-10 · in A four year plan for async Rust
  11. …common types and patterns it's probably easier to find the information you're looking for, e.g.: https://github.com/rust-lang/rust/issues/46213 In general Rust chases a "zero cost abstraction" ethos, so a lot of the type system niceties…
    comment by inferiorhuman · 2023-11-10 · in Why Rust in Production?
  12. Here is one I know of: https://github.com/rust-lang/rust/pull/90346 I believe this is one as well: https://github.com/rust-lang/rust/pull/113535
    comment by steveklabnik · 2023-11-08 · in Officially Qualified – Ferrocene
  13. …you don't understand are bugs and I'd encourage you all to file a ticket when encountering any: https://github.com/rust-lang/rust/issues/new?assignees=&labe...
  14. As far as I know, the proposal to add one was determined to need an RFC: https://github.com/rust-lang/rust/pull/65875
    comment by steveklabnik · 2023-11-07 · in A four year plan for async Rust
  15. …for UBSAN, ASAN, TSAN and MSAN sanitizers. Unfortunately it has been WIP for almost 7 years: https://github.com/rust-lang/rust/issues/39699
  16. …which wasn’t very useful. I wasn’t happy with this, and so proposed turning into a macro < https://github.com/rust-lang/rust/issues/8991 >, which fixed both of those problems. The import thing alone could have been resolved by adding it to…
    comment by chrismorgan · 2023-10-27 · in Things I like about Gleam's Syntax
  17. …will leave users in the cold as to what the problem was. It's yet another balancing act. I filed https://github.com/rust-lang/rust/issues/117233 for you. Could I ask you why you didn't consider doing so when you first encountered this…
    comment by estebank · 2023-10-26 · in Was Rust Worth It?
  18. …code, just like async/await. (If it didn't, it would run slower than async/await.) Also, there is: https://github.com/rust-lang/rust/issues/111272 Translated: co-routines currently use malloc to allocate stacks, so if you overflow the…
  19. https://github.com/rust-lang/rust/blob/master/RELEASES.md is an excellent file for finding all of this kind of stuff.
    comment by chrismorgan · 2023-10-20 · in Banging errors in Go
  20. …bench` "winzorizes" the benchmark samples before computing summary statistics (incl. the mean). https://github.com/rust-lang/rust/blob/master/library/test/s...
    comment by phlip9 · 2023-10-18 · in Winsorized mean
  21. …See: https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499 https://github.com/rust-lang/rust/issues/27970 https://github.com/rust-lang/rust/issues/90308
  22. This is something that has bit Rust as well: https://github.com/rust-lang/rust/issues/90308
  23. …for async fn in traits. That was just merged! [1] It should be stable in 1.75 on December 28th. [1] https://github.com/rust-lang/rust/pull/115822
    comment by scottlamb · 2023-10-15 · in Why Async Rust?
  24. …can cause language-level UB. When a reference is 'used' is much broader than you might expect; https://github.com/rust-lang/rust/issues/52898 is a SIGILL from merely creating a null reference, never 'using' it.
    comment by dwattttt · 2023-10-15 · in Escape analysis hates copy elision (2021)
  25. It seems it isn't yet: https://github.com/rust-lang/rust/issues/116744
    comment by hkalbasi · 2023-10-14 · in Escape analysis hates copy elision (2021)
  26. …criticized vs C. That said, there are a few reasons beyond just that. For the primary sources: https://github.com/rust-lang/rust/issues/36963
  27. …https://github.com/rust-lang/rfcs/pull/2318 says merged but links to tracking issue https://github.com/rust-lang/rust/issues/50297 which was closed out without ever being implemented. So 5 years with no progress & a restarted effort. Don't…
    comment by vlovich123 · 2023-10-05 · in Divan: Fast and Simple Benchmarking for Rust
  28. There's an issue open on the rustc issue tracker that describes what's missing https://github.com/rust-lang/rust/issues/48707 (reproducible builds is the big one)
    comment by Xylakant · 2023-10-04 · in Open Sourcing Ferrocene
  29. …the work on Ferrocene can contribute to the standardization of the Rust language. Tracking issue: https://github.com/rust-lang/rust/issues/113527
    comment by thesuperbigfrog · 2023-10-04 · in Open Sourcing Ferrocene
  30. …ic.org/resources/add_content/standards/05rm/h... [2] https://github.com/rust-lang/rfcs/issues/671 [3] https://github.com/rust-lang/rust/pull/107606
    comment by naruhodo · 2023-10-01 · in AdaCore Announces Gnat Pro for Rust
  31. …of view compared to green threads). Do you have a link? Hmmm. Is it TLS consuming too much stack? https://github.com/rust-lang/rust/issues/111272 That would be an issue for green threads. And other things, as I discovered when I took a…
    comment by rstuart4133 · 2023-09-28 · in The State of Async Rust: Runtimes
  32. async traits are in the process of being stabilized: https://github.com/rust-lang/rust/pull/115822 Also, impl trait projections (ability to use Self::Foo associated types in async functions in traits):…
    comment by est31 · 2023-09-25 · in The State of Async Rust: Runtimes
  33. https://doc.rust-lang.org/std/ops/struct.Yeet.html https://github.com/rust-lang/rust/issues/96374
    comment by itishappy · 2023-09-20 · in The AI Content Flippening
  34. …in e.g. Java. E.g. skim the discussion on this proposed "cursor" API for Rust's stdlib BTree: https://github.com/rust-lang/rust/issues/107540 (And while Rust's enum-based algebraic types & pattern matching are nice, they're actually fairly…
    comment by cmrdporcupine · 2023-09-20 · in Leveraging Rust in our Java database
  35. Notably Rust's standard library does allow deleting files it opens by default. https://github.com/rust-lang/rust/blob/735bb7e5df185cc24e565... While full Unix-like behaviour is only available on Windows 10 for the past five or so years,…
  36. See for example https://github.com/rust-lang/rust/issues/63818 and https://github.com/rust-lang/rfcs/pull/3467 Basically the problem is that async blocks/fns/generators need to create a struct that holds all the local variables within them…
  37. …that Ferrocene's work will help the drive the standardization of Rust over the next few years: https://github.com/rust-lang/rust/issues/113527
    comment by thesuperbigfrog · 2023-08-28 · in Writing Linux Modules in Ada (2016)
  38. other commenters, call me when this issue is closed. https://github.com/rust-lang/rust/issues/48556
  39. …programming language would have ~9,000 open issues? ~100 issues are either Critical/High/Prioritize https://github.com/rust-lang/rust/issues
    comment by alberth · 2023-08-27 · in Rust 1.72.0
  40. …don't confuse "this problem is hard and taking a long time" with "we don't care about this problem" https://github.com/rust-lang/rust/issues?q=is%3Aissue+label%... ). - async `Drop`: there have been multiple "false-starts", trying to come…
    comment by estebank · 2023-08-24 · in Rust 1.72.0
  41. AFAIK it's just waiting on the fix in https://github.com/rust-lang/rust/pull/114489 to land, I don't know of any other blockers.
    comment by kibwen · 2023-08-24 · in Rust 1.72.0
  42. …late 2020 has mostly stayed stable, and remains well above where it was at any point prior to 2018: https://github.com/rust-lang/rust/graphs/contributors In addition, I know of several former Mozillians who remain employed to work on Rust,…
    comment by kibwen · 2023-08-24 · in Rust 1.72.0
  43. …[3] https://security.googleblog.com/2021/04/rust-in-android-plat... [4] https://github.com/rust-lang/rust/issues/53667 [5] https://github.com/rust-lang/rust/issues/51114 [6] https://github.com/rust-lang/rust/issues/67792 [7] https
    comment by timlatim · 2023-08-24 · in Rust 1.72.0
  44. …That way you get an upgrade across all codebases without anyone needing to make any changes. https://github.com/rust-lang/rust/issues/53487
  45. Open bug report about inability to set a breakpoint on Err: https://github.com/rust-lang/rust/issues/54144
  46. …compiler (with some config changes) [2]. [0] https://github.com/bjorn3/rustc_codegen_cranelift [1] https://github.com/rust-lang/rust/pull/77975 [2] https://github.com/bjorn3/rustc_codegen_cranelift/actions/ru...
    comment by LegionMammal978 · 2023-08-17 · in A Guide to Undefined Behavior in C and C++ (2010)
  47. …So while you may not personally value that, it seems like some people in the Rust community do. [0] https://github.com/rust-lang/rust/tree/master/src/bootstrap
  48. …time before anything resembling a complete description gets written. You can follow its status at https://github.com/rust-lang/rust/issues/113527
  49. …but due to some issues down in LLVM land, the codegen doesn't issue a `cmov` where it should. https://github.com/rust-lang/rust/issues/53823 old branchless version: https://github.com/rust-lang/rust/pull/45333/files
    comment by WinLychee · 2023-08-11 · in Fastest branchless binary search
  50. Rust's binary search is here. Also a pretty textbook version of the function: https://github.com/rust-lang/rust/blob/4d7a80d48697171ed151c... How much faster is the branchless version in practice? I make heavy use of binary search in some…
    comment by josephg · 2023-08-11 · in Fastest branchless binary search