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. Alright, and as a versioned link that'll be: https://github.com/rust-lang/rust/blob/7d8386f05cedf33c7475c... Thank you!
    comment by LoganDark · 2023-08-11 · in Fastest branchless binary search
  2. …It depends on the generic_const_exprs feature which is still, to quote, "highly experimental": https://github.com/rust-lang/rust/issues/76560 Definitely not for production use, but it gives a flavor for where things can head in the medium…
    comment by dgacmu · 2023-08-08 · in Candle: Torch Replacement in Rust
  3. …Either I remembered wrong or it's changed. Now it uses some kind of custom wrapper around Box: https://github.com/rust-lang/rust/blob/master/compiler/rustc... So actually, the Rust compiler itself uses owned children in its AST!
    comment by foldr · 2023-08-08 · in Compiler Development: Rust or OCaml?
  4. …it in nightly but not in stable[1]: https://rust-lang.github.io/rfcs/2294-if-let-guard.html [1] https://github.com/rust-lang/rust/issues/51114
    comment by nequo · 2023-08-08 · in Compiler Development: Rust or OCaml?
  5. …kernel APIs (unshare(CLONE_NEWUSER) for instance) simply cannot be used from regular Go code. [1]: https://github.com/rust-lang/rust/issues/62314 [2]: https://github.com/golang/go/issues/61751
  6. You would report it on our issue tracker. Here is an example of what that would look like: https://github.com/rust-lang/rust/issues/114324 Even if you can't reproduce it, the backtrace can be enough to figure out the problem, or at least…
  7. Really, I'm quite hopeful for crabi: https://github.com/rust-lang/rust/pull/105586 An ABI for languages with a proper type system seems fantastic. Swift, Rust, Nim, D all share very similar type systems (and memory management systems) and…
    comment by j-james · 2023-08-01 · in Nim 2.0
  8. …step expand into "create an issue and then fill out an elaborate questionnaire"? For instance, https://github.com/rust-lang/rust/blob/master/.github/ISSUE_... isn't... bad for what it is, but it's definitely asking for enough work that it…
  9. …to expect that any alternative service would require some kind of login to cut down on spam. [1]: https://github.com/rust-lang/rust/pull/114128
  10. …a pre-filled link with a one-click submit and an optional "contact me at [email]" field. --- [1]: https://github.com/rust-lang/rust/issues/93701 implies they do this too. They made or already had a github account, have run multiple…
  11. …exposing latent LLVM bugs and having to disable them). There’s more that can be done here, see e.g. https://github.com/rust-lang/rust/issues/16515 There are also soundness issues around async/await: https://github.com/rust-lang/rust/issues/…
  12. …post[2] which gives a decent intro on the concept and what it could be used for down the line. [1]: https://github.com/rust-lang/rust/pull/107606 [2]: https://cohost.org/oli-obk/post/165584-ranged-integers-via [3]:…
  13. …it wrong" problem. Edit: here is the - still open - issue about higher-ranked lifetime errors: https://github.com/rust-lang/rust/issues/102211
  14. 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
  15. …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
  16. …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
  17. …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
  18. …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
  19. > not a struct like `Result` Minor nitpick, but it's an enum. https://github.com/rust-lang/rust/blob/master/library/core/s...
  20. …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
  21. …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
  22. 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
  23. …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”
  24. …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...
  25. 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
  26. 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/ .
  27. Their issue tracker has a label for soundness holes: https://github.com/rust-lang/rust/labels/I-unsound
  28. oh my, hadn't known about this yet - 8 years and still unsolved: https://github.com/rust-lang/rust/issues/25860
  29. …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
  30. …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.
  31. …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…
  32. 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
  33. …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...
  34. …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)
  35. …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
  36. …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...
  37. …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)
  38. 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
  39. 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
  40. …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
  41. I think you missed "Add support for custom allocators in Vec": https://github.com/rust-lang/rust/pull/78461
  42. …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…
  43. …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
  44. …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…
  45. …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...
  46. …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
  47. …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 ).
  48. …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
  49. 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)
  50. > 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