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. …severe though), but there are compatibility changes listed in the release notes very frequently: https://github.com/rust-lang/rust/blob/master/RELEASES.md
    comment by uecker · 2025-02-13 · in Resigning as Asahi Linux project lead
  2. …packages [1]. It was considered okay. At that point, I don't care what they say about semver. [1]: https://github.com/rust-lang/rust/issues/127343#issuecomment...
    comment by attractivechaos · 2025-02-13 · in Resigning as Asahi Linux project lead
  3. …Linux kernel in particular only uses core and not std, which makes this even more unlikely. [1]: https://github.com/rust-lang/rust/issues/72631
    comment by purplesyringa · 2025-02-13 · in Resigning as Asahi Linux project lead
  4. …of this, however. Rust's FFI also relies on undefined behavior if this comment isn't outdated https://github.com/rust-lang/rust/pull/59625#issuecomment-48... https://github.com/rust-lang/rust/blob/master/library/core/s... . Might not be an…
    comment by gauntletstricky · 2025-02-12 · in Rust kernel policy
  5. …and generic support is currently being implemented[0]. Slowly but surely, we're getting there! [0]: https://github.com/rust-lang/rust/issues/136574
  6. …Rust also has soundness holes, by the way. This one is almost 10 years old: https://github.com/rust-lang/rust/issues/25860
    comment by trott · 2025-02-09 · in Ada crate of the year 2024 announced
  7. …are a problem for supply chain security or any case where the Rust source is fully untrusted. [1]: https://github.com/rust-lang/rust/issues/25860 [2]: https://github.com/rust-lang/rust/issues/57893 [3]:…
  8. …of shorter compile times. [0] https://blog.rust-lang.org/inside-rust/2023/10/06/polonius-u... [1] https://github.com/rust-lang/rust/pull/51133 [2] https://rust-lang.github.io/rust-project-goals/2024h2/Poloni...
    comment by LegionMammal978 · 2025-02-05 · in Roc rewrites the compiler in Zig
  9. …it seems more likely that the requirements on references will eventually be relaxed instead. [1]: https://github.com/rust-lang/rust/issues/119241#issuecomment...
    comment by GrantMoyer · 2025-01-31 · in Rust’s worst feature
  10. Java https://github.com/openjdk/jdk/blob/master/Makefile Rust https://github.com/rust-lang/rust/blob/master/tests/run-make... Go https://github.com/golang/go/blob/master/src/runtime/Makefil... NodeJS https://github.com/nodejs/node/blob/main…
    comment by dumah · 2025-01-31 · in A better build system for OCaml
  11. …an overlap of tacking PR and moving it from std to core PR it's not supper useful. Tracking Issue: https://github.com/rust-lang/rust/issues/78485 If the author has constructive critique they should probably mention it there (after skimming…
    comment by dathinab · 2025-01-30 · in Rust’s worst feature
  12. In theory Rust where you don't allow unsafe can do that. (Reality is not perfect: https://github.com/rust-lang/rust/issues/25860 ) Theseus OS is a research project that created single address space kernel that loads dynamic libraries…
  13. …can just use one of the collection types (though, notably, HashMap isn't in alloc yet [1]). [1]: https://github.com/rust-lang/rust/issues/27242
  14. …and it turns out it provides a feed for them. For rust master branch, for example, subscribe to https://github.com/rust-lang/rust/commits/master.atom .
  15. With some notable exceptions. I'll never love the turbofish [1] for example. [1] https://github.com/rust-lang/rust/blob/master/tests/ui/parse...
  16. …the output of a superoptimizer, it was fun to figure out how it works. For spoilers, see [1]. [1] https://github.com/rust-lang/rust/blob/master/library/core/s...
  17. …that these are technically subject to change. Some fun reading links if this is interesting: - https://github.com/rust-lang/rust/issues/75091 - https://github.com/rust-lang/rust/issues/81513 - https://github.com/rust-lang/rust/issues/95228
  18. …technically stopping Rust from supporting Cygwin, except lack of volunteers to complete the port: https://github.com/rust-lang/rust/issues/5526 (this feature request has been open for 12 years)
    comment by pornel · 2024-12-29 · in Fish 4.0: The Fish of Theseus
  19. Rust actually has a bunch of oddities, to the point they test them [0]. [0] https://github.com/rust-lang/rust/blob/master/tests/ui/weird...
  20. …seems to be (somewhat) active work to address this? No idea if there are major roadblocks, though. https://github.com/rust-lang/rust/pull/128846 [0]: https://lobste.rs/s/4mjnvk/four_limitations_rust_s_borrow_ch... [1]:…
    comment by aw1621107 · 2024-12-24 · in Four limitations of Rust's borrow checker
  21. …proven to be correct. Is this the case? E.g. the issue "Prove the Rust type system sound" https://github.com/rust-lang/rust/issues/9883 is closed with comment "This will be an open issue forever. Closing." in 2016:…
    comment by _flux · 2024-12-21 · in Compiling C to Safe Rust, Formalized
  22. …about how to handle this hashing, trying to balance compiler speed and collision likeliness: https://github.com/rust-lang/rust/issues/129014 Another scenario would be like what Backtrace does: a hash is used to identify certain classes of…
  23. …the optimization is handled in the standard library using specialization and TrustedLen[1]. [0]: https://github.com/rust-lang/rust/blob/master/tests/codegen/... [1]: https://github.com/rust-lang/rust/blob/d4025ee454169fbd22f57...
    comment by mastax · 2024-12-12 · in The humble for loop in Rust
  24. …a guard frame will always be enough to catch it, and will result in a safe abort [0]. [0] https://github.com/rust-lang/rust/pull/31333
    comment by whytevuhuni · 2024-12-11 · in Making memcpy(NULL, NULL, 0) well-defined
  25. …= "...")]`, which is supposed to be added by implementors of such locks. https://github.com/rust-lang/rust/issues/131154#issuecomment...
    comment by GolDDranks · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks
  26. It’s getting fixed soon - https://github.com/rust-lang/rust/issues/124085
  27. https://github.com/rust-lang/rust/issues/131154#issuecomment... Especially this matrix was helpful! The behaviour that's going to be adopted in Rust 2024 is the Rust2024.1 one. They were having doubts about the rules becoming too…
    comment by GolDDranks · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks
  28. https://github.com/rust-lang/rust/issues/131154 has some discussion about all the possibilities. It's pretty subtle, but I think everyone agrees that the current behavior of if let is unintuitive. Beyond that there are a bunch of…
    comment by sunshowers · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks
  29. …than mutexes that don't. In this case this is a Rust bug that will be fixed in the next edition: https://github.com/rust-lang/rust/issues/124085
    comment by sunshowers · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks
  30. Funny you say that: https://github.com/rust-lang/rust/issues/131154 Looks like this is getting fixed in Rust 2024 :)
  31. This is going to be fixed in Rust 2024: https://github.com/rust-lang/rust/issues/124085
    comment by sunshowers · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks
  32. …to assume alignment.) If you want more evidence, here is a test for the improper_ctypes lint: https://github.com/rust-lang/rust/blob/b91a3a05609a46f73d23e... You can see that it's quite conservative about what can be passed through extern…
    comment by comex · 2024-11-08 · in Perhaps Rust Needs "Defer"
  33. So I did a catalyst build of EX a while back (which is where https://github.com/rust-lang/rust/issues/106021 came from) - but rather anticlimactically the end result looked almost identical to the normal iOS app when running under macOS; I…
    comment by Arathorn · 2024-11-03 · in Matrix 2.0 Is Here
  34. Until 2012, Rust 0.6 required a postfix `.` on enum variants: https://github.com/rust-lang/rust/commit/04a2887f879 And here's a 2013 bug for the ambiguity: https://github.com/rust-lang/rust/issues/10402
    comment by pornel · 2024-11-03 · in Rust's Most Subtle Syntax
  35. …that even simple examples like you wrote could have had problems. Here's a similar bug but for GCC: https://github.com/rust-lang/rust/issues/54878#issuecomment-... . I fully expect MSVC to be full of such bugs. I'm sure there were probably…
  36. Of course: https://github.com/rust-lang/rust/issues/54878#issuecomment-... TLDR: 0-5% faster with noalias optimizations on. You can always try running some benchmarks by building code with -Zmutable-noalias=no.
  37. …eg I observed with Rust for a prior project when I started fiddling with the read buffer size: https://github.com/rust-lang/rust/issues/49921 The other issue that I see is that their I/O is implicitly synchronous and requires a memory…
  38. …it, and it does not seem like the type system is proven, yet, though the issue itself is closed: https://github.com/rust-lang/rust/issues/9883 Per https://blog.rust-lang.org/2023/01/20/types-announcement.htm... there is a roadmap for…
    comment by _flux · 2024-10-18 · in Smart pointers for the kernel
  39. …not. Now I do think it will be eventually fixed, but given how long it has taken it must be thorny. https://github.com/rust-lang/rust/issues/25860
    comment by im3w1l · 2024-10-18 · in Smart pointers for the kernel
  40. https://github.com/rust-lang/rust/issues/48043 They've been working on it for a while so they can get rust into the linux kernel
  41. https://github.com/rust-lang/rust/issues/131374
    comment by 0942v8653 · 2024-10-13 · in Apple macOS 15 Sequoia is officially Unix
  42. …by default, but it's still WIP. ( https://github.com/rust-lang/rfcs/blob/master/text/2011-gene... https://github.com/rust-lang/rust/issues/44838 )
  43. Already done. https://github.com/rust-lang/rust/pull/116352
    comment by glandium · 2024-10-06 · in Playing with BOLT and Postgres
  44. This gem comes to mind: https://github.com/rust-lang/rust/pull/95508/files/76cf1e1e4... Reads almost like a haiku struct Simba { - mother: u32, - father: u32, + parent: u32, + parent: u32, } "I don't think this will compile"
  45. …violation. > being the final descision maker of the latest core::time [Citation needed] I've seen https://github.com/rust-lang/rust/issues/127343#issuecomment... That's just notes from the meeting. Do you have proof he was the deciding…
    comment by Ygg2 · 2024-10-03 · in Code Generation in Rust vs. C++26
  46. …that's two years ago . The current work was in 2024. Here's the 2024 rework of Windows Mutex: https://github.com/rust-lang/rust/pull/121956/ Edited to add: Since we're going back and forth I read the blame log, the Linux implementation,…
    comment by tialaramex · 2024-10-02 · in The Fastest Mutexes
  47. …like Mara also did the work to make it const-constructible, so it's still her implementation, no? https://github.com/rust-lang/rust/pull/97647
    comment by lilyball · 2024-10-02 · in The Fastest Mutexes
  48. …A while ago there was also a giant thread related to improving Rust's mutex implementation at https://github.com/rust-lang/rust/issues/93740#issuecomment-... . What's interesting is that there's a detailed discussion of the inner workings…
    comment by kccqzy · 2024-10-02 · in The Fastest Mutexes
  49. …in my opinion. [1] - https://lang-team.rust-lang.org/roadmaps/roadmap-2024.html#t... [2] - https://github.com/rust-lang/rust/issues/53667
    comment by wokwokwok · 2024-09-26 · in Rewriting Rust
  50. …be done". Some are things that will never be stable, because they're not a feature; as an example, https://github.com/rust-lang/rust/issues/90418
    comment by dwattttt · 2024-09-26 · in Rewriting Rust