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. …using std::thread::scope.[4] [1]: https://doc.rust-lang.org/std/thread/#the-threading-model [2]: https://github.com/rust-lang/rust/blob/7042c269c166191cd5d8d... [3]: https://github.com/rust-lang/rust/blob/7042c269c166191cd5d8d... [4]:…
  2. …vital for a systems language. One feature they have taken to is throwing panics on OOM conditions: https://github.com/rust-lang/rust/issues/43596 These "panics" can unwind the stack and be caught with panic::catch_unwind, but with the…
    comment by netbsdusers · 2024-09-14 · in Safe C++
  3. Rust was bootsrapped in OCaml. https://github.com/mozilla/rust/tree/ef75860a0a72f79f97216f8...
    comment by itishappy · 2024-09-12 · in Why Haskell?
  4. > See the somewhat recent troubles in Rust: https://github.com/rust-lang/rust/security/advisories/GHSA-q... FYI this started out as a vulnerability in yt-dlp [1]. Later it was found to impact many other languages [2]. Rust, along with…
    comment by SkiFire13 · 2024-09-09 · in Windows NT vs. Unix: A design comparison
  5. …written by Microsoft have different interpretations. See the somewhat recent troubles in Rust: https://github.com/rust-lang/rust/security/advisories/GHSA-q...
  6. https://github.com/rust-lang/rust/pull/128271 This one was fun too: https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html Basically, anything that gets a .1 or .2 type release. Also, shout out to the Rust community for maintaining and…
  7. …greatly benefits from the SSO, so the lack of SSO in Rust is less important compared to C++. [1] https://github.com/rust-lang/rust/issues/4991 [2] https://github.com/rust-lang/rust/issues/20198 [3] https://github.com/rust-lang/rfcs/pull/299…
    comment by lifthrasiir · 2024-09-04 · in An Optimization That's Impossible in Rust
  8. …in their suggestions, or have proposals for better output in specific cases, please file a ticket: https://github.com/rust-lang/rust/issues?q=is%3Aissue+label%...
    comment by estebank · 2024-08-30 · in Rust's Ugly Syntax (2023)
  9. …syntax because that will be too verbose. [1] https://doc.rust-lang.org/reference/keywords.html [2] https://github.com/rust-lang/rust/issues/39412
    comment by lifthrasiir · 2024-08-30 · in Rust's Ugly Syntax (2023)
  10. …and a PR I sent in for the Rust compiler to speed it up for some low hanging fruit: https://github.com/rust-lang/rust/pull/110477 I'll have to revisit this blog at some point and see what I should update, as well as a "From Rust to Julia"…
    comment by miguelraz · 2024-08-29 · in From Julia to Rust (2021)
  11. …to go through u32/from_bits, but apparently that feature is still behind feature gate in Rust https://github.com/rust-lang/rust/issues/91399 That is despite the fact that it is a IEEE-754 required operation! C and friends have equivalent…
    comment by zokier · 2024-08-29 · in Floating points between zero and one
  12. …any special options which the official builders might not be passing. Hopefully not. See also: https://github.com/rust-lang/rust/issues/75362
    comment by comex · 2024-08-26 · in Writing a Rust compiler in C
  13. …clang is for C/C++? The rustc source tree currently includes LLVM, GCC, and Cranelift backends: https://github.com/rust-lang/rust/blob/c6db1ca3c93ad69692a4c... (Cranelift itself is written in Rust.)
    comment by mbrubeck · 2024-08-26 · in Writing a Rust compiler in C
  14. …that aren't ever used but the linker isn't capable of removing the corresponding debug info. https://github.com/rust-lang/rust/issues/56068
    comment by khuey · 2024-08-24 · in I sped up serde_json strings by 20%
  15. …just ran across simdutf8 and realized the pr for simd-enabled uft8 parsing is coming up on 5 years: https://github.com/rust-lang/rust/issues/68455
    comment by spense · 2024-08-23 · in I sped up serde_json strings by 20%
  16. …the compiler expectedly panicked. this is a feature. > = note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-...
    comment by xcdzvyn · 2024-08-23 · in Python’s Preprocessor
  17. "green threads" as discussed in TFA don't require a runtime. The relevant issues are maybe https://github.com/rust-lang/rust/issues/33368 and https://internals.rust-lang.org/t/what-is-the-current-safety...
  18. …to gauge its actual impact. [1] https://internals.rust-lang.org/t/type-inference-breakage-in... [2] https://github.com/rust-lang/rust/issues/127343 [3] https://hackmd.io/xS913qb6QFCGHrdHB0uhBw#nominated-rusttf127... [4]…
    comment by lifthrasiir · 2024-08-21 · in Rust 1.80.0 breaks existing code
  19. …Again, you're gonna have to cite what you're talking about because Rust definitely has unit tests: https://github.com/rust-lang/rust/blob/master/library/core/t... > Parts of Qt. The Vala programming language, Ada GNAT... and many others.…
    comment by dataflow · 2024-08-19 · in Algorithms we develop software by
  20. …reddit.com/r/cpp/comments/1b55686/maybe_possible... Here's the Rust change which was merged for 1.78: https://github.com/rust-lang/rust/pull/121956/
    comment by tialaramex · 2024-08-14 · in Rust Atomics and Locks (2023)
  21. …you like them or not. (This is also why the list is not as exhaustive, as it needn't to be.) [1] https://github.com/rust-lang/rust/pull/92469/files
    comment by lifthrasiir · 2024-08-13 · in 0xCAFEBABE & 0xFEEDFACE (2003)
  22. …magic numbers like these edit: yes, 0xCAFEBABE is a warning but 0xFEEDFACE is not: 3405691582 https://github.com/rust-lang/rust/blob/d0ea1d767925d53b2230e...
    comment by novagameco · 2024-08-13 · in 0xCAFEBABE & 0xFEEDFACE (2003)
  23. …lead to UB The only thing that comes to mind that this could be referring to are the open bugs at https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... . Are these what you're referring to? > this infernal 'internal compiler…
    comment by estebank · 2024-07-30 · in Translating All C to Rust (TRACTOR)
  24. …https://doc.rust-lang.org/1.26.0/std/vec/struct.Vec.html#met... https://github.com/rust-lang/rust/issues/27779#issuecomment-...
  25. …`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
  26. …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
  27. …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
  28. …Windows, BSD, x86, x64, Arm) failed to provide monotonicity despite their own documentation: https://github.com/rust-lang/rust/blob/80184183ba0a53aa4f491...
  29. …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.
  30. …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]…
  31. …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++
  32. …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++
  33. Thanks! Yes, I think it was the last one, https://github.com/rust-lang/rust/issues/25860 . But I'm not 100% sure.
  34. 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
  35. https://github.com/rust-lang/rust/issues/111423
  36. …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
  37. …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
  38. …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)
  39. …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)
  40. …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
  41. 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
  42. …[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
  43. …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
  44. 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
  45. 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:…
  46. …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)
  47. Almost fixed the compiler: https://github.com/rust-lang/rust/pull/123325
  48. …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:…
  49. …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.
  50. …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