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. …for a while already (I actually forgot that the "basic" implementation is not yet stable!) [1] https://github.com/rust-lang/rust/issues/35121
    comment by Sharlin · 2020-09-23 · in Bottom Type in F#
  2. …accidentally end up copying an iterator you think you're mutating. A good example is provided here: https://github.com/rust-lang/rust/issues/48649#issuecomment-...
    comment by cmyr · 2020-09-21 · in My least favorite Rust type
  3. …last! Feature `min_specialization` seems to not be a non-crashing subset of specialization [1] [1] https://github.com/rust-lang/rust/pull/68970
    comment by akiselev · 2020-09-21 · in My least favorite Rust type
  4. https://github.com/rust-lang/rust/blob/2e0edc0f28c5647141bed...
    comment by kccqzy · 2020-09-21 · in My least favorite Rust type
  5. …calls being rejected despite being sound [2]. [1] https://github.com/rust-lang/rfcs/issues/2407 [2] https://github.com/rust-lang/rust/issues/6268
    comment by dlubarov · 2020-09-20 · in Why Not Rust?
  6. …though, so my intuition might have missed something important for the design of larger compilers: https://github.com/rust-lang/rust/blob/7bdb5dee7bac15458b10b... ]
    comment by remram · 2020-09-17 · in My Favorite Rust Function Signature
  7. …this: https://github.com/glandium/boxext Some more context. There used to be a `box` keyword too. https://github.com/rust-lang/rust/issues/50047
  8. Yes, compilation got a lot slower in 1.46 https://github.com/rust-lang/rust/issues/75992 and there has been some breakage with `type_length_limit` errors.
  9. std::fs::create_dir: https://github.com/rust-lang/rust/blob/7fc048f0712ba515ca11f... -> https://github.com/rust-lang/rust/blob/7fc048f0712ba515ca11f... -> https://github.com/rust-lang/rust/blob/7fc048f0712ba515ca11f... ->…
    comment by Arnavion · 2020-08-29 · in Don't trust default timeouts
  10. …to discussions from pre-1.0 does not help your assertion. std::fs::File's impl of std::io::Read: https://github.com/rust-lang/rust/blob/7fc048f0712ba515ca11f... -> https://github.com/rust-lang/rust/blob/7fc048f0712ba515ca11f... ->…
    comment by Arnavion · 2020-08-29 · in Don't trust default timeouts
  11. …an application unusable when trying a network filesystem or storage device that's unavailable. https://github.com/rust-lang/rust/issues/11214 To support user intervention when a task takes longer than expected, all blocking syscalls should…
    comment by networkimprov · 2020-08-29 · in Don't trust default timeouts
  12. Fascinating coincidence! It was probably the LLVM upgrade ( https://github.com/rust-lang/rust/pull/73526 ) landing, probably before the comment was even posted (but the nightly would only show up with the upgraded LLVM the next day).
    comment by eddyb · 2020-08-27 · in Bare Metal Rust Generics
  13. For the history of this feature request, see https://github.com/rust-lang/rust/issues/29608 as a starting point.
    comment by kibwen · 2020-08-27 · in Rust 1.46
  14. …when relative links will be available in rustdoc? Seems like it's just on the edge of stabilizing ( https://github.com/rust-lang/rust/pull/74430 ) but I'm curious how long it takes to see in a release after this happens.
    comment by orthecreedence · 2020-08-27 · in Rust 1.46
  15. This is currently a soundness bug in libstd: https://github.com/rust-lang/rust/issues/32670 (note: the bug was proposed to review by the libs team, but this review never happened, some prominent community members claim there that this is…
  16. What's your thoughts on #[no_mangle]? https://github.com/rust-lang/rust/issues/28179 Frankly Rust values being a usable language too much to be 100% sound.
  17. This is being worked on: https://github.com/rust-lang/rust/issues/67984
    comment by stjepang · 2020-08-14 · in Implementing a Type-safe printf in Rust
  18. …and behaviour or you can make it so you have to also change the function call site. Ever since https://github.com/rust-lang/rust/pull/34828 you can transform any `f` that takes a `T` into an `f` that takes an `Option<T>` without any of the…
    comment by renewiltord · 2020-08-12 · in Single Page Applications using Rust
  19. …of this year, 204 PRs[0] match a search for "@rust-timer queue", among 3393 total PRs[1]. [0]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerge... [1]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerge...
  20. ah good call found the P-critical https://github.com/rust-lang/rust/issues/74954
    comment by cpdean · 2020-08-03 · in Rust 1.45.2
  21. …for real memory safe languages. Rust is also neither type safe[2] nor concurrency safe[3]. 1: eg https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... but this is just the surface. alloca is not only unsafe but also security…
  22. Rust had bitcode support since 2018: https://github.com/rust-lang/rust/pull/48896
    comment by sanxiyn · 2020-07-28 · in OCaml: Add support to iOS/Mac ARM64
  23. …in terms of 32 bit numbers. I wonder if similar optimizations can be done to that code. [1]: https://github.com/rust-lang/rust/pull/38482 [0]: https://github.com/rust-lang/compiler-builtins/blob/master/s...
    comment by est31 · 2020-07-19 · in Optimizing 128-bit Division
  24. …of mine debug the porting process. (Apple did not see fit to give me access to the hardware, alas.) https://github.com/rust-lang/rust/issues/73908 has the full details. (Also, not to be super pedantic, but this (among other things) is…
    comment by steveklabnik · 2020-07-16 · in Rust 1.45
  25. Yes: https://github.com/rust-lang/rust/pull/65819
    comment by Rusky · 2020-07-16 · in Shipping Const Generics in 2020
  26. …panic for other overflow situations (like u64->u32), they chose consistency with those cases. https://github.com/rust-lang/rust/issues/10184#issuecomment-...
    comment by kd5bjo · 2020-07-16 · in Rust 1.45
  27. …for the variant. This can have quite dramatic impact on the quantity of errors being emitted. [1]: https://github.com/rust-lang/rust/blob/7e11379f3b4c376fbb9a6... [2]: https://github.com/rust-lang/rust/blob/7e11379f3b4c376fbb9a6... [3]:…
  28. The book mentions that fact. The commit that removed them (along with the rationale) is available at https://github.com/rust-lang/rust/commit/454882dcb7fdb03867d...
  29. And this is why the Turbofish exists in Rust. https://github.com/rust-lang/rust/blob/master/src/test/ui/ba... The key to parsing that is line 35. Is the line a tuple containing two booleans, the first the result of a less than, the second…
  30. …be the case, consider using LLD as you can see significant speed improvements to the linking step. https://github.com/rust-lang/rust/issues/39915#issuecomment-... https://doc.rust-lang.org/1.22.0/unstable-book/compiler-flag... If…
  31. Also, there are a lot of uses of macro_rules! in the Rust compiler and standard library repository. https://github.com/rust-lang/rust/search?q=macro_rules&type= Looking at some of those and reading https://doc.rust-lang.org/rust-by-example/…
    comment by 65536 · 2020-07-12 · in Tour of Rust
  32. …work is, but here's the initial implementation of the asmjs and wasm targets in rustc, for example https://github.com/rust-lang/rust/pull/36339 This is just true of any architecture. LLVM is a toolkit, it isn't magic.
    comment by steveklabnik · 2020-07-09 · in Moving from TypeScript to Rust / WebAssembly
  33. …there is no short term intent from the Rust team to do that. This is true but with an asterick; https://github.com/rust-lang/rust/pull/65875 ended up being closed with "please write an RFC," rather than "no."
    comment by steveklabnik · 2020-07-09 · in Moving from TypeScript to Rust / WebAssembly
  34. …then you can tell the chain to use it: time RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo build [0] https://github.com/rust-lang/rust/issues/39915
    comment by jiripospisil · 2020-06-17 · in The Rust compiler isn't slow; we are
  35. …say an after_parsing [1] hook). They're really helpful for making a deeply embedded DSL. [0] https://github.com/rust-lang/rust/issues/54726 [1] https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver...
    comment by _nhynes · 2020-06-16 · in Generics and Compile-Time in Rust
  36. …compile time by making parts of the Vec implementation in the standard library non-generic: https://github.com/rust-lang/rust/pull/72013
    comment by est31 · 2020-06-12 · in Minimizing Rust Binary Size
  37. You can track some of the history of the proposals here: https://github.com/rust-lang/rust/issues/29722 . A lot of the improvements you've suggested have been suggested in the past, but there's some reasons why they aren't being proposed.…
  38. …the underlying algorithms, the architecture, the things that are most relevant for humans. Just look at github.com/rust-lang/rust itself. People have time to write issues, explaining in them how to fix them for beginners, offering to…
    comment by fluffything · 2020-06-06 · in Why the developers who use Rust love it so much
  39. For in depth information on what specifically was merged see: https://github.com/rust-lang/rust/blob/master/RELEASES.md (These are the official release notes.)
    comment by Others · 2020-06-04 · in Rust 1.44 (async/await on embedded)
  40. …stack space used by all branches instead of just the maximum stack space used by any one branch : https://github.com/rust-lang/rust/issues/34283 (copy of lobste.rs comment)
  41. …problems is more than 0%. [1] https://blog.stalkr.net/2015/04/golang-data-races-to-break-m... [2] https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...
  42. …post https://stjepang.github.io/2019/03/02/new-channels.html with a link to a comment on GitHub: https://github.com/rust-lang/rust/pull/42397#issuecomment-31...
    comment by jankassens · 2020-05-20 · in Things I hate about Rust
  43. …the rust-analyzer approach drives that. Hah, this branch PR got merged 6 days ago into rust master: https://github.com/rust-lang/rust/pull/69406
    comment by pas · 2020-05-15 · in Five Years of Rust
  44. …Error::cause). The editions mechanism allowed fixing some issues (like unintuitive module paths). https://github.com/rust-lang/rust/issues?q=label%3Arust-2-br... • Struct literal syntax should have used C99 syntax. The language uses…
    comment by pornel · 2020-05-15 · in Five Years of Rust
  45. Many tickets are scored with a difficulty, and sometimes comes with a mentor: https://github.com/rust-lang/rust/labels?q=E- I think there are meaningful things a beginner can do. I'd be surprised if improving error messages would be…
    comment by swsieber · 2020-05-15 · in Five Years of Rust
  46. It's closer than it's ever been! The rough plan: * move asm! to llvm_asm. https://github.com/rust-lang/rust/pull/68404 * implement the actual asm! we want to stabilize: https://github.com/rust-lang/rfcs/pull/2873 * stabilize it
    comment by steveklabnik · 2020-05-12 · in RISC-V OS using Rust: Filesystems
  47. …mean "faster code" like you seem tobe suggesting. [0]: https://github.com/google/souper [1]: https://github.com/rust-lang/rust/blob/master/src/rustllvm/P...
    comment by fluffything · 2020-05-11 · in Make LLVM Fast Again
  48. …is building the debug symbols. A release build with no debug symbols will likely be fine. See: https://github.com/rust-lang/rust/issues/45854
  49. …a custom allocator (in this case, with the jemallocator crate) to make allocations fast again. [0]: https://github.com/rust-lang/rust/issues/36963 [1]: https://golang.org/src/runtime/malloc.go
    comment by pcr910303 · 2020-05-03 · in Making Rust as Fast as Go
  50. …always returned 0x4 [0], causing segfaults with no unsafe? [0]: chosen by fair dice roll EDIT: yep, https://github.com/rust-lang/rust/issues/28179
    comment by Gaelan · 2020-05-03 · in Rust in an Instant