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
-
…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 -
…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 -
…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 -
…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 -
…and generic support is currently being implemented[0]. Slowly but surely, we're getting there! [0]: https://github.com/rust-lang/rust/issues/136574
comment by mbStavola · 2025-02-10 · in The state of Rust trying to catch up with Ada [video] -
…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 -
…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]:…
comment by zyedidia · 2025-02-07 · in It is time to standardize principles and practices for software memory safety -
…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 -
…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 -
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 -
…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 -
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…
comment by yencabulator · 2025-01-29 · in Can we get the benefits of transitive dependencies without undermining security? -
…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
comment by kbolino · 2025-01-23 · in C stdlib isn't threadsafe and even safe Rust didn't save us -
…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 .
comment by lufte · 2025-01-18 · in I've been advocating for RSS support, and you should too -
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...
comment by cloud-oak · 2025-01-15 · in KEON is a human-readable Serde format that is syntactically similar to Rust -
…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...
comment by hairtuq · 2025-01-08 · in Optimizing uint64_t Digit Counting: A Method that Beats Lemire's by up to 143% -
…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
comment by mmastrac · 2025-01-02 · in Visualizing memory layout of Rust's data types -
…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 -
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...
comment by shakna · 2024-12-28 · in Ada's dependent types, and its types as a whole -
…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 -
…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 -
…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…
comment by cstrahan · 2024-12-13 · in Show HN: Rain hashes – well designed, simple and fast variable sized hashes -
…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 -
…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 -
…= "...")]`, 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 -
It’s getting fixed soon - https://github.com/rust-lang/rust/issues/124085
comment by nindalf · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks -
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 -
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 -
…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 -
Funny you say that: https://github.com/rust-lang/rust/issues/131154 Looks like this is getting fixed in Rust 2024 :)
comment by Philpax · 2024-11-13 · in Rust's Sneaky Deadlock With `if let` Blocks -
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 -
…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" -
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 -
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 -
…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…
comment by vlovich123 · 2024-10-31 · in A comparison of Rust’s borrow checker to the one in C# -
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.
comment by vlovich123 · 2024-10-31 · in A comparison of Rust’s borrow checker to the one in C# -
…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…
comment by spease · 2024-10-27 · in How fast can you parse a CSV file in C#? -
…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 -
…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 -
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
comment by empath75 · 2024-10-16 · in Asterinas: OS kernel written in Rust and providing Linux-compatible ABI -
https://github.com/rust-lang/rust/issues/131374
comment by 0942v8653 · 2024-10-13 · in Apple macOS 15 Sequoia is officially Unix -
…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 )
comment by Arnavion · 2024-10-10 · in Local Variables as Accidental Breadcrumbs for Faster Debugging -
Already done. https://github.com/rust-lang/rust/pull/116352
comment by glandium · 2024-10-06 · in Playing with BOLT and Postgres -
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"
comment by PhilipRoman · 2024-10-04 · in Why does man print "gimme gimme gimme" at 00:30? (2017) -
…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 -
…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 -
…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 -
…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 -
…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 -
…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