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. …it wrong" problem. Edit: here is the - still open - issue about higher-ranked lifetime errors: https://github.com/rust-lang/rust/issues/102211
  2. ▲ 2
    Rust 1.71.0 Is Released
    story by sedatk · 2023-07-14 · 0 comments
  3. It’s been shipping printers for a few years: https://github.com/rust-lang/rust/pull/72357 Though that “only” dates back to 2020 so people with experience older than that would have had a worse experience, and may have ended once bitten…
    comment by masklinn · 2023-07-13 · in Rust 1.71.0
  4. …by default for the standard library) to be taking care of this relatively well - e.g. looking at https://github.com/rust-lang/rust/pull/72357 it appears that `HashMap` and `HashSet` have printers. (Raw C++ data structures without some form…
    comment by mark_undoio · 2023-07-13 · in Rust 1.71.0
  5. …struct accordingly, but that's going to be a painful exercise and a maintainability nightmare. [1] https://github.com/rust-lang/rust/issues/62958 [2] https://github.com/rust-lang/rust/issues/62952 [3] https://github.com/rust-lang/rust/issue…
    comment by 10000truths · 2023-07-12 · in Storing Data in Control Flow
  6. …still extra-unstable, and last I checked, there were issues with generator size optimizations ( https://github.com/rust-lang/rust/issues/59087 ). C++20 coroutines are similarly opaque and cannot be allocated as a contiguous array.
    comment by 10000truths · 2023-07-11 · in Storing Data in Control Flow
  7. ▲ 30
    Rust – 350MB-long type name regression in 1.46
    story by nethunters · 2023-07-10 · 1 comment
  8. …pointers have addresses that are always a multiple of the alignment used for struct layout. [0] https://github.com/rust-lang/rust/issues/112480
    comment by LegionMammal978 · 2023-06-30 · in Structures in C: From Basics to Memory Alignment
  9. > not a struct like `Result` Minor nitpick, but it's an enum. https://github.com/rust-lang/rust/blob/master/library/core/s...
  10. …turning this on because of numerous LLVM miscompilation issues. It was turned on two years ago in https://github.com/rust-lang/rust/pull/82834 but was subsequently rolled back in https://github.com/rust-lang/rust/pull/86036 because of a…
    comment by cyber_kinetist · 2023-06-18 · in Rust vs Zig Benchmarks
  11. …for pools, you can find relevant discussion at [2]. [0] https://github.com/fitzgen/bumpalo [1] https://github.com/rust-lang/rust/issues/32838 [2] https://news.ycombinator.com/item?id=36353145 Edit: formatting.
    comment by tw061023 · 2023-06-18 · in Rust vs Zig Benchmarks
  12. this forgets https://github.com/rust-lang/rfcs/pull/3127 and https://github.com/rust-lang/rust/issues/111540
    comment by transportheap · 2023-06-15 · in This Week in Rust 499
  13. ▲ 3
    Rust lang adding privacy and reproducibility to compiler by default
    story by transportheap · 2023-06-13 · 0 comments
  14. …https://unix.stackexchange.com/questions/729342/performance-... https://github.com/rust-lang/rust/issues/70108 https://news.ycombinator.com/item?id=23080290 https://vector.dev/highlights/2020-07-09-add-musl-and-glibc-... T
    comment by still_grokking · 2023-06-13 · in Debian 12 “Bookworm”
  15. …eventually the author abandons the linked PR because of a better approach found with ipnsort: https://github.com/rust-lang/rust/pull/100856#issuecomment-1...
  16. Eh, the `OsStr` API has warts still, some parts are unstable ( https://github.com/rust-lang/rust/issues/111544 ).
    comment by Georgelemental · 2023-06-07 · in Cuneicode, and the Future of Text in C
  17. I came across this issue in Rust recently: https://github.com/rust-lang/rust/issues/57893 . I thought it was interesting since it lets you easily write transmute in safe Rust: https://zyedidia.github.io/blog/posts/5-safe-transmute/ .
  18. Their issue tracker has a label for soundness holes: https://github.com/rust-lang/rust/labels/I-unsound
  19. oh my, hadn't known about this yet - 8 years and still unsolved: https://github.com/rust-lang/rust/issues/25860
  20. …ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919> = help: call with fully qualified syntax `num::Integer::div_ceil(...)` to keep using the…
    comment by Gwypaas · 2023-06-05 · in The Rust I wanted had no future
  21. …much the process or politics, but allocator_api feels like it is stuck in permanent limbo. https://github.com/rust-lang/rust/issues/32838 -- opened 6 years ago, still pending.
  22. …and chose not to invest any time into adopting Rust after observing various happenings like this < https://github.com/rust-lang/rust/pull/25585 > PR. Their supposed dedication to being "nice" has ever been bound to degenerate into…
  23. According to github rust has been forked 10,819 times... https://github.com/rust-lang/rust/forks
    comment by pengaru · 2023-05-30 · in Rust has been forked to the Crab Language
  24. …the compiler has a specific optimized code path for the (already older) include_bytes! macro: https://github.com/rust-lang/rust/pull/103812#issuecomment-1...
  25. …is hard, so it usually isn't worth it. Even random hash order in hashmaps can create problems: see https://github.com/rust-lang/rust/issues/84447 and https://github.com/rust-lang/rust/pull/82272#issuecomment-82... , though this is a very…
    comment by armchairhacker · 2023-05-30 · in Why Learn Compilers (2021)
  26. …was written in OCaml. (I know you know that; I'm just highlighting how apt the analogy was. :) https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216...
    comment by cpeterso · 2023-05-27 · in Oxidizing OCaml: Locality
  27. …rust compiler is emitting these escape sequences for colours outwith the AIXTerm 16 colour set. * https://github.com/rust-lang/rust/blob/master/compiler/rustc...
  28. …Windows XP support, the fallback code for panic!() in Rust was broken when running on Windows XP ( https://github.com/rust-lang/rust/issues/34538 ).
    comment by cesarb · 2023-05-17 · in I Still Use Windows 95 (2008)
  29. I have put a bug report where my mouth is. https://github.com/rust-lang/rust/issues/111272
    comment by ridiculous_fish · 2023-05-06 · in Ask not what the compiler can do for you
  30. Check this out: https://github.com/rust-lang/rust/issues/111177
    comment by Narsagna · 2023-05-05 · in Ask not what the compiler can do for you
  31. …there is a decent amount of undefined behavior on stack overflow in Rust, due to its use of TLS. https://github.com/rust-lang/rust/issues/43146
    comment by ridiculous_fish · 2023-05-05 · in Ask not what the compiler can do for you
  32. I think you missed "Add support for custom allocators in Vec": https://github.com/rust-lang/rust/pull/78461
  33. …lists: > Has driven changes in upstream Rust: more try_ methods for Vec that don't panic in OOM: https://github.com/rust-lang/rust/pull/95051 I was curious to have a look at that PR, but it seems it was closed after a long discussion…
  34. ▲ 2
    Tracking Issue for experimental yeet expressions (Rust)
    story by enricozb · 2023-04-28 · 0 comments
  35. …but not the other... right? When I say "under-specified", I meant something like this: https://github.com/rust-lang/rust/pull/105300/ quote> I claim it's more correct as well because it fixes #104639. There is no spec. Just a bunch of…
    comment by j16sdiz · 2023-04-25 · in GCC 13 and the State of Gccrs
  36. …all a "sufficiently motivated" attacker would need to do is peruse the unsound bugs on GitHub? https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... Those aren't considered to be security issues. Makes me wonder what the point of…
  37. …Rust keeps a list of soundness bugs via a tag on github - they're pretty common: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...
  38. …was put into it. The compiler diagnostics use a very different system than your error types. (eg https://github.com/rust-lang/rust/blob/master/compiler/rustc... ). I think your approach adds a lot of value to a very generic library, but…
    comment by iudqnolq · 2023-04-09 · in Modular Errors in Rust
  39. …issues, the total mess of C++ templates). Rust's generics also have some dark corners (e.g. https://github.com/rust-lang/rust/issues/84857 ).
  40. …flow of their containing function. These two annoyances could be resolved with: - async iterators https://github.com/rust-lang/rust/issues/79024 - an extension trait for iterators over results: https://crates.io/crates/iterr
    comment by zamalek · 2023-04-06 · in Rust's Poor Composability
  41. Some fun ones at https://github.com/rust-lang/rust/blob/master/tests/ui/weird...
    comment by scoopr · 2023-03-30 · in Wat [video] (2012)
  42. > The standard library depends on external crates? Yes: https://github.com/rust-lang/rust/blob/478cbb42b730ba4739351... Of course it is not "some random" crate; all of them is either in the same repository (when `path` is used) or in other…
    comment by lifthrasiir · 2023-03-29 · in Rust Is a Scalable Language
  43. 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
  44. …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
  45. 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
  46. …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
  47. …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…
  48. …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...
  49. …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]:…
  50. …*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