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. …would allow for async fns directly in traits, but that is probably a long way off [2]. [0]: https://github.com/rust-lang/rust/issues/63063 [1]: https://github.com/rust-lang/rust/issues/44265 [2]: http://smallcultfollowing.com/babysteps/blog…
    comment by ibraheemdev · 2021-06-10 · in Rocket v0.5 Release Candidate
  2. …// string.len() doesn't work in GDB Debuggin rust still involves a lot of println! or debug! https://github.com/rust-lang/rust/issues/33014
    comment by Popegaf · 2021-05-31 · in GCC Rust Monthly Report #6 May 2021
  3. …equivalent to upper_bound(), and it got improved recently. The PR of the improvement: https://github.com/rust-lang/rust/pull/74024 Polkadot's postmortem: https://polkadot.network/a-polkadot-postmortem-24-05-2021/
  4. ▲ 2
    Rust's improvement on slice.binary_search_by() caused OOM on Polkadot
    story by xnhbx · 2021-05-30 · 1 comment
  5. …N times to initialize an array. This basically brings the array-init functionality into std. https://github.com/rust-lang/rust/pull/75644
  6. It was stabilized in 2019 by accident: https://twitter.com/m_ou_se/status/1396827152859942921 https://github.com/rust-lang/rust/pull/79270
  7. …implementation is still limited to N ≤ 32, for technical reasons that haven’t yet been overcome. ( https://github.com/rust-lang/rust/pull/74254 is relevant info that I’ve found on a quick search—I think the trouble is that [T; N] normally…
    comment by chrismorgan · 2021-05-24 · in Methods for Array Initialization in Rust (2018)
  8. …[1] and rustc's cg_clif [2]. 1: https://github.com/bytecodealliance/wasmtime/tree/main/crane... 2: https://github.com/rust-lang/rust/pull/77975
  9. …today (the original language when the team started to work on it was a bit different to 1.0). https://github.com/rust-lang/rust/graphs/contributors?from=2... The work since 1.0 can be classified as a massive refinement project, which also…
    comment by est31 · 2021-05-22 · in Rust heads into the kernel?
  10. …a similar interface that existed in std, until it was found to be unsound, is totally fascinating: https://github.com/rust-lang/rust/issues/24292 . (Prior to that, std::mem::forget was marked unsafe!) Another detail that's worth clarifying…
  11. …cores to the fullest? I don't use Rust, but a quick search returned for example this issue: https://github.com/rust-lang/rust/issues/64913
  12. I'd like to add the "Bastion of the Turbofish", which is my personal favorite: https://github.com/rust-lang/rust/blob/master/src/test/ui/ba...
    comment by Zababa · 2021-05-14 · in Rust Weird Expressions
  13. …comment is present, and the rust compiler defaults to the 2015 edition if none was specified. [0]: https://github.com/rust-lang/rust/blob/69b352ef7749825abde2d... [1]: https://github.com/rust-lang/rust/blob/69b352ef7749825abde2d...
    comment by est31 · 2021-05-14 · in Rust Weird Expressions
  14. Yeah. I'd assume a 2018 specific one would show up below https://github.com/rust-lang/rust/tree/master/src/test/ui/ru... if needed.
    comment by phaylon · 2021-05-14 · in Rust Weird Expressions
  15. ▲ 248
    Rust Weird Expressions
    story by linkdd · 2021-05-14 · 162 comments
  16. …The "C-tracking-issue" issues are ones that are open and tracking an RFC that's in implementation, https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... ("C" is short for "Category". These prefixes are... well the original ones…
    comment by steveklabnik · 2021-05-11 · in The Plan for the Rust 2021 Edition
  17. …as, exactly as you say, basically nobody else has forged through these paths in LLVM before. [0]: https://github.com/rust-lang/rust/pull/82834 [1]: https://github.com/rust-lang/rust/issues/84958 [2]: https://stackoverflow.com/a/57259339
    comment by nathankleyn · 2021-05-08 · in ABI Mistakes
  18. ▲ 3
    Regression: Miscompilation due to bug in “mutable noalias” logic
    story by ingve · 2021-05-05 · 1 comment
  19. …performance benefits of adding a push-model complement to Rust's usual pull-model Iterator trait: https://github.com/rust-lang/rust/pull/42782#issuecomment-30... ) But, you can get the same natural-looking output from the pull model if you…
    comment by Rusky · 2021-05-01 · in Query Engines: Push vs. Pull
  20. There's an RFC to add the minimum rust version supported. It was merged! The tracking issue is here: https://github.com/rust-lang/rust/issues/65262
    comment by swsieber · 2021-04-29 · in A brief history of Rust at Facebook
  21. Relying to myself to mention another thing: https://github.com/rust-lang/rust/issues/64796 is adding support for a #[cfg(version(x.y))] tag that will allow crates to more easily provide additional feature when using newer compiler, while…
    comment by ogoffart · 2021-04-29 · in A brief history of Rust at Facebook
  22. …of date compared to what most of the ecosystem expect. However there is hope for a better future: https://github.com/rust-lang/rust/issues/65262 will allow crates to specify a minimum supported rust version (MSRV), this way, we can imagine…
    comment by ogoffart · 2021-04-29 · in A brief history of Rust at Facebook
  23. …for creating maintainable large-scale software. Here's the original elevator pitch from 2010: https://github.com/rust-lang/rust/blob/d6b7c96c3eb29b9244ece... Note the text about "programming in the large".
    comment by brson · 2021-04-22 · in Green vs. Brown Programming Languages
  24. …even account for someone writing `-> Trait` and suggest all the appropriate changes. I just filed https://github.com/rust-lang/rust/issues/84346 to account for some cases brought up and I completely agree with your last sentence. It is…
    comment by estebank · 2021-04-19 · in What's in the Box?
  25. …this case in particular where the result would be !Sized and also suggest Boxing. Edit: filed https://github.com/rust-lang/rust/issues/84346 It is also somehow unfortunate that `impl Trait` in locals isn't yet in stable, but once it is it…
    comment by estebank · 2021-04-19 · in What's in the Box?
  26. I think because split-debuginfo is recently stabilized (Nov 2020). https://github.com/rust-lang/rust/pull/79570 Maybe the default will be switched in the future.
  27. The `A-LLVM` issue label is probably a good starting point. https://github.com/rust-lang/rust/labels/A-LLVM
    comment by mrec · 2021-04-16 · in LLVM 12
  28. …information. This affects Rust, for instance, and might net 0-5% better run-time performance: https://github.com/rust-lang/rust/issues/54878#issuecomment-...
    comment by myrmidon · 2021-04-16 · in LLVM 12
  29. …of panicking, slowly being implemented for all allocating collections in the standard library. see https://github.com/rust-lang/rust/issues/48043 and https://github.com/rust-lang/rust/pull/80310
    comment by littlestymaar · 2021-04-16 · in Linus Torvalds on Rust support in kernel
  30. …around &[u8], but it didn't really provide any actual advantages, so it was decided to not do that. https://github.com/rust-lang/rust/pull/19612
    comment by steveklabnik · 2021-04-14 · in Why Rust strings seem hard
  31. …and prevents further use. Then `mem::forget` prevents `drop` from running. See discussion at https://github.com/rust-lang/rust/issues/59567
    comment by rectang · 2021-04-10 · in Comparative unsafety
  32. …I think it should be reported by an error detecting tool, not a linter Relevant rustc (merged) PR: https://github.com/rust-lang/rust/pull/75671 - "Uplift temporary-cstring-as-ptr lint from clippy into rustc"
    comment by rrss · 2021-04-09 · in Comparative unsafety
  33. …the arguments differently. Worse, even Microsofts two implementations (CRT and WINAPI) disagree: https://github.com/rust-lang/rust/issues/44650
  34. …example I posted also calls a bunch of unsafe code, as is necessary to do anything nontrivial (see https://github.com/rust-lang/rust/blob/master/library/std/sr... ). My point is that safe-good unsafe-bad is the wrong way to think about…
  35. …having 1 compiler & 1 standard library & the latter having a much more streamlined RFC process. [1] https://github.com/rust-lang/rust/pull/67076 [2] https://github.com/rust-lang/rust/issues/47960
  36. One person's (resolved) issue does not capture everything that happens with rust. https://github.com/rust-lang/rust/issues/41555 : "Tracking issue for Path Prefix Remapping", stabilized in 2018.
  37. Rust is working toward fully reproducible builds; you can see outstanding issues here: https://github.com/rust-lang/rust/labels/A-reproducibility . The compiler already has options to enable many sources of variability. I've had success…
  38. …std library. https://play.rust-lang.org/?version=stable&mode=debug&editio... Report the issue in https://github.com/rust-lang/rust/issues/83648
  39. That's tracked by https://github.com/rust-lang/rust/issues/26179 by the way.
  40. …compiler passes are not exercised a lot by existing LLVM tests and/or not realized in full. [1] https://github.com/rust-lang/rust/pull/82834
  41. ▲ 228
    && operator chains (and ||, possibly) generates unoptimizable LLVM IR
    story by est31 · 2021-03-29 · 100 comments
  42. …progress can be followed here [2] [1] https://github.com/rust-lang/rfcs/pull/2116 [2] https://github.com/rust-lang/rust/issues/48043
    comment by littlestymaar · 2021-03-22 · in How Safe Is Zig?
  43. …It's especially bad if your type is an enum, since there's no obvious place to put the PhantomData: https://github.com/rust-lang/rust/issues/32739 > Trial-and-error debugging which version causes a bug is busywork, preventing it right when…
    comment by millstone · 2021-03-19 · in Building a shared vision for Async Rust
  44. The only unresolved soundness issue for Pin that I can find seems to only affect nightly not stable. https://github.com/rust-lang/rust/issues/68015 It doesn't appear to be unresolvable.
  45. …thread) was also delayed to give it more time to bake. I urge you to look at the releases page ( https://github.com/rust-lang/rust/blob/master/RELEASES.md ). Look at how few user facing changes are made with every release. This is a good…
  46. …features, all of which need to be tested in isolation and then with each other. The releases page ( https://github.com/rust-lang/rust/blob/master/RELEASES.md ) shows how rare it is for a fix release to be made. Even when it is, it's…
  47. Yep, this one: https://github.com/rust-lang/rust/issues/63818 (the comment I'm summarizing is https://github.com/rust-lang/rust/issues/63818#issuecomment-... )
    comment by kibwen · 2021-03-15 · in Speed of Rust vs. C
  48. Here's Niko Matsakis' take: https://github.com/rust-lang/rust/issues/63818#issuecomment-...
    comment by kibwen · 2021-03-15 · in Speed of Rust vs. C
  49. …more information at https://gist.github.com/Darksonn/1567538f56af1a8038ecc3c664a... . Bug report at https://github.com/rust-lang/rust/issues/63818 . Reddit threads at (older) https://www.reddit.com/r/rust/comments/l4roqk/a_fix_for_the_...…
    comment by nyanpasu64 · 2021-03-13 · in Speed of Rust vs. C
  50. …just have too many decades of experience working with coroutines in various systems I have used :(. https://github.com/rust-lang/rust/issues/43122#issuecomment-... https://github.com/rust-lang/rust/issues/43122#issuecomment-...
    comment by saurik · 2021-03-11 · in Why asynchronous Rust doesn't work