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
20082026
-
▲ 5
A PR proposes to stabilize the Rust allocator APIstory by afdbcreid · 2026-05-24 · 0 comments
-
…problem stems from rust's early decision to requiring concrete types at interface boundaries. https://github.com/rust-lang/rust/issues/63063
comment by josephg · 2026-05-24 · in .NET (OK, C#) finally gets union types -
▲ 3
Fix pathological performance in trait solverstory by Jyaif · 2026-05-16 · 0 comments
-
…about a codebase. Since it does it anyway I added dossier pages to it as well https://searchcode.com/repo/github.com/rust-lang/rust Which is useful for humans, and shows what the system is creating. Best part is that I get to use the tools…
comment by boyter · 2026-05-10 · in Ask HN: What are you working on? (May 2026) -
…a mess across platforms and ABIs, but that can be solved by treating all NaNs as identical.) [0] https://github.com/rust-lang/rust/issues/114479
comment by LegionMammal978 · 2026-05-08 · in Floats Don't Agree with Themselves -
…issue in TFA's introduction. [0] https://rust-lang.github.io/rfcs/3514-float-semantics.html [1] https://github.com/rust-lang/rust/issues/114479
comment by LegionMammal978 · 2026-05-08 · in Floats Don't Agree with Themselves -
It depends: https://github.com/rust-lang/rust/pull/155403#issuecomment-4...
comment by slanterns · 2026-05-05 · in Zig → Rust porting guide -
GitHub have some quite nice feeds If you want all the commits from a repo you can do something like: https://github.com/rust-lang/rust/commits/main/.atom And if you now only is interested in the num module you can do:…
comment by erk__ · 2026-05-04 · in Introduction to Atom -
…Someone above mentioned that such an API is being considered for inclusion in libstd in this issue: https://github.com/rust-lang/rust/issues/120426
comment by kibwen · 2026-04-29 · in Bugs Rust won't catch -
…://github.com/tialaramex/nook/blob/main/src/balanced.rs 2: https://github.com/rick-de-water/nonany 3: https://github.com/rust-lang/rust/issues/135996
comment by wongarsu · 2026-04-27 · in Box to save memory in Rust -
…one part of async Rust that I think will need somewhat painful changes is Stream/AsyncIterator ( https://github.com/rust-lang/rust/issues/79024#issuecomment-... ), but those aren't yet stable, so hopefully some transition pain is tolerable…
comment by oconnor663 · 2026-04-25 · in What async promised and what it delivered -
…that fixes that mistake As part of the runtime/stdlib or as a third-party library? [0]: https://github.com/rust-lang/rust/issues/17325 [1]: https://without.boats/blog/why-async-rust/
comment by aw1621107 · 2026-04-25 · in What async promised and what it delivered -
…GC was removed), so the removal of GC does not necessarily imply losing memory safety either. [0]: https://github.com/rust-lang/rust/pull/1036 [1]: https://github.com/rust-lang/rust/pull/17666
comment by aw1621107 · 2026-04-22 · in Garbage collection without unsafe code -
…to be the cause compared to more "normal" things like mistakes in-around `unsafe` blocks. [0]: https://github.com/rust-lang/rust/issues/25860 [1]: https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la...
comment by aw1621107 · 2026-04-22 · in Garbage collection without unsafe code -
…rust-lang.org/std/hint/fn.assert_unchecked.html There's an open issue to stabilize the prefetch APIs: https://github.com/rust-lang/rust/issues/146941 As is usually the case when a minor standard-library feature remains unstable, the…
comment by ameliaquining · 2026-04-17 · in Reflections on 30 years of HPC programming -
This is not the one I remember but another one that does part of what I'm describing. https://github.com/rust-lang/rust/pull/145354
comment by estebank · 2026-04-14 · in How to make Firefox builds 17% faster -
…when search the rust issue tracker) there is currently one major known LLVM bug in this area ( https://github.com/rust-lang/rust/issues/147538 ) with partial workarounds applied on the Rust side. There is some issues with open question…
comment by VorpalWay · 2026-03-13 · in Emacs internals: Tagged pointers vs. C++ std:variant and LLVM (Part 3) -
…a lot easier in Zig than Rust. Personally, I like Zig more. [0] https://crates.io/users/kprotty [1] https://github.com/rust-lang/rust/pull/95801 [2] https://github.com/rust-lang/rust/blob/a63150b9cb14896fc22f9...
comment by kprotty · 2026-03-11 · in Type resolution redesign, with language changes to taste -
…bus. If you’re serious, you should stop using Rust (which happens to contain an unsafe language): https://github.com/rust-lang/rust/issues/44800
comment by znkr · 2026-02-28 · in Rust is just a tool -
…up from 26 seconds on stable! Their value tracking algorithm was accidentally quadratic. [1]: https://github.com/rust-lang/rust/issues/137909
comment by jason_oster · 2026-02-24 · in Ladybird adopts Rust, with help from AI -
…earliest stages of a prototype implementation were released to the nightly channel last month ( https://github.com/rust-lang/rust/pull/146923 ), and the project has proposed (and is likely to adopt) the goal of completing that prototype…
comment by ameliaquining · 2026-02-12 · in D Programming Language -
▲ 1
(Rust) Tracking Issue for Generic Constant Arguments MVPstory by anfilt · 2026-02-11 · 1 comment
-
…has been accepted into the mainline Rust compiler, or at least the nightly builds. https://github.com/rust-lang/rust/pull/151156 This means that you will be able to use either GCC or LLVM to build your Rust code with rustc (the main Rust…
comment by LeFantome · 2026-02-04 · in Rust in the NetBSD Kernel, and other odd decisions -
…currently has some language level limitations[2]. [1] https://github.com/taiki-e/cargo-llvm-cov [2] https://github.com/rust-lang/rust/issues/124118
comment by josephg · 2026-01-30 · in Deep dive into Turso, the “SQLite rewrite in Rust” -
…of related issues [1] in the rustc repo if you search for closure and higher ranked lifetimes. [1]: https://github.com/rust-lang/rust/issues?q=is%3Aopen%20is%3A...
comment by SkiFire13 · 2026-01-25 · in Understanding Rust Closures -
…in stable jut yet. The `become` keyword has already been reserved and work continues to happen ( https://github.com/rust-lang/rust/issues/112788 ). If you enable #![feature(explicit_tail_calls)] you can already use the feature in the…
comment by jeroenhd · 2026-01-23 · in Replacing Protobuf with Rust -
…This Github thread is also interesting (transitively reached from the above Reddit thread): https://github.com/rust-lang/rust/issues/32838#issuecomment-...
comment by vacuity · 2026-01-20 · in Fil-Qt: A Qt Base build with Fil-C experience -
▲ 1
Rickroll in Rustcstory by todsacerdoti · 2026-01-15 · 0 comments
-
…passes it off to a non-generic function. This to avoid that the underlying code gets monomorphized. https://github.com/rust-lang/rust/blob/8c52f735abd1af9a73941...
comment by OptionOfT · 2026-01-14 · in Is Rust faster than C? -
…its aliasing optimizations on and off again a few times due to bugs in LLVM. A comment from 2021: https://github.com/rust-lang/rust/issues/54878#issuecomment-... > When noalias annotations were first disabled in 2015 it resulted in between…
comment by steveklabnik · 2026-01-14 · in Is Rust faster than C? -
On a Lenovo T460 (mid-range laptop from 2016), with a fresh clone of https://github.com/rust-lang/rust/ and the default config: $ time ./x.py build ... snip ... Build completed successfully in 0:21:24 real 21m24.736s user 67m48.195s sys…
comment by estebank · 2026-01-08 · in An Honest Review of Go (2025) -
…When I run `sudo dnf upgrade gcc` I can be 99.9% sure my old code still compiles. Compare e. g. https://github.com/rust-lang/rust/pull/102750/ (I'm not following Rust development closely, picked up the first one). Yes, developers do rely…
comment by tliltocatl · 2026-01-03 · in The Cost of a Closure in C: The Rest -
…about it: https://rust-lang.github.io/rfcs/2504-fix-error.html Here's a withoutboats PR in 2020: https://github.com/rust-lang/rust/pull/72981 https://github.com/rust-lang/rust/pull/72981#issuecomment-66... It may just be a matter of…
comment by osiris88 · 2025-12-29 · in Rust errors without dependencies -
…being stabilized via a generic interface that allows `core::error::Error` to be defined in `core`: https://github.com/rust-lang/rust/issues/99301 > and it to this day has no built-in idea of "error accumulation". The `Error` trait has…
comment by burntsushi · 2025-12-28 · in Rust errors without dependencies -
…issues 'static closures/FnDefs/futures with non-'static return type are unsound https://github.com/rust-lang/rust/issues/84366 Resolve unsound interaction between noalias and self-referential data (incl. generators, async fn) https://gith
comment by lenkite · 2025-12-26 · in Memory Safety -
…do for safety critical systems. By the way, it seems that Rust aborts on OOM errors, not panics: https://github.com/rust-lang/rust/issues/43596
comment by loglog · 2025-12-23 · in Test, don't just verify -
There's some active work recently on fixing blocking issues, e.g.: https://github.com/rust-lang/rust/pull/148725 https://github.com/rust-lang/rust/pull/149489
comment by mbrubeck · 2025-12-20 · in Rust's Block Pattern -
…license is "GLWTPL" (Good Luck With That Public License). Repo is based on exploiting this bug - https://github.com/rust-lang/rust/issues/25860 (Open since 2015) The bug allows you to "extend" any lifetime 'a to 'static in safe code: This…
comment by N_Lens · 2025-12-18 · in Fast memory vulnerabilities, written in 100% safe Rust -
…I'm working on, it's slightly difficult to be confident, when you get all the way down to the CPU. https://github.com/rust-lang/rust/issues/17046 https://github.com/conradkleinespel/rpassword/issues/100#iss...
comment by nixpulvis · 2025-12-14 · in Go Proposal: Secret Mode -
…2: https://doc.rust-lang.org/nightly/rustc/platform-support/app... 3: https://github.com/rust-lang/rust/pull/118083
comment by estebank · 2025-12-12 · in The Tor Project is switching to Rust -
…so small wins I guess?). [1]: https://play.rust-lang.org/?version=stable&mode=debug&editio... [2]: https://github.com/rust-lang/rust/pull/121652 [3]: https://github.com/rust-lang/rust/issues/149861 [4]:…
comment by estebank · 2025-12-10 · in Rust: Proof of Concept, Not Replacement -
There are plans to experiment with language level comptime support too: https://github.com/rust-lang/rust/pull/148820
comment by CathalMullan · 2025-12-05 · in Synadia and TigerBeetle Pledge $512k to the Zig Software Foundation -
…nor safe. And Miri cannot catch everything, and is magnitudes slower than regular program running. https://github.com/rust-lang/rust/commit/71f5cfb21f3fd2f1740... https://materialize.com/blog/rust-concurrency-bug-unbounded-...
comment by disappoint · 2025-12-05 · in Thoughts on Go vs. Rust vs. Zig -
…on this particular Github comment, but it perfectly illustrates the conceptual density of Rust: https://github.com/rust-lang/rust/issues/68015#issuecomment-... Wow, Rust does take programming complexity to another level. Everything,…
comment by teleforce · 2025-12-05 · in Thoughts on Go vs. Rust vs. Zig -
…just have to update". See: [1] https://internals.rust-lang.org/t/type-inference-breakage-in... [2] https://github.com/rust-lang/rust/issues/127343#issuecomment...
comment by misnome · 2025-12-03 · in A Look at Rust from 2012 -
▲ 2
Rust 2027 considering replacing poisoned locksstory by vsgherzi · 2025-11-27 · 0 comments
-
It does look like there are legitimate issues with x87 floating-point: https://github.com/rust-lang/rust/issues/114479
comment by ShroudedNight · 2025-11-25 · in APT Rust requirement raises questions -
…case, the bug is in the foreign code. Either way, the memory safety bug is not in safe rust. [1] https://github.com/rust-lang/rust/blob/7934bbdf84a6b9a30297c...
comment by lunar_mycroft · 2025-11-25 · in Several core problems with Rust -
…could be used for some bit patterns. Also aspirations to use pattern types for this sort of thing: https://github.com/rust-lang/rust/issues/135996
comment by Rusky · 2025-11-25 · in Inside Rust's std and parking_lot mutexes – who wins? -
…on Linux. (But speaking of Macs: std::mutex doesn't yet use futexes on macOS. Might happen soon. https://github.com/rust-lang/rust/pull/122408 )
comment by scottlamb · 2025-11-24 · in Inside Rust's std and parking_lot mutexes – who wins?