Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,043 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. …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
  2. …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
  3. 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
  4. 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
  5. …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
  6. ▲ 3
    Rust 1.46.0 (pre-release notes)
    story by tosh · 2020-08-25 · 0 comments
  7. 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…
  8. 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.
  9. 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
  10. …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
  11. ▲ 48
    AVR support merged into Rust nightly
    story by zargon · 2020-08-11 · 5 comments
  12. …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...
  13. 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
  14. …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…
  15. ▲ 2
    A subset of const generics getting stabilized in Rust
    story by agluszak · 2020-07-29 · 0 comments
  16. 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
  17. ▲ 2
    Rust nightly now supports AVR platform
    story by couchand · 2020-07-24 · 0 comments
  18. …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
  19. …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
  20. Yes: https://github.com/rust-lang/rust/pull/65819
    comment by Rusky · 2020-07-16 · in Shipping Const Generics in 2020
  21. …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
  22. …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]:…
  23. 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...
  24. 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…
  25. …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…
  26. 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
  27. …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
  28. …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
  29. ▲ 4
    Rust team is going to replace whitelist with allowlist
    story by sschueller · 2020-07-08 · 2 comments
  30. …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
  31. …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
  32. …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
  33. 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.…
  34. ▲ 3
    Rust Lang's 2.4k+ Todo Comments
    story by patrickdevivo · 2020-06-06 · 0 comments
  35. …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
  36. 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)
  37. …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)
  38. ▲ 1
    Not entirely sure what this is describing
    story by alex_hirner · 2020-05-29 · 0 comments
  39. …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...
  40. …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
  41. …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
  42. …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
  43. 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
  44. 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
  45. …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
  46. …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
  47. ▲ 2
    Rust doesn't build without “Python” name being available
    story by garyng · 2020-05-03 · 0 comments
  48. …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
  49. …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
  50. …seems reasonable. There is also slice matching on stable, which let's you match on parts of slices: https://github.com/rust-lang/rust/pull/67712/ . It went out in 1.42. It has some stuff which makes binary stuff easier, but not by much.…
    comment by swsieber · 2020-04-30 · in Enigma: Erlang VM Implementation in Rust