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. …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
  2. …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
  3. …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
  4. …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
  5. …the arguments differently. Worse, even Microsofts two implementations (CRT and WINAPI) disagree: https://github.com/rust-lang/rust/issues/44650
  6. …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…
  7. …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
  8. 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.
  9. 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…
  10. …std library. https://play.rust-lang.org/?version=stable&mode=debug&editio... Report the issue in https://github.com/rust-lang/rust/issues/83648
  11. That's tracked by https://github.com/rust-lang/rust/issues/26179 by the way.
  12. …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
  13. …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?
  14. …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
  15. 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.
  16. …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…
  17. …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…
  18. 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
  19. 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
  20. …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
  21. …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
  22. 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
  23. …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
  24. …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
  25. …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
  26. …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
  27. 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
  28. 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
  29. 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
  30. …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
  31. …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…
  32. 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
  33. …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
  34. …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...
  35. …come to stable[1] [0] https://doc.rust-lang.org/nightly/unstable-book/language-fea... [1] https://github.com/rust-lang/rust/issues/31436
  36. …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...
  37. 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...
  38. …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
  39. …(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
  40. 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
  41. 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
  42. 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
  43. Rust is implemented in Rust ( https://github.com/rust-lang/rust )
  44. 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
  45. …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
  46. …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
  47. 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
  48. …[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
  49. 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
  50. Thanks for posting that link. I found the following issue because of it: https://github.com/rust-lang/rust/issues/80682