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. Many years ago I think, here: https://github.com/rust-lang/rust/issues/46213 . (Found this via https://lobste.rs/s/w3jjb2/surprising_enum_size_optimization... )
  2. ▲ 1
    Rustc Implements "Super Let"
    story by remexre · 2025-04-10 · 0 comments
  3. …So if it's always equal to cfg!(target_feature="v"), then what does that even mean? I have created https://github.com/rust-lang/rust/issues/139139
    comment by thomashabets2 · 2025-03-30 · in Towards fearless SIMD, 7 years later
  4. …clock is monotonic? [1] [0]: https://github.com/microsoft/TypeScript/wiki/Breaking-Change... [1]: https://github.com/rust-lang/rust/blob/e2223c94bf433fc38234d...
  5. Trait upcasting will land in Rust 1.86.0 which will be released in one week: https://github.com/rust-lang/rust/pull/134367
  6. …looks like the Rust standard library migrated away from SRWLOCK on account of this issue [0]. [0] https://github.com/rust-lang/rust/issues/121949
  7. …issue is a different, but related tracking issue. The FP-in-const tracking issue was this one: https://github.com/rust-lang/rust/issues/57241
    comment by kibwen · 2025-03-23 · in Crabtime: Zig’s Comptime in Rust
  8. …Looks like floating point math in const fn is coming. Here is the respective tracking issue: https://github.com/rust-lang/rust/issues/128288
    comment by weinzierl · 2025-03-22 · in Crabtime: Zig’s Comptime in Rust
  9. A long-standing issue with that was just recently fixed: https://github.com/rust-lang/rust/pull/133250
    comment by ofek · 2025-03-17 · in Zlib-rs is faster than C
  10. …would probably be faster thanks to the standard library sort being the fastest, across languages ( https://github.com/rust-lang/rust/pull/124032 ). Again, faster than C. Happy to give more examples if you’re interested. There’s nothing…
    comment by nindalf · 2025-03-16 · in Zlib-rs is faster than C
  11. …library has a state of the art sort implementation. There’s nothing faster, in any language - https://github.com/rust-lang/rust/pull/124032 . And sure, it’s possible that someone could write a C program that compares in speed to all the…
  12. …to work with just minified stack traces and not set up source maps to make them readable. [1]: https://github.com/rust-lang/rust/issues/99301
    comment by the_mitsuhiko · 2025-03-10 · in Stack Traces Are Underrated
  13. …code in Rust worse than C++ almost. A fully left-to-right syntax would be amazing. EDIT: found https://github.com/rust-lang/rust/issues/10011 and https://github.com/rust-lang/rfcs/pull/3577
    comment by dcsommer · 2025-03-08 · in Zig's dot star syntax (value.*)
  14. …out to an external assembler, I suppose. [1]: https://github.com/rust-lang/reference/pull/1689 [2]: https://github.com/rust-lang/rust/pull/134213
  15. Box::leak was added two years later in November 2017 https://github.com/rust-lang/rust/commit/360ce780fdae0dcb31c... >Crashes, stability, and performance issues are still not safety issues since there’s so many ways to cause those beyond…
    comment by milesrout · 2025-03-03 · in Effective Rust (2024)
  16. …perhaps because it requires a network transaction, it's very easy to introduce race conditions. [1] https://github.com/rust-lang/rust/issues/117485
    comment by Animats · 2025-03-02 · in Effective Rust (2024)
  17. The rust cygwin target has been merged (in a different attempt): https://github.com/rust-lang/rust/pull/134999
    comment by faho · 2025-02-27 · in Fish 4
  18. …There have been discussions about adding the target to Rust, but they have not been pursued: https://github.com/rust-lang/rust/issues/79854 https://github.com/rust-lang/rust/issues/5526
    comment by pbronez · 2025-02-27 · in Fish 4
  19. …Maybe it was Go? EDIT: Found it: 'rust-lang/rust#13871: "hello world" contains Lovecraft quotes' https://github.com/rust-lang/rust/issues/13871
    comment by runlevel1 · 2025-02-20 · in 1972 Unix V2 "Beta" Resurrected
  20. modules are meant to be the boundary for a safe abstraction, but sometimes you get fun holes like https://github.com/rust-lang/rust/issues/128872 where you can implement Copy for a type in a different module in the same crate, even if the…
  21. …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
  22. …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
  23. …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
  24. …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
  25. …and generic support is currently being implemented[0]. Slowly but surely, we're getting there! [0]: https://github.com/rust-lang/rust/issues/136574
  26. …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
  27. …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]:…
  28. …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
  29. …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
  30. 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
  31. …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
  32. 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…
  33. …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
  34. …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 .
  35. 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...
  36. ▲ 1
    Rust's New Sort Algorithms
    story by fanf2 · 2025-01-15 · 0 comments
  37. …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...
  38. …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
  39. ▲ 3
    Weird Rust Expressions
    story by carlsverre · 2025-01-02 · 0 comments
  40. …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
  41. 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...
  42. …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
  43. …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
  44. …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…
  45. ▲ 33
    Async closures in Rust have been stabilized
    story by sapiogram · 2024-12-13 · 4 comments
  46. …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
  47. …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
  48. …= "...")]`, 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
  49. It’s getting fixed soon - https://github.com/rust-lang/rust/issues/124085
  50. 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