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. …LLVM and GCC both miscompile the same numerical code involving mildly tricky aliasing constraints. https://github.com/rust-lang/rust/issues/54878#issuecomment-... I think I'd prefer that safety-critical code be written in languages that…
  2. …disabled their use of the buggy features, Rust/LLVM was producing _numerically incorrect_ code. https://github.com/rust-lang/rust/issues/54878#issuecomment-...
  3. …get monomorphization-free iterator libraries, but until then Rust isn't perfect for wasm. [1]: https://github.com/rust-lang/rust/issues/46477
  4. …empty enum.[1] There is also a RFC for unions, but that doesn't seem to have gone anywere.[2] [0]: https://github.com/rust-lang/rust/issues/57012 [1]: Such as https://crates.io/crates/void which also provides helpers for safely coercing…
    comment by Nullabillity · 2019-07-19 · in Notes on a Smaller Rust
  5. Nah. The Rust compiler's warnings are wonderful, as ever: https://github.com/rust-lang/rust/blob/master/src/librustc/i...
    comment by _nhynes · 2019-07-18 · in Rust Solved Dependency Hell
  6. ▲ 2
    Weird-exprs.rs – Just a grab bag of stuff you wouldn't want to write
    story by weinzierl · 2019-07-17 · 0 comments
  7. …model. It has even been relaxed recently, so you can go from a &Cell<[T]> to a &[Cell<T>]: https://github.com/rust-lang/rust/pull/61620 The same could be done for struct fields if the type system knew about it, and the whole thing could…
    comment by Rusky · 2019-07-04 · in Announcing Rust 1.36.0
  8. …automatic regression test to ensure it so the ability comes and goes. Here's the tracking issue: https://github.com/rust-lang/rust/issues/34902
    comment by kibwen · 2019-07-04 · in Announcing Rust 1.36.0
  9. Thanks so much! Yes, I'm eagerly awaiting https://github.com/rust-lang/rust/pull/58457 and your follow-up https://github.com/rust-lang/rust/pull/60703 . AFAIK, a global allocator is still required with them (so we still have to initialize…
    comment by phil-opp · 2019-06-27 · in Writing an OS in Rust: Heap Allocation
  10. …nothing to prevent allocation earlier and that will fail. But there is work in progress (first https://github.com/rust-lang/rust/pull/58457 ) that will allow using local allocators, removing the ambient authority that makes that failure…
    comment by Ericson2314 · 2019-06-27 · in Writing an OS in Rust: Heap Allocation
  11. ▲ 1
    Stabilizing async / await
    story by mswift42 · 2019-06-26 · 0 comments
  12. …quite a few things have happened in that time, including some features having become stabilized. https://github.com/rust-lang/rust/blob/master/RELEASES.md 1.35.0 is the current stable Rust toolchain indeed.
  13. …mips works completely fine to build smaller rust packages, e.g cargo [2] ripgrep [3] [1] https://github.com/rust-lang/rust/issues/56888 [2] https://buildd.debian.org/status/package.php?p=cargo [3] https://buildd.debian.org/status/package.ph…
    comment by infinity0x-2 · 2019-06-19 · in Debian Riscv64 port in mid 2019
  14. …and higher levels of abstraction. Hopefully, formal verification will arrive soon as well. [1] https://github.com/rust-lang/rust/pull/61946 [2] https://internals.rust-lang.org/t/proposal-business-applicat...
    comment by xvilka · 2019-06-19 · in Facebook picked Rust to implement Libra
  15. …a duration is ambiguous without a context and it would be misleading to present it as exact. [1] https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... (in case you wonder)
    comment by lifthrasiir · 2019-06-19 · in Fixing a Small Calc.exe Bug
  16. …rustc/cargo in particular you also have to set the $TERM environment variable to "xterm" [1]. [1] https://github.com/rust-lang/rust/issues/45728#issuecomment-...
    comment by spellcard199 · 2019-06-17 · in Presenting the Eshell
  17. …om/rust-lang/rfcs/blob/master/text/2457-non-... [2]: https://github.com/rust-lang/rfcs/pull/2457 [3]: https://github.com/rust-lang/rust/issues/55467
  18. …Pin stabilization tracking issue as an example of just one semantic discussion towards this end: https://github.com/rust-lang/rust/issues/49150
    comment by kibwen · 2019-05-28 · in Update on await syntax in Rust
  19. It has been usable on nightly since `nightly-2019-05-09` (with https://github.com/rust-lang/rust/pull/60586 )
    comment by Arnavion · 2019-05-28 · in Update on await syntax in Rust
  20. …toolchain from source. That means downloading and building at least the following two from source: https://github.com/rust-lang/rust https://github.com/rust-lang/cargo That includes building the bundled bits of LLVM from source. If your…
    comment by codetrotter · 2019-05-23 · in Announcing Rust 1.35.0
  21. …inhibit DCE, constant propagation and inlining [0] https://www.youtube.com/watch?v=s4wnuiCwTGU [1] https://github.com/rust-lang/rust/issues/44041 [2] https://bugs.openjdk.java.net/browse/JDK-8005071
    comment by the8472 · 2019-05-17 · in Zero Cost Abstractions
  22. …contains the debug symbols. On Mac, they're in a separate .dSYM file from what I understand. See https://github.com/rust-lang/rust/issues/46034 . According to that thread, the size jump of the unstripped binary is probably from libstd…
    comment by edflsafoiewq · 2019-05-16 · in Why is a Rust executable large? (2016)
  23. …jemalloc was removed and the default allocator switched to system in 1.32 (January 2019)[0]. [0] https://github.com/rust-lang/rust/blob/master/RELEASES.md#co...
    comment by masklinn · 2019-05-16 · in Why is a Rust executable large? (2016)
  24. …miscompilation, or otherwise weasel out of things that the language is meant to guarantee: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... At this point these are mostly edge cases that you're unlikely to hit in real code,…
    comment by pornel · 2019-05-16 · in Four Years of Rust
  25. https://github.com/rust-lang/rust currenly has 4738 open and 25,000 closed. https://github.com/golang/go currently has 4412 open and 27,000 closed. https://github.com/npm/npm had 2166 before moving to community,forum.…
  26. …to bypass safety checks without marking the code as unsafe. But so do most of the bugs listed in https://github.com/rust-lang/rust/labels/I-unsound%20%F0%9F%... ? What makes this different that it's a security issue now?
  27. https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is... shows 108 open, 309 closed for me, not 700. And that’s out of the almost 30,000 issues reported so far. You can do bump allocation in non-GC’d languages too; here’s an example…
    comment by steveklabnik · 2019-05-10 · in Memory Allocation Benchmark
  28. …keyword only shows up in contexts where identifiers aren't expected, so there's no ambiguity? [1] https://github.com/rust-lang/rust/pull/54411
    comment by wyldfire · 2019-05-06 · in A final proposal for Rust await syntax
  29. …safe to use in a signal handler? Relevant bug from Rust: "TLS accesses aren't async-signal-safe", https://github.com/rust-lang/rust/issues/43146 I'm thinking even if it works on certain OSes, it's not guaranteed, because a signal handler's…
    comment by jlokier · 2019-05-02 · in Use mmap with care
  30. ▲ 2
    Official writeup of the Rust async-await syntax debate so far
    story by btown · 2019-04-30 · 1 comment
  31. …minimal support for fallible allocation through the try_reserve method on various collections. See https://github.com/rust-lang/rust/issues/48043 for more information. Other than that, there is ongoing work for custom allocator support in…
    comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing
  32. …custom test runner front :) The custom test framework feature of Rust was silently introduced in https://github.com/rust-lang/rust/pull/53410 and I didn't know that it even existed a month ago. But it works really well and seems like a…
    comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing
  33. Yes, as of a couple of days ago in nightly (pre-1.36): https://github.com/rust-lang/rust/pull/58623
    comment by anderskaseorg · 2019-04-27 · in Open-sourcing F14 for memory-efficient hash tables
  34. ▲ 63
    Futures Is Stable on Rust 1.36
    story by r0xsh · 2019-04-26 · 19 comments
  35. …I don't know whether the "1.13.0-nightly" he used has that optimization enabled or disabled. (See https://github.com/rust-lang/rust/issues/31681 and https://github.com/rust-lang/rust/issues/54878 for the relevant Rust issues.)
  36. Not a borrow checker expert, but this PR was on the blocker list. Maybe it's what you mean? https://github.com/rust-lang/rust/pull/58739
    comment by est31 · 2019-04-23 · in Rust's 2019 Roadmap
  37. The futures stabilization is very close as well, see https://github.com/rust-lang/rust/issues/59725 and https://github.com/rust-lang/rust/pull/59739 . Very soon! Like, hours. But yes, after that, the big issue is the syntax issues around…
    comment by steveklabnik · 2019-04-23 · in Rust's 2019 Roadmap
  38. …Rusty news, two phase borrows just got enabled on nightly but stable Rust in the 2015 edition: https://github.com/rust-lang/rust/pull/59114 . If not backed out, it will most likely be part of the 1.36 release. This is a milestone of…
    comment by est31 · 2019-04-23 · in Rust's 2019 Roadmap
  39. …world in comparison. First of all rust has a very incomplete sanitizers support. Ubsan, Msan etc https://github.com/rust-lang/rust/issues/39699 Secondly there is an order of magnitude more static analysis tools that support cpp than rust…
  40. …team members on this give me a different impression. See this comment from Niko for example: https://github.com/rust-lang/rust/issues/53668#issuecomment-... So, can you point me to a comment that tells me that the policy still holds and is…
    comment by phaylon · 2019-04-12 · in Rust 1.34.0
  41. …and riscv64gc-unknown-none-elf targets are now on stable rustc 1.34.0 :slightly_smiling_face: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... https://github.com/rust-embedded/wg/issues/218#issuecomment-... EDIT: Mea culpa,…
    comment by FullyFunctional · 2019-04-11 · in Rust 1.34.0
  42. ▲ 3
    Rustdoc formatting presents accessibility issues
    story by ducaale · 2019-04-10 · 0 comments
  43. Ah yes, my bad https://github.com/rust-lang/rust/issues/26951
  44. …and this were worked out very recently, and so it hasn’t totally ridden the trains to stable yet. https://github.com/rust-lang/rust/issues/59302
    comment by steveklabnik · 2019-04-01 · in Git implemented in Rust
  45. That depends on how these features are added. https://github.com/rust-lang/rust/blob/master/RELEASES.md I would argue that cpp, despite being much older, is still adding features that are kinda backbreaking e.g. ranges.
    comment by adamnemecek · 2019-03-25 · in Rust is not a good C replacement
  46. …are out since they only work if you restrict yourself to ~32GB, depending on alignments. [0] https://github.com/rust-lang/rust/pull/45225
    comment by the8472 · 2019-03-06 · in JVM Anatomy Quarks: Compressed References
  47. …cases, a soundness problem that has yielded a lot of discussion because of that crate specifically: https://github.com/rust-lang/rust/issues/50781 The issue here is that the typemap crate was found to be relying on a compiler bug. The…
  48. …0.3.19 was using an irrefutable pattern in a method without a body, and this was prohibited: https://github.com/rust-lang/rust/pull/37378 However, if you run `cargo update` first, then the build succeeds. The 0.3.0 checkout fails because…
  49. …in nanoserver. With this release the standard library implements the logic of parsing argv itself. https://github.com/rust-lang/rust/pull/56568
    comment by Arnavion · 2019-02-28 · in Announcing Rust 1.33.0
  50. …the GitHub issue discussing it is one of the densest and most extensive threads I've seen: https://github.com/rust-lang/rust/issues/49150
    comment by kibwen · 2019-02-28 · in Announcing Rust 1.33.0