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. …which led me to the pages below https://rust-lang.github.io/rfcs/1398-kinds-of-allocators.ht... https://github.com/rust-lang/rust/issues/32838 https://github.com/rust-lang/wg-allocators
  2. …than most other programming languages [2] and the myriad optimizations this knowledge allows. [1] https://github.com/rust-lang/rust/issues/54878#issuecomment-... [2] https://doc.rust-lang.org/nomicon/aliasing.html
  3. Follow along here for re-enabling: https://github.com/rust-lang/rust/issues/54878 For what it's worth I did say "can be" not "is" because I wasn't sure of the current state of this feature. I was just passing on the theory. There are…
  4. …it; that is, &T will still get noalias, it's &mut T that's currently disabled. The tracking bug is https://github.com/rust-lang/rust/issues/54878
    comment by steveklabnik · 2021-01-03 · in Rust is now overall faster than C in benchmarks
  5. …those who are curious, here's the source code of the original compiler written in OCaml (rustboot) https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216...
    comment by julenx · 2021-01-02 · in A half-hour to learn Rust
  6. …disappoint there isnt mention of more private/reproducible release binary output from compilation https://github.com/rust-lang/rust/issues/40552 https://github.com/rust-lang/rust/issues/75263
    comment by candied_scarf · 2021-01-01 · in Rust 1.49.0
  7. …issue though prevents me from recommending Rust for closed source development to my colleagues: https://github.com/rust-lang/rust/issues/40552
    comment by mindv0rtex · 2020-12-31 · in Rust 1.49.0
  8. …We have talked about adding something like this to the standard library, but it hasn't landed yet. https://github.com/rust-lang/rust/issues/74465 is the tracking issue for when it does. The reason that we don't have this yet is that it is…
    comment by steveklabnik · 2020-12-31 · in Rust 1.49.0
  9. …been waiting on this one for several years. Time to go remove my workarounds. Thanks! [1]: https://github.com/rust-lang/rust/pull/76119
    comment by nitsky · 2020-12-31 · in Rust 1.49.0
  10. Yes, absolutely. https://github.com/rust-lang/rust/issues/28728 is probably the most famous bug here, but many I-unsound bugs are similar. This would be the case even without this. Compilers are programs. Programs have bugs.
  11. …parameters can only be types, not numbers. FWIW the remedy for this is being stabilized soon: https://github.com/rust-lang/rust/pull/79135
    comment by matt_kantor · 2020-12-11 · in Monads and GATs in Nightly Rust
  12. …argument by value, but that sometimes works and sometimes fails the borrow checker. But now reading https://github.com/rust-lang/rust/issues/59943 I see that this is a feature -- I hadn't been taking advantage of the fact that you can use…
    comment by da39a3ee · 2020-12-11 · in Implementing Rust's dbg! in Python
  13. …to MSVC and musl for a while now but also added static glibc support on Linux very recently: https://github.com/rust-lang/rust/pull/77386
  14. …[1] https://github.com/Unity-Technologies/mono/commit/3f2278e081484e6616ee5892895f999610453ca9 [2] https://github.com/rust-lang/rust/issues/73908 [3] https://github.com/mono/mono/pull/20014 [4] https://github.com/golang/go/issues/38485
    comment by tim-- · 2020-12-04 · in M1 Macs: Truth and Truthiness
  15. …and returns) is incredibly tricky, and not really a lot of fun. This is so true. Rust does it here: https://github.com/rust-lang/rust/tree/master/compiler/rustc... and it's a lot of code for no good reasons.
    comment by sanxiyn · 2020-12-02 · in QBE vs. LLVM
  16. …code maybe two or three years ago. When you encounter things like this, please file a ticket at https://github.com/rust-lang/rust/issues so that we can fix them.
    comment by estebank · 2020-11-30 · in Writing Rust the Elixir Way
  17. https://github.com/rust-lang/rust/issues/73908
    comment by steveklabnik · 2020-11-29 · in Apple Silicon M1: A Developer's Perspective
  18. …you have recommendations I'm a Rust fanboy, so I'd recommend installing Rust via rustup ;-) [pr]: https://github.com/rust-lang/rust/pull/79219
    comment by shepmaster · 2020-11-23 · in Run Homebrew Natively on Apple Silicon Arm M1
  19. …intermediate README with instructions [readme] [fzy]: https://github.com/jhawthorn/fzy [tracking]: https://github.com/rust-lang/rust/issues/73908 [readme]: https://github.com/shepmaster/rust/blob/silicon/silicon/READ...
    comment by shepmaster · 2020-11-23 · in Run Homebrew Natively on Apple Silicon Arm M1
  20. …it does work. Time is not the only issue here, as elaborated downthread. For the gory details, see https://github.com/rust-lang/rust/issues/73908
    comment by steveklabnik · 2020-11-21 · in Is Apple Silicon Ready?
  21. …software. You mentioned Rust, which is currently blocked on getting hardware hooked up to CI ( https://github.com/rust-lang/rust/issues/73908 ) Also, such an impressive release of hardware shows third party devs that Apple is serious about…
    comment by nindalf · 2020-11-20 · in Is Apple Silicon Ready?
  22. For anyone who wants to learn more: https://github.com/rust-lang/rust/pull/79135
    comment by matt_kantor · 2020-11-19 · in Rust 1.48
  23. …enabled it will allow to be as or faster than cranelift while keeping sane runtime performance. https://github.com/rust-lang/rust/pull/77117
  24. …1.0 (including a nice "book")[1] being released. EDIT: Oh, and the Rust performance book[2]. [0]: https://github.com/rust-lang/rust/pull/79135 [1]: https://cxx.rs [2]: https://nnethercote.github.io/perf-book/
    comment by hobofan · 2020-11-17 · in Servo’s new home
  25. Rust's Apple Silicon support is tracked here: https://github.com/rust-lang/rust/issues/73908
    comment by steveklabnik · 2020-11-17 · in Apple MacBook Pro with M1 Review
  26. …are no CI providers so we can’t automatically run tests for it. I’ve been running them by hand. https://github.com/rust-lang/rust/issues/73908
  27. …gets enabled by default that could be another 25-50% off when compared to the system linker (e.g. https://github.com/rust-lang/rust/issues/39915#issuecomment-... ). And so far Cranelift ( https://github.com/rust-lang/rust/pull/77975 )…
    comment by kibwen · 2020-11-11 · in Exploring PGO for the Rust Compiler
  28. …always unsupported with VMs (which means you don't want to run the measurement inside CI). [1] https://github.com/rust-lang/rust/issues/50655
    comment by ibraheemdev · 2020-11-11 · in Exploring PGO for the Rust Compiler
  29. …out, since there's a large body of Fortran code that relies on good aliasing optimizations. [1]: https://github.com/rust-lang/rust/issues/54878
    comment by johncolanduoni · 2020-11-11 · in Will R Work on Apple Silicon?
  30. …older instruction sets (specifically that lack SSE and SSE2, if I recall) are no longer supported: https://github.com/rust-lang/rust/issues/14441 As a consequence of this issue, I had to manually downgrade librsvg on a older machine in…
  31. …unable to actually make those aliasing optimizations because LLVM doesn't compile them correctly? https://github.com/rust-lang/rust/issues/54878
    comment by creata · 2020-11-01 · in C/C++ vs. Rust Performance
  32. …starting with Vec [2]. [0]: https://www.reddit.com/r/rust/comments/jgxgpu/box_will_have_... [1]: https://github.com/rust-lang/rust/pull/77187 [2]: https://www.reddit.com/r/rust/comments/jgxgpu/box_will_have_...
    comment by aw1621107 · 2020-11-01 · in C/C++ vs. Rust Performance
  33. …Also it seems that Ryu prints some numbers in weird ways even though "nicer" representations exist: https://github.com/rust-lang/rust/issues/52811#issuecomment-...
  34. …provider wasn't great at handling multi-GB caches, so we went with the approach outlined above. [0] https://github.com/rust-lang/rust/blob/1.47.0/src/ci/init_re... [1] https://github.com/rust-lang/rust/commit/0347ff58230af512c95...
  35. …default uses the `FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE` share permission[1]. [0] https://github.com/rust-lang/rust/blob/master/library/std/sr... [1] https://doc.rust-lang.org/std/os/windows/fs/trait.OpenOption...
    comment by Measter · 2020-10-18 · in C++ still isn't cutting it
  36. …Rust 0.8 (2013-09-26) "Explicit enum discriminants may be given as uints as in enum E { V = 0u }" https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... They're referenced as a pre-existing feature in this Jan 2015 RFC [0], so…
    comment by nicoburns · 2020-10-11 · in Rust After the Honeymoon
  37. …it, and if you can't or don't want to use nightly you can go and assist its shepherding to stable ( https://github.com/rust-lang/rust/issues/72016 ) > while format is great, it's also very heavyweight. Not having (AFAIK) variadic arguments…
    comment by masklinn · 2020-10-11 · in Rust After the Honeymoon
  38. …which was not allowed to unwind at the time the linked comment was made. But in the last few hours, https://github.com/rust-lang/rust/pull/76448 was linked to, which shows how that has since changed.
  39. …be. Generics over the array size is one of them, although unfortunately there are others such as https://github.com/rust-lang/rust/issues/53827
    comment by simias · 2020-10-08 · in Rust 1.47
  40. …want to follow this issue, which is about stabilizing a minimally-useful subset of const generics: https://github.com/rust-lang/rust/issues/74878 . It seems to be coming along well: "Regarding the remaining steps: there are only a handful…
    comment by kibwen · 2020-10-08 · in Rust 1.47
  41. It's also on track to be available in std: https://github.com/rust-lang/rust/pull/72414 https://github.com/rust-lang/rust/issues/74465
    comment by archseer · 2020-10-03 · in Rust Starter Kit 2020
  42. …sub-pattern matchings, though it's not stable yet there's a tracking issue for at-and-sub-patterns: https://github.com/rust-lang/rust/issues/65490 and it works on nightly: https://play.rust-lang.org/?version=nightly&mode=debug&editi...…
  43. D does: https://dlang.org/spec/lex.html#delimited_strings Rust does too, to some degree: https://github.com/rust-lang/rust/pull/9674
    comment by nialv7 · 2020-10-02 · in Escaping strings in Bash using !:q
  44. …to worry about over at [1]. [0] https://play.rust-lang.org/?version=stable&mode=release&edit... [1] https://github.com/rust-lang/rust/issues/54685
    comment by jiripospisil · 2020-09-30 · in It Is Never a Compiler Bug Until It Is
  45. …https://brokenco.de/2020/01/08/faster-rust-linking.html * 2x faster than gold according to this: https://github.com/rust-lang/rust/issues/71515
    comment by Ar-Curunir · 2020-09-28 · in Zig's New Relationship with LLVM
  46. …updated since then, but it seems Cloudflare is still serving an outdated version sometimes. [1] https://github.com/rust-lang/rust/pull/76858#pullrequestrevi... [2] https://github.com/rust-lang/rust/pull/76858/commits/344d835...
  47. Here is one example, https://github.com/rust-lang/rust/issues/63818 Alternative ideas, here are four, combining the productivity of automatic memory management with ownership, https://swift.org/blog/swift-5-exclusivity/…
  48. The original impetus seems to have been for the now defunct green threading concurrency approach: https://github.com/rust-lang/rust/pull/13158/files One of the post hoc rationales that seems to have cropped up is as you mentioned. But that…
  49. …a thing happened with specialization, which has been in the works for much longer (current status: https://github.com/rust-lang/rust/pull/68970 ), and the lesson has been to not incite expectation until you are extremely certain the…
    comment by kibwen · 2020-09-23 · in Haskell's Children
  50. …associated types). But that is blocked on other work and might never actually be implemented. [1] https://github.com/rust-lang/rust/issues/44265
    comment by the_duke · 2020-09-23 · in Haskell's Children