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. …`align_of`, and `align_of_val` to the prelude, which means they don't need to be imported anymore: https://github.com/rust-lang/rust/pull/123168/
    comment by CryZe · 2024-07-25 · in Rust 1.80.0
  2. ▲ 26
    Rust is getting support for NuttX
    story by acassis · 2024-07-19 · 0 comments
  3. …There's an experiment in progress to see if guaranteed tail calls can be added to the language https://github.com/rust-lang/rust/issues/112788
    comment by the8472 · 2024-07-13 · in Beating the Compiler
  4. …OpenSSL seems to sidestep[3] the issue by using the PID as part of its salt internally. 1: https://github.com/rust-lang/rust/issues/16799 2: https://bugs.ruby-lang.org/issues/4579 3: https://wiki.openssl.org/index.php/Random_fork-safety
  5. …Windows, BSD, x86, x64, Arm) failed to provide monotonicity despite their own documentation: https://github.com/rust-lang/rust/blob/80184183ba0a53aa4f491...
  6. …threads happened, and so I'd figure I'd chime in and let you know the details. Super specifically, https://github.com/rust-lang/rust/pull/18967 , on Nov 21, 2014, is when it was actually removed.
  7. ▲ 3
    New sort implementations merged in the Rust standard library – up to 2x faster
    story by thunderbong · 2024-06-25 · 0 comments
  8. ▲ 3
    New sort implementations merged in the Rust standard library – up to 2x faster
    story by todsacerdoti · 2024-06-24 · 0 comments
  9. …multiples of a cache line - maybe to help the prefetcher or to minimize cache line bouncing?) [1] https://github.com/rust-lang/rust/blob/master/library/alloc/... [2] https://github.com/abseil/abseil-cpp/blob/74f8c1eae915f90724... [3]…
  10. …to match the range of a 64-bit floating point value until you use 512-bit integral math!) [0]: https://github.com/rust-lang/rust/issues/83973 Godbolt link: https://godbolt.org/z/EqrEqExnc
    comment by ComputerGuru · 2024-06-22 · in Own Constant Folder in C/C++
  11. …stacked one atop the other, and a tiny change here can end up with huge changes there. [0]: https://github.com/rust-lang/rust/pull/91743
    comment by ComputerGuru · 2024-06-22 · in Own Constant Folder in C/C++
  12. Thanks! Yes, I think it was the last one, https://github.com/rust-lang/rust/issues/25860 . But I'm not 100% sure.
  13. It's either https://github.com/rust-lang/rust/issues/112905 , https://github.com/rust-lang/rust/issues/84366 or (most likely) https://github.com/rust-lang/rust/issues/25860 . It can be argued that those are bugs of the compiler, not the…
    comment by estebank · 2024-06-20 · in Zig vs. Rust at work: the choice we made
  14. https://github.com/rust-lang/rust/issues/111423
  15. …had to submit patches to LLVM to make it possible for languages to opt out of C++-style semantics: https://github.com/rust-lang/rust/issues/28728
    comment by kibwen · 2024-06-01 · in Moving Beyond Type Systems
  16. …1111____ xxxxxxxx xxxxxxxx [...] It seems to be more fussy about compiler optimizations, though: https://github.com/rust-lang/rust/issues/125543
    comment by jmillikin · 2024-05-27 · in vu128: Efficient variable-length integers
  17. …the process and the fuse server. So the kernel is in a position to uphold its API contract. [0] https://github.com/rust-lang/rust/issues/89522#issuecomment-...
    comment by the8472 · 2024-05-26 · in Signalfd Is Useless (2015)
  18. …very recently and have limitations) or jump through hoops[0] to get the pidfd from the child. [0] https://github.com/rust-lang/rust/blob/21e6de7eb64c09102de3f...
    comment by the8472 · 2024-05-25 · in Signalfd Is Useless (2015)
  19. …functionality and also split the dependencies Static site generator is mostly in the Rust itself: https://github.com/rust-lang/rust/tree/master/src/librustdoc
    comment by nicce · 2024-05-21 · in Enlightenmentware
  20. Rust, the language itself depends on 220 packages: https://github.com/rust-lang/rust/blob/e8753914580fb42554a79... If you trust nobody, it is hard to use anything. But about your second note, (environment, mismatched dependencies), I would…
    comment by nicce · 2024-05-21 · in Enlightenmentware
  21. …[3]: https://www.ralfj.de/blog/2023/06/02/tree-borrows.html [4]: https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... [5]: https://github.com/Speykious/cve-rs
  22. …of Rust early on[1], who's been working with the language for 14 years at that point. [1] https://github.com/rust-lang/rust/graphs/contributors?from=2... and he's still #16 in commits overall today, despite almost no activity on the rust…
    comment by littlestymaar · 2024-05-07 · in Rust to .NET compiler – Progress update
  23. Links with more info on the current state of deref patterns https://github.com/rust-lang/rust/issues/87121 https://hackmd.io/4qDDMcvyQ-GDB089IPcHGg
    comment by airstrike · 2024-05-02 · in Rust: Box Is a Unique Type
  24. Here's an example of someone citing a disagreement between CRT and shell32: https://github.com/rust-lang/rust/issues/44650 This in addition to the Rust CVE mentioned elsewhere in the thread which was rooted in this issue:…
  25. …for that experience. I wonder if more prevalent uses of `#[doc(alias = "name")]` being leveraged by https://github.com/rust-lang/rust/pull/120730 (which now that I check only accounts for methods and not functions, I should get on that!)…
    comment by estebank · 2024-04-22 · in I hate Rust (programming language)
  26. ▲ 3
    Rust Weird Exprs
    story by connormon · 2024-04-12 · 1 comment
  27. ▲ 3
    Critical safety flaw found in Rust on Windows (CVE-2024-24576)
    story by stephc_int13 · 2024-04-10 · 1 comment
  28. Almost fixed the compiler: https://github.com/rust-lang/rust/pull/123325
  29. …PR handy for showing Github's rendering of changes in the SVG (text, side-by-side, swiping) but https://github.com/rust-lang/rust/pull/121877/files has newly added SVGs. To see what is supported, see the screenshot in the docs:…
  30. …vendoring Packages containing only source is a consequence of the Rust ABI still stabilizing, see: https://github.com/rust-lang/rust/pull/105586 After ABI stabilization, Rust libraries will be first class like any other language.
  31. …as a feature by any Rust developers I know of. The Rust ABI is merely still stabilizing. See: https://github.com/rust-lang/rust/pull/105586
  32. …The main issue is that it's very hard to propagate information found through matching . [0]: https://github.com/rust-lang/rust/pull/120131
    comment by demurgos · 2024-03-28 · in A step beyond Rust's pattern matching
  33. ▲ 3
    Enable frame pointers for the Rust standard library
    story by formerly_proven · 2024-03-24 · 0 comments
  34. …[3] - https://blog.rust-lang.org/2023/11/09/parallel-rustc.html [4] - https://github.com/rust-lang/rust/issues/39915
    comment by nindalf · 2024-03-18 · in Cranelift code generation comes to Rust
  35. …STL but languages and compilers struggle to emit the cmov properly (Rust’s been broken for 6 years: https://github.com/rust-lang/rust/issues/53823 ). Prefetch is an interesting one because while you do optimize the binary search in a micro…
    comment by vlovich123 · 2024-03-16 · in Algorithms for Modern Hardware
  36. …up the details, but IIRC at least Windows? Implementations of the standard library mutexes are here https://github.com/rust-lang/rust/tree/master/library/std/sr... And of course it’s pthreads on Linux.
    comment by steveklabnik · 2024-03-06 · in Dada, an experimental new programming language
  37. …now (hard to tell because it hasn't been close enough to stabilization to be properly documented): https://github.com/rust-lang/rust/pull/68524 As for Polonius changing the underlying mental model, I think this is a natural progression.…
    comment by kibwen · 2024-03-05 · in Borrow checking without lifetimes
  38. …and you can't pass values into resume and get them out from the yield statement in the coroutine ( https://github.com/rust-lang/rust/issues/43122#issuecomment-... ). > and they aren't separate from async, they're the foundation that async…
    comment by logicprog · 2024-03-05 · in Borrow checking without lifetimes
  39. …a thread is spawned before a signal is generated (& right after the signal handler is installed): https://github.com/rust-lang/rust/blob/26907374b9478d84d766a... It doesn't look like there's any UB behavior being relied upon but I could…
  40. …and there is a chance this doesn't get stabilized, but here's hoping it makes it through! [0]: https://github.com/rust-lang/rust/pull/107606 [1]: https://cohost.org/oli-obk/post/165584-ranged-integers-via [2]:…
  41. …for SIGSEGV and checks if the faulting address falls within the range of the stack guards. See https://github.com/rust-lang/rust/blob/411f34b/library/std/s... The stack guards would normally be setup by the system runtime (e.g. kernel in…
  42. …you can e.g. target a RTOS or whatever. It looks like that work started really recently actually: https://github.com/rust-lang/rust/commit/99128b7e45f8b95d962...
  43. The issue in question, https://github.com/rust-lang/rust/issues/49206 , is such an edge case that there are 0 known examples of it causing a problem in practice, despite the issue being around for many years.
  44. …in practice. If there are problems with Rust's type system, they're identified and patched. [1]: https://github.com/rust-lang/rust/issues/25860#issuecomment-...
  45. > unsound issues Apparently there's 84 open issues which the Rust developers consider unsound issues. https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... That's it. Rust's claims are over and done with. How can it be safe if…
  46. https://github.com/rust-lang/rust/issues/25860#issuecomment-... “Similarly, the reason why niko's approach is not yet implemented is simply that getting the type system to a point where we even can implement this is Hard. Fixing this bug…
  47. …constraints like this become explicit but inferred? Sort of like this proposal from the GH issue: https://github.com/rust-lang/rust/issues/25860#issuecomment-... but the "where" clause is inferred at compile time. If so I wouldn't call…
  48. Seems to rely on at least one known compiler bug (admittedly one open since 2015) https://github.com/rust-lang/rust/issues/25860
  49. ▲ 3
    An Oddity in the Rust Compiler
    story by liamswayne · 2024-02-12 · 0 comments
  50. …regressions and in some cases it may even cause unnecessary stack spilling of sensitive data: https://github.com/rust-lang/rust/issues/88930#issuecomment-...