Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,011 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. …passes that turn out to be broken because they're not really used by the broader C/C++ community ( https://github.com/rust-lang/rust/issues/54878 ).
    comment by vlovich123 · 2023-02-28 · in Will Carbon Replace C++?
  2. …unsafe trait in the standard library and will likely never be stabilized in its current form. [0] https://github.com/rust-lang/rust/blob/f540a25745e03cfe9eac7...
    comment by the8472 · 2023-02-27 · in Zig's multi-sequence for loops
  3. …type (like your "MyRange" example), there has been some experimentation in this direction in Rust: https://github.com/rust-lang/rust/pull/107606
    comment by Georgelemental · 2023-02-27 · in Idris 2 0.6.0 is now available for the JVM
  4. It's notable that Elektrobit seems to work on getting Rust on QNX: https://github.com/rust-lang/rust/pull/106673
  5. This is the commit in the Rust repository that achieves the speedup by reducing branch misprediction: https://github.com/rust-lang/rust/commit/b7089e0dd3e988270f3... Do I understand correctly why this works? In the `if` condition on line…
  6. ▲ 4
    Speedup Rust's heapsort by 1.5x by making it branchless
    story by pykello · 2023-02-21 · 1 comment
  7. GitHub works great for it, for diagnostic tickets in particular you can file them at https://github.com/rust-lang/rust/issues/new?assignees=&labe... Even if it is an "it hurts when I do this" without more context it can be useful to bring…
  8. ▲ 2
    Miscompilation: Equal pointers comparing as unequal · Issue #107975 · rust-lang
    story by todsacerdoti · 2023-02-15 · 0 comments
  9. …quality as a product and its future. [1] https://www.rust-lang.org/policies/code-of-conduct [2] https://github.com/rust-lang/rust/blob/d0ea1d767925d53b2230e...
  10. …it was broken anyway to the point where the Rust compiler had to disable it because of LLVM bugs. https://github.com/rust-lang/rust/issues/54878#issuecomment-... https://news.ycombinator.com/item?id=25624538
  11. …to run as a pure macOS app (albeit with the iPad layout) on both Apple Silicon and Intel, once https://github.com/rust-lang/rust/issues/106021 is fixed. Unfortunately making it a "real" macOS app is much harder, as the UI is currently uses…
  12. …are serious about the development. Sanitizers are part of official documentation in Rust [2]. [1] https://github.com/rust-lang/rust/issues/39699 [2] https://doc.rust-lang.org/unstable-book/compiler-flags/sanit...
  13. …are stabilized, it might help build lower cost and performant stackless coroutines in Rust.[3] [1] https://github.com/rust-lang/rust/issues/43122#issuecomment-... [2] https://github.com/rust-lang/rust/issues/43122#issuecomment-... [3]…
  14. …code design. Any useful programming language will always have the ability to mishandle data. [1] https://github.com/rust-lang/rust/issues
  15. Rust doesn't even have support for custom allocators in the language/stdlib. Still waiting on https://github.com/rust-lang/rust/issues/42774 . bumpalo doesn't cut it. Funny thing is that boring and sensible Go just came out with arenas…
  16. …(ASan, TSan, UBSan, etc.) though? The last time I've checked it was still a work in progress ( https://github.com/rust-lang/rust/issues/39699 ).
    comment by cyber_kinetist · 2023-02-05 · in I use C when I believe in memory safety
  17. Using mold might help in this case. https://github.com/rui314/mold https://github.com/rust-lang/rust/issues/94347
  18. …/software/make/manual/html_node/Job-Slots... [2]: https://github.com/rust-lang/cargo/issues/1744 [2]: https://github.com/rust-lang/rust/pull/42682 `nice cargo build` will run all threads at low priority, but this is generally a good idea…
  19. …Linux/Windows monotonic clocks are broken in some scenarios and will go back or just not increase. https://github.com/rust-lang/rust/pull/56988
  20. …proposal! I don't understand all the implications, but it seems to be in the right direction https://github.com/rust-lang/rust/pull/105586 [0] https://rustwasm.github.io/docs/wasm-bindgen/
  21. I think I might have been the first person who reported this in 2019: https://github.com/rust-lang/rust/issues/59087 It’s a pretty interesting problem. While everyone assumed that futures are lightweight and thereby more efficient than…
    comment by Matthias247 · 2023-01-28 · in The Size of Rust Futures
  22. …suite named "Bastion of the Turbofish" to pin down an example of the problem case, complete with https://github.com/rust-lang/rust/blob/43192ca3d72ed0ca42ba9...
    comment by ssokolow · 2023-01-27 · in Rust's Ugly Syntax
  23. …got stuck even after the "internal" iterator that accepts a closure has long gone. [1] https://github.com/rust-lang/rust/issues/1864
    comment by lifthrasiir · 2023-01-27 · in Rust's Ugly Syntax
  24. …1_i32.rem_euclid(-10) = 1 [src/main.rs:3] -1_i32.rem_euclid(10) = -1 I found only this issue https://github.com/rust-lang/rust/issues/87970 but has no details Here's the discussion that lead to the implementation of those functions, from…
    comment by nextaccountic · 2023-01-27 · in Modulo of negative numbers (2011)
  25. …quite nicely over the past few years after reaching a nadir of volunteer motivation in 2019; https://github.com/rust-lang/rust/pulse/monthly tells me that 178 discrete authors have contributed to just the rust-lang/rust repo over the past…
  26. …ability to deliver in future - has been expressed publicly by high profile past core contributors: https://github.com/rust-lang/rust/pull/96709#issuecomment-11... I don't think Rust should tackle any ambitious project to rewrite the…
    comment by thagsimmons · 2023-01-26 · in Thoughts on what a next Rust compiler would do
  27. Not mentioned in the release notes but the rust compiler now supports the Playstation 1 as a target. https://github.com/rust-lang/rust/pull/102689/
    comment by Narishma · 2023-01-26 · in Rust 1.67.0 released
  28. …is is a way to execute code. As an example, the Rust compiler has some [60+ open unsoundness bugs]( https://github.com/rust-lang/rust/labels/I-unsound ), meaning that there are many, many ways that a sequence of ostensibly safe code could…
  29. …I have read GATs (Generic Associated Types) are a deliberate choice to not have to introduce HKTs. https://github.com/rust-lang/rust/pull/96709#issuecomment-11...
    comment by Gwypaas · 2023-01-21 · in Rust in 2023: Growing Up
  30. …more stuff than you could do manually. A great example is the Rust compiler UI test suite ( https://github.com/rust-lang/rust/tree/master/tests/ui ). It doesn't have to be that your tests have large amounts of noise, like compiler UI tests…
  31. …by cargo check. Looks like monomorphization part is not caught during cargo check according to https://github.com/rust-lang/rust/issues/49292 Reporter of the bug says: > All of those happens somewhere inside librustc_mir, most of them…
  32. …version we can have realistically, and yes it provides net positive value in this current state". https://github.com/rust-lang/rust/pull/96709#issuecomment-12...
  33. ▲ 2
    Rust intends to force unsafe blocks in unsafe functions
    story by Subsentient · 2023-01-07 · 1 comment
  34. …in the official Rust docs, but looks like 128bit atomics have landed (on supported architectures): https://github.com/rust-lang/rust/blob/19bc8fb05ab083a315ee4...
  35. …ugly and footgun-filled UnsafeCell and raw pointers, unsafe confusing (and currently unsound, see https://github.com/rust-lang/rust/issues/63818 ) Pin, or experimental ghost cells ( https://plv.mpi-sws.org/rustbelt/ghostcell/paper.pdf ,…
  36. …help with incremental builds. And for repeated clean + full build cycles there's sccache[1]. [0] https://github.com/rust-lang/rust/pull/84762 [1] https://github.com/mozilla/sccache
  37. …code, on principle Not on principle, but an incomplete/unstable feature called specialization: https://github.com/rust-lang/rust/issues/31844
    comment by duped · 2023-01-04 · in Get Started with Rust: Generics
  38. …aims to expose a nicer way to glue rust idioms to similar or equivalent idioms in other languages. https://github.com/rust-lang/rust/pull/105586
    comment by ysleepy · 2023-01-02 · in The year of C++ successor languages
  39. ▲ 210
    Experimental Rust Feature: Safer Interoperable ABI
    story by mvelbaum · 2022-12-27 · 86 comments
  40. …(checked_add_signed[1]), but the subtraction one it looks like you'd need to roll your own. [1]: https://github.com/rust-lang/rust/issues/87840
  41. …the specific scenario I was interested in, but it doesn't improve anything for LLVM itself. [0] - https://github.com/rust-lang/rust/issues/88252
  42. Yup. Rust was originally written in OCaml https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216...
    comment by phplovesong · 2022-12-16 · in OCaml 5.0 Multicore is out
  43. …it always works with the newest version of rust and is already nearly complete after less work. ¹ https://github.com/rust-lang/rust/tree/master/compiler/rustc...
    comment by skitter · 2022-12-14 · in Rust front-end merged in GCC trunk
  44. …this topic was the Rust discussion on improving mutex and related types in their standard library: https://github.com/rust-lang/rust/issues/93740 A few posts later someone was discussing the implementation of various lock implementations…
  45. …=> maybe 1 grapheme cluster. Hope that helps either you, or someone else reading this. [0] https://github.com/rust-lang/rust/pull/24428
  46. https://github.com/rust-lang/rust/pulls?q=is%3Apr+author%3Ae... The aesthetics of syntax is a personal matter, but when the critique of a language focuses exclusively on its syntax, it tells me that the critique is skin deep. Semantics are…
    comment by estebank · 2022-12-01 · in Memory Safe Languages in Android 13
  47. > Edit: if you downvote, reply with a link to the last compiler you wrote. https://github.com/rust-lang/rust/
    comment by pcwalton · 2022-12-01 · in Memory Safe Languages in Android 13
  48. …`allow_internal_unsafe` which allows you to use unsafe code inside a macro. But after this PR( https://github.com/rust-lang/rust/pull/57467 ) was merged, you can no longer use this attribute when unsafe code is forbidden. So how can you…
    comment by kxxt · 2022-11-27 · in Safe Rust Code That Segfaults
  49. …of Vec have an example, which is doctested, and yet Vec still has an extensive suite of unit tests: https://github.com/rust-lang/rust/blob/master/library/alloc/... Technically you could use doctests as a literate-ish test framework…
    comment by masklinn · 2022-11-27 · in Doctests in R
  50. …{ fn foo(&self, t: T); } > Multiple if let cases They are a work in progress, available in nightly: https://github.com/rust-lang/rust/issues/53667 But they do require an extra level of parens in some cases, though I think that's…