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. Further down that GitHub issue, it mentions the problem has been fixed: * https://github.com/rust-lang/rust/issues/71871#issuecomment-... * https://github.com/rust-lang/rust/pull/79998 Weirdly though, there's another issue (opened prior)…
    comment by justinclift · 2023-03-25 · in The tug-of-war over server-side WebAssembly
  2. …compiled to Wasm. Since I was surprised to learn this, and to save everyone else the search, it's https://github.com/rust-lang/rust/issues/71871
  3. something about linking to rustc https://github.com/rust-lang/rust/issues/27812 i didn't look any futher.
    comment by calvinmorrison · 2023-03-17 · in The birth of a package manager
  4. …take a card, drop the &mut and then take the second player. At some point in the future I could use https://github.com/rust-lang/rust/issues/104642 to get_many_mut. I ended up with a pretty inefficient version of get_many_mut that fully…
    comment by phamilton · 2023-03-14 · in Switching from C++ to Rust
  5. …the try operator) In the interest of full and strict accuracy: see the enum’s full definition at https://github.com/rust-lang/rust/blob/d610b0c514b9ccb0dad5d... . There are a few points of specialness about Option that you can’t use…
  6. …seemingly no reason. There is a very good reason for this. Behold, the Bastion of the Turbofish. https://github.com/rust-lang/rust/blob/master/tests/ui/parse...
  7. …pointers or branch on invalid values (same case in Rust), not have invalid values at all. [0]: https://github.com/rust-lang/rust/issues/94133 [1]: https://gist.github.com/Darksonn/1567538f56af1a8038ecc3c664a... [2]:…
  8. …*mut [u8]) {}` is legal while `fn f(a: *mut [u8]) { a.len(); }` doesn't compile on stable due to https://github.com/rust-lang/rust/issues/71146 . Looks like raw slice pointers aren't fully baked yet.
    comment by nyanpasu64 · 2023-03-07 · in Zig as an alternative to writing unsafe Rust
  9. …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++?
  10. …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
  11. …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
  12. It's notable that Elektrobit seems to work on getting Rust on QNX: https://github.com/rust-lang/rust/pull/106673
  13. 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…
  14. 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…
  15. …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...
  16. …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
  17. …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…
  18. …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...
  19. …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]…
  20. …code design. Any useful programming language will always have the ability to mishandle data. [1] https://github.com/rust-lang/rust/issues
  21. 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…
  22. …(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
  23. Using mold might help in this case. https://github.com/rui314/mold https://github.com/rust-lang/rust/issues/94347
  24. …/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…
  25. …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
  26. …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/
  27. 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
  28. …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
  29. …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
  30. …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)
  31. …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…
  32. …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
  33. 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
  34. …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…
  35. …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
  36. …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…
  37. …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…
  38. …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...
  39. …in the official Rust docs, but looks like 128bit atomics have landed (on supported architectures): https://github.com/rust-lang/rust/blob/19bc8fb05ab083a315ee4...
  40. …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 ,…
  41. …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
  42. …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
  43. …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
  44. …(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
  45. …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
  46. 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
  47. …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
  48. …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…
  49. …=> maybe 1 grapheme cluster. Hope that helps either you, or someone else reading this. [0] https://github.com/rust-lang/rust/pull/24428
  50. 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