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. Appears to be 16 bytes on Windows (larger of the two variants): https://github.com/rust-lang/rust/blob/master/library/std/sr...
    comment by nonameiguess · 2021-03-11 · in netaddr.IP: a new IP address type for Go
  2. …and are not yet stable. It is this feature that is internally used to implement async/await. https://github.com/rust-lang/rust/issues/43122
    comment by kibwen · 2021-03-10 · in Why asynchronous Rust doesn't work
  3. …is built on top of coroutines (what Rust calls "generators"), but these are not yet stable. https://github.com/rust-lang/rust/issues/43122
    comment by kibwen · 2021-03-10 · in Why asynchronous Rust doesn't work
  4. …Rust adoption in the mid term, I believe it will cause serious issues in the longer term. [1]: https://github.com/rust-lang/rust/issues/62149#issuecomment-... [2]: https://github.com/rust-lang/rust/issues/63818
    comment by newpavlov · 2021-03-10 · in Why asynchronous Rust doesn't work
  5. …ttps://pkg.go.dev/google.golang.org/grpc#ServerStream [3] https://pkg.go.dev/net/http#HandlerFunc [4] https://github.com/rust-lang/rust/issues/69774 [5] https://netty.io/4.1/api/io/netty/channel/ChannelOption.html... [6]…
    comment by mleonhard · 2021-03-04 · in HTTPWTF
  6. Somebody already made a comment, which seems to be getting ignored: https://github.com/rust-lang/rust/issues/27060#issuecomment-... Basically, Intel goofed back when SSE was first introduced, and some compilers (including both gcc and…
    comment by souprock · 2021-03-03 · in Giving Ada a Chance
  7. Niko has an impressive record of both proposals and concrete contributions, FWIW: https://github.com/rust-lang/rust/graphs/contributors https://github.com/rust-lang/rfcs/graphs/contributors
  8. Misbehavior manifests even on x86, see the tracking https://github.com/rust-lang/rust/issues/27060 for examples. If you have more information, please leave a comment there.
    comment by kibwen · 2021-03-03 · in Giving Ada a Chance
  9. …a warning first, then might become a hard error for users who opt-in to the upcoming 2021 edition: https://github.com/rust-lang/rust/pull/82525
    comment by kibwen · 2021-03-03 · in Giving Ada a Chance
  10. …had to add explicit clamping code to float casts, because LLVM compiled nasal demons otherwise: https://github.com/rust-lang/rust/issues/10184 Rust also has different aliasing rules. Stricter than C for references, but more relaxed than C…
  11. https://github.com/rust-lang/rust/issues/76560 is the tracking issue for this specific feature.
    comment by steveklabnik · 2021-02-26 · in Rust const generics MVP hits beta
  12. …day or two. It is not my area of expertise, but I believe the way you do it is to set this option: https://github.com/rust-lang/rust/blob/master/config.toml.ex... buuut the dockerfile for the llvm 9 build passes this flag as an argument:…
    comment by steveklabnik · 2021-02-22 · in The modern packager’s security nightmare
  13. …right in the error message, but better late than never. [1] https://crates.io/crates/failure [2] https://github.com/rust-lang/rust/pull/72981#issuecomment-72... [3] https://github.com/scottlamb/moonfire-nvr/commit/9a5957d5efa...
  14. …come to stable[1] [0] https://doc.rust-lang.org/nightly/unstable-book/language-fea... [1] https://github.com/rust-lang/rust/issues/31436
  15. …aren't memory unsafe in modern rust. The issue search you want to find memory safety issues is: https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao...
  16. A worthwhile goal. But not in a memory unsafe language, please. There's hype and there are lies: https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao...
  17. …If you want the actual details, * https://internals.rust-lang.org/t/clamp-function-for-primiti... * https://github.com/rust-lang/rust/issues/44095
    comment by masklinn · 2021-02-11 · in Rust 1.50
  18. …(along with rustc_nonnull_optimization_guaranteed). It's actually how NonZero is implemented. See https://github.com/rust-lang/rust/blob/master/library/core/s...
    comment by jleahy · 2021-02-11 · in Rust 1.50
  19. You can read the relevant history here: https://github.com/rust-lang/rust/issues/44095 Short summary: First delay was ecosystem breakage; many people had defined their own functions with the same name. We're allowed to make these changes…
    comment by steveklabnik · 2021-02-11 · in Rust 1.50
  20. im still waiting for fixes for https://github.com/rust-lang/rust/issues/40552 and https://github.com/rust-lang/rust/issues/75263 in one of these releases lots of upvotes for them too since its for privacy in the compiler
    comment by candied_scarf · 2021-02-11 · in Rust 1.50
  21. Here's the full release notes on GitHub as an alternate if you're having trouble with the link: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve...
    comment by no_wizard · 2021-02-11 · in Rust 1.50
  22. Rust is implemented in Rust ( https://github.com/rust-lang/rust )
  23. This looks like something to watch out for: https://github.com/rust-lang/rust/issues/62569 Basically Rust ignores SIGPIPE, so if you don't use write!() or handle SIGPIPE yourself, large amounts of data going through a shell pipe can result…
    comment by tyingq · 2021-02-06 · in Show HN: Ht – HTTPie Clone in Rust
  24. ▲ 103
    Bastion of the Turbofish (2020)
    story by scott_s · 2021-02-03 · 56 comments
  25. …for this? This sounds awesome. EDIT: thanks to the links below I found this [1] and this [2] [1] https://github.com/rust-lang/rust/issues/32838 [2] https://github.com/rust-lang/rfcs/pull/1398
  26. …the llvm backend, so my understanding is that in practice rust assumes that loops terminate. See: https://github.com/rust-lang/rust/issues/28728 There are llvm directives that can be added to prevent the optimization, but they are rejected…
    comment by gpderetta · 2021-01-12 · in GCC Rust: GCC Front-End for Rust
  27. I don't know the root cause of the noalias miscompilation, the thing I was referring to is https://github.com/rust-lang/rust/issues/28728 TL;DR: C++ says that an infinite loop with no side effects is UB, Rust does not. Empty loops in Rust…
    comment by steveklabnik · 2021-01-10 · in GCC Rust: GCC Front-End for Rust
  28. …[1] that can improve proc macro error messages a lot. Sadly it hasn't been worked on in years. [1] https://github.com/rust-lang/rust/issues/54140
  29. ▲ 6
    The Bastion of the Turbofish
    story by ibraheemdev · 2021-01-07 · 7 comments
  30. https://github.com/rust-lang/rust/issues/54878
    comment by tick_tock_tick · 2021-01-04 · in Rust is now overall faster than C in benchmarks
  31. Thanks for posting that link. I found the following issue because of it: https://github.com/rust-lang/rust/issues/80682
  32. …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
  33. …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
  34. 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…
  35. …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
  36. ▲ 3
    Ask HN: How to make Rust release binaries reproducible/private?
    story by _34vz · 2021-01-03 · 0 comments
  37. …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
  38. …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
  39. …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
  40. …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
  41. …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
  42. ▲ 2
    Minimal Constant Generics Scheduled for Rust 1.51
    story by ibraheemdev · 2020-12-29 · 0 comments
  43. 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.
  44. …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
  45. …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
  46. …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
  47. …[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
  48. …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
  49. …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
  50. https://github.com/rust-lang/rust/issues/73908
    comment by steveklabnik · 2020-11-29 · in Apple Silicon M1: A Developer's Perspective