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
-
…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 -
…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 -
…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 -
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? -
…explained the main reason why the standard library could not just adopt parking_lot mutexes: From https://github.com/rust-lang/rust/issues/93740 > One of the problems with replacing std's lock implementations by parking_lot is that…
comment by kccqzy · 2025-11-24 · in Inside Rust's std and parking_lot mutexes – who wins? -
…crates whose names differ only in the use of dashes vs underscores. > package namespaces See https://github.com/rust-lang/rust/issues/122349 > proof of ownership See https://github.com/rust-lang/rfcs/pull/3724 and…
comment by kibwen · 2025-11-24 · in Shai-Hulud Returns: Over 300 NPM Packages Infected -
…to call it something else? You don't need transmute or leak. The issue is only 10 years old now https://github.com/rust-lang/rust/issues/25860
comment by tick_tock_tick · 2025-11-13 · in Rust in Android: move fast and fix things -
…the best possible advertisement for ”we enable soundness and correctness for all your programs.” https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la...
comment by ViewTrick1002 · 2025-11-13 · in Rust in Android: move fast and fix things -
…not true of Rust. It's not supposed to be, but Rust does have plenty of outstanding soundness bugs: https://github.com/rust-lang/rust/issues?q=state%3Aopen%20la... Rust as intended is safe and sound unless you write u-n-s-a-f-e, but as…
comment by quotemstr · 2025-11-11 · in Memory Safety for Skeptics -
…of a vector without needing that trick (and with compile-time checks for alignment compatibility): https://github.com/rust-lang/rust/pull/148416 But that example aside, I agree with your overall premise -- Zig and Rust share different…
comment by NobodyNada · 2025-11-10 · in Zig and the design choices within -
…tracking support for features which were deprecated but had yet to be removed from the compiler: https://github.com/rust-lang/rust/issues/4707 , and that's just a single snapshot from one moment in Rust's prehistory.
comment by kibwen · 2025-11-08 · in Why is Zig so cool? -
Scalable vectors as in RVV & SVE aren't available in rust corrently; see https://github.com/rust-lang/rust/issues/145052 (that said autovectorization should work, and fixed-width SIMD should map to RVV as best as possible, though of course…
comment by dzaima · 2025-11-05 · in The state of SIMD in Rust in 2025 -
Thanks, referred to your comment here: https://github.com/rust-lang/rust/issues/148546#issuecomment...
comment by sunshowers · 2025-11-05 · in SocketAddrV6 is not roundtrip serializable -
…for core::simd), and you can't manually use "#[rustc_intrinsic]" & co in stable rust either. [1]: https://github.com/rust-lang/rust/blob/b01cc1cf01ed12adb2595... [2]: https://github.com/rust-lang/rust/blob/b01cc1cf01ed12adb2595...
comment by dzaima · 2025-11-05 · in The state of SIMD in Rust in 2025 -
…effect on Rust development. Today the activity in the Rust repo is as high as it's ever been ( https://github.com/rust-lang/rust/graphs/contributors ) and the governance of the project is more organized and healthy than it's ever been (…
comment by kibwen · 2025-11-01 · in Futurelock: A subtle risk in async Rust -
Those pages are out of date, and AsyncDrop is in progress: https://github.com/rust-lang/rust/issues/126482 I think "practically rudderless" here is fairly misinformed and a little harmful/rude to all the folks doing tons of great work…
comment by raggi · 2025-10-31 · in Futurelock: A subtle risk in async Rust -
Most of your post completely falls apart when considering https://github.com/rust-lang/rust/issues/127343
comment by rustdebacletime · 2025-10-25 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…It makes a world of difference if it is a language change or not. As shown in dtolnay's comment https://github.com/rust-lang/rust/issues/127343#issuecomment... . If breakage is not due to a language change, and the program is fully…
comment by rustdebacletime · 2025-10-24 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…consideration of the issue basically disqualifies it from being made "on a whim", in my view. [0]: https://github.com/rust-lang/rust/pull/99969 [1]: https://github.com/rust-lang/rust/issues/127343 [2]:…
comment by aw1621107 · 2025-10-24 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates