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. …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?
  2. …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…
  3. 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
  4. …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
  5. …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
  6. This is something that has bit Rust as well: https://github.com/rust-lang/rust/issues/90308
  7. …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?
  8. …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)
  9. 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)
  10. ▲ 21
    Rust Async Trait Stabilized
    story by Sytten · 2023-10-14 · 4 comments
  11. …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
  12. …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
  13. 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
  14. …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
  15. …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
  16. …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
  17. 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
  18. ▲ 1
    #42069 rust-lang/rust: set process “nice” flag to run rustbuild on low priority
    story by super_linear · 2023-09-24 · 0 comments
  19. 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
  20. …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
  21. ▲ 3
    Stabilize async fn and RPIT in trait
    story by dmart · 2023-09-13 · 0 comments
  22. 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,…
  23. 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…
  24. ▲ 8
    Rust-lang finally considers privacy/repoducibility in compiled binaries
    story by transportheap · 2023-08-31 · 3 comments
  25. …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)
  26. other commenters, call me when this issue is closed. https://github.com/rust-lang/rust/issues/48556
  27. …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
  28. …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
  29. 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
  30. …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
  31. …[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
  32. …That way you get an upgrade across all codebases without anyone needing to make any changes. https://github.com/rust-lang/rust/issues/53487
  33. Open bug report about inability to set a breakpoint on Err: https://github.com/rust-lang/rust/issues/54144
  34. …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)
  35. …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
  36. …time before anything resembling a complete description gets written. You can follow its status at https://github.com/rust-lang/rust/issues/113527
  37. …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
  38. 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
  39. Alright, and as a versioned link that'll be: https://github.com/rust-lang/rust/blob/7d8386f05cedf33c7475c... Thank you!
    comment by LoganDark · 2023-08-11 · in Fastest branchless binary search
  40. …It depends on the generic_const_exprs feature which is still, to quote, "highly experimental": https://github.com/rust-lang/rust/issues/76560 Definitely not for production use, but it gives a flavor for where things can head in the medium…
    comment by dgacmu · 2023-08-08 · in Candle: Torch Replacement in Rust
  41. …Either I remembered wrong or it's changed. Now it uses some kind of custom wrapper around Box: https://github.com/rust-lang/rust/blob/master/compiler/rustc... So actually, the Rust compiler itself uses owned children in its AST!
    comment by foldr · 2023-08-08 · in Compiler Development: Rust or OCaml?
  42. …it in nightly but not in stable[1]: https://rust-lang.github.io/rfcs/2294-if-let-guard.html [1] https://github.com/rust-lang/rust/issues/51114
    comment by nequo · 2023-08-08 · in Compiler Development: Rust or OCaml?
  43. …kernel APIs (unshare(CLONE_NEWUSER) for instance) simply cannot be used from regular Go code. [1]: https://github.com/rust-lang/rust/issues/62314 [2]: https://github.com/golang/go/issues/61751
  44. You would report it on our issue tracker. Here is an example of what that would look like: https://github.com/rust-lang/rust/issues/114324 Even if you can't reproduce it, the backtrace can be enough to figure out the problem, or at least…
  45. Really, I'm quite hopeful for crabi: https://github.com/rust-lang/rust/pull/105586 An ABI for languages with a proper type system seems fantastic. Swift, Rust, Nim, D all share very similar type systems (and memory management systems) and…
    comment by j-james · 2023-08-01 · in Nim 2.0
  46. …step expand into "create an issue and then fill out an elaborate questionnaire"? For instance, https://github.com/rust-lang/rust/blob/master/.github/ISSUE_... isn't... bad for what it is, but it's definitely asking for enough work that it…
  47. …to expect that any alternative service would require some kind of login to cut down on spam. [1]: https://github.com/rust-lang/rust/pull/114128
  48. …a pre-filled link with a one-click submit and an optional "contact me at [email]" field. --- [1]: https://github.com/rust-lang/rust/issues/93701 implies they do this too. They made or already had a github account, have run multiple…
  49. …exposing latent LLVM bugs and having to disable them). There’s more that can be done here, see e.g. https://github.com/rust-lang/rust/issues/16515 There are also soundness issues around async/await: https://github.com/rust-lang/rust/issues/…
  50. …post[2] which gives a decent intro on the concept and what it could be used for down the line. [1]: https://github.com/rust-lang/rust/pull/107606 [2]: https://cohost.org/oli-obk/post/165584-ranged-integers-via [3]:…