rust-lang/rust
View on GitHub ↗ ★ 121,043 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
-
▲ 7
Rust Is Beautifulstory by tomhaines · 2022-08-06 · 0 comments
-
…also touches on stable ABI). `rustc` just calls into the .so without any custom configuration: https://github.com/rust-lang/rust/blob/e141246cbbce2a6001f31... (but rustdoc/clippy/miri all have additional configuration, passes, etc.…
comment by eddyb · 2022-08-03 · in The end of Optane is bad news -
…¹ via forcing the dynamic linker to eagerly resolve some symbols, global constructors, etc. - see https://github.com/rust-lang/rust/issues/73917#issuecomment-... for some recent discussion ² such as exporting a single base symbol per dylib…
comment by eddyb · 2022-08-03 · in The end of Optane is bad news -
▲ 3
Rust Is Beautiful #100000story by denysvitali · 2022-08-03 · 1 comment
-
▲ 3
Rust Is Beautiful #100000story by georgehill · 2022-08-01 · 0 comments
-
▲ 2
100k Issues Filled with Ruststory by cercatrova · 2022-08-01 · 3 comments
-
For reference, the tickets GP is talking about are - https://github.com/rust-lang/rfcs/pull/3127 - https://github.com/rust-lang/rust/issues/40552
comment by estebank · 2022-07-26 · in RustDesk – Open-source TeamViewer alternative -
…are more subtle things like qualified paths such as this testcase which could be argued is valid https://github.com/rust-lang/rust/blob/master/src/test/ui/qu... but there was some discussion on zulip which clarifies it:…
comment by philberty · 2022-07-26 · in Ferrocene: Rust toolchain to safety-critical environments -
Alongside with Windows long since 1.35 https://github.com/rust-lang/rust/pull/20367
comment by znwu · 2022-07-24 · in The Rust Performance Book (2020) -
▲ 62
Ask HN: Why don't file systems and OS's provide file system transactions?story by gavinhoward · 2022-07-23 · 31 comments
-
I believe this tracks it: https://github.com/rust-lang/rust/issues/32838
comment by kaba0 · 2022-07-22 · in Some Thoughts on Zig -
…in the wrong direction. [0] https://github.com/google/guava/wiki/Release21#user-content-... [1] https://github.com/rust-lang/rust/blob/1c63ec48b8cbf553d291a...
comment by the8472 · 2022-07-22 · in The trouble with symbolic links -
▲ 1
If-let chains have been stabilized in Rust 1.64story by Gadiguibou · 2022-07-17 · 0 comments
-
…example, but I hope you know what I mean). Thankfully, there is also a solution to this problem: https://github.com/rust-lang/rust/issues/90091 split_array will eventually allow something like the following, which avoids any explicit…
comment by proto_lambda · 2022-07-15 · in Rust should not have provided `unwrap` -
…for your return type once that feature becomes stable (already possible if you're on nightly) [0] - https://github.com/rust-lang/rust/issues/84277
comment by dymk · 2022-07-15 · in Rust should not have provided `unwrap` -
▲ 2
Chinese Numerals and Char:Is_numericstory by todsacerdoti · 2022-07-14 · 0 comments
-
…https://hirrolot.github.io/posts/rust-is-hard-or-the-misery-... , num-traits, and variance and https://github.com/rust-lang/rust/issues/25860 is absolutely bogging me down. I feel (and observe as people try modeling contracts in traits)…
comment by nyanpasu64 · 2022-07-09 · in Go generics are not bad -
…talking about how GATs were very helpful for Chumsky to model their parsing and combinators. [0] https://github.com/rust-lang/rust/pull/96709
comment by cercatrova · 2022-07-09 · in Chumsky, a Rust parser-combinator library with error recovery -
…optimization implemented: https://github.com/rust-lang/rfcs/issues/1230 , or is being worked: https://github.com/rust-lang/rust/issues/46213 . These simple ideas on the surface sometimes can be very hard to implement in reality due to…
comment by WiSaGaN · 2022-07-08 · in Optimized Enum Sizes in Rust -
…(he's still contributor #6 by commit[1] despite not having worked on it for the past 7 years!) [1]: https://github.com/rust-lang/rust/graphs/contributors
comment by littlestymaar · 2022-07-04 · in Virgil: A fast and lightweight programming language that compiles to WASM -
…in the PR of what exactly to stabilize [0]. I posted it as its own separate post here [1]. [0] https://github.com/rust-lang/rust/pull/96709 [1] https://news.ycombinator.com/item?id=31939077
comment by cercatrova · 2022-07-01 · in Rust 1.62.0 -
▲ 3
PR to stabilize generic associated types in Ruststory by cercatrova · 2022-06-30 · 1 comment
-
…interesting though - surely you would have flagged the equivalent C++ code to what is discussed in https://github.com/rust-lang/rust/issues/93740 , if my understanding is correct - akin to std::unique_ptr<pthread_mutex_t>, as obviously…
comment by jcelerier · 2022-06-30 · in Rust 1.62.0 -
…level of unrolling since we deemed it unlikely that large inputs would need case conversions. [0]: https://github.com/rust-lang/rust/pull/97046
comment by conradludgate · 2022-06-28 · in tolower() in bulk at speed -
…code. Is this what you’re talking about? Let me show you two links: 1. Rust version history: https://github.com/rust-lang/rust/blob/master/RELEASES.md 2. GCC changes: https://gcc.gnu.org/gcc-12/changes.html#c-family Compared to Rust, GCC,…
comment by esjeon · 2022-06-26 · in Linus Torvalds: Rust for the Kernel Could Possibly Be Merged for Linux 5.20 -
https://github.com/rust-lang/rust/issues/20198
comment by aaaaaaaaaaab · 2022-06-25 · in What is `Box<str>` and how is it different from `String` in Rust? -
The headline feature of rustc memory management is the use of arenas: https://github.com/rust-lang/rust/blob/10f4ce324baf7cfb7ce2b... //! The arena, a fast but limited type of allocator. //! //! Arenas are a type of allocator that destroy…
comment by notriddle · 2022-06-23 · in How safe is Zig? -
…demands. This is a common misconception which I think is better addressed by Daniel Lamire here: https://github.com/rust-lang/rust/issues/68455#issuecomment-... > - You will still lag behind games, because those use CPU+GPU while this…
comment by anonymoushn · 2022-06-21 · in Software Disenchantment (2018) -
▲ 12
Rust and other langs rejoice as Apple drops Bitcode requirements for iOSstory by efnx · 2022-06-19 · 0 comments
-
…Apache 2.0 license[1]. [0]: https://opensource.microsoft.com/pdf/microsoft-contribution-... [1]: https://github.com/rust-lang/rust/blob/master/LICENSE-APACHE...
comment by giaour · 2022-06-16 · in Despite best efforts .NET is still not an open platform -
▲ 3
Happy 12th Birthday, Ruststory by arraypad · 2022-06-16 · 1 comment
-
…publish status updates. Over on the Reddit discussion someone pointed to this GitHub issue too: https://github.com/rust-lang/rust/pull/81746#issuecomment-10...
comment by cfallin · 2022-06-10 · in Cranelift, Part 4: A New Register Allocator -
…parser to stay simple. I know there were efforts to remove it, but it appears to be here to stay. https://github.com/rust-lang/rust/blob/master/src/test/ui/pa...
comment by dnsco · 2022-06-08 · in TC39 Proposal: Type Annotations -
Yet the original issue is still open: https://github.com/rust-lang/rust/issues/36481
comment by what_the_h321 · 2022-06-08 · in Accidentally Quadratic – Rust hash iteration+reinsertion -
…though `NonNull`'s API is written in terms of `*mut T`, it is implemented in terms of `*const T`: https://github.com/rust-lang/rust/blob/4ca19e09d302a4cbde14f... . This makes it covariant (`NonNull<T>` for `T: 'long` is a subtype of…
comment by Rusky · 2022-06-07 · in Trivia About Rust Types -
…there have been RFCs kicking around since 2017 aiming to fix these problems. Blergh. Eg: GATs: https://github.com/rust-lang/rust/issues/44265 (This one might land soon!) Async closures: https://github.com/rust-lang/rust/issues/62290 (seems…
comment by josephg · 2022-06-06 · in Arc and Mutex in Rust -
…matter with the removing the allocation here. I opened a bug about this on the rust repo. [1] [1] https://github.com/rust-lang/rust/issues/97751
comment by veber-alex · 2022-06-05 · in Why Rust easily optimizes out smart pointers where C++ cannot? -
That one was already reported to the tracker :) https://github.com/rust-lang/rust/issues/32670 (To be clear, I’m not saying that there’s no issues that aren’t in the tracker yet. But there are a bunch of them that are. More will absolutely…
comment by steveklabnik · 2022-06-03 · in Rust Is Hard, Or: The Misery of Mainstream Programming -
For more on switching Rust to mold, see https://github.com/rust-lang/rust/issues/94347
comment by epage · 2022-06-03 · in Using the mold linker for fun and 3x-8x link time speedups -
…what rustc outputs, as some text decoration have been stripped, but that is a lot of text. [2]: https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao...
comment by estebank · 2022-06-03 · in Rust Is Hard, Or: The Misery of Mainstream Programming -
…for me was stable Rust doesn't have fast thread locals[1] nor stack probes for arm64[2]. [1]: https://github.com/rust-lang/rust/issues/29594 [2]: https://github.com/rust-lang/rust/issues/77071
comment by infamouscow · 2022-05-30 · in Dragonflydb – A modern replacement for Redis and Memcached -
At the very least, I would have used an AtomicBool rather than a static mut. See https://github.com/rust-lang/rust/issues/53639 . As a bonus, AtomicBool doesn't require any unsafe code.
comment by FreeFull · 2022-05-21 · in Rustdesk – Remote desktop software, an open source TeamViewer alternative -
IIRC this is a problem specific to Default, see here: https://github.com/rust-lang/rust/issues/61415#issuecomment-... And here: https://github.com/rust-lang/rust/pull/62435
comment by steveklabnik · 2022-05-20 · in Rust: A Critical Retrospective -
https://github.com/rust-lang/rust/issues/50784
comment by yencabulator · 2022-05-19 · in Rust: A Critical Retrospective -
…not using std need to specify the alloc_error_handler, which you can't do on stable yet: https://github.com/rust-lang/rust/issues/51540
comment by CryZe · 2022-05-19 · in Rust: A Critical Retrospective -
…drift. Sometimes it's also the formatter though that outputs intensely sideways drifting code: https://github.com/rust-lang/rust/blob/1.60.0/compiler/rustc...
comment by est31 · 2022-05-19 · in Rust: A Critical Retrospective -
…crate is stable since 1.36.0: He is referring to the allocator api[1], not the std lib module [1] https://github.com/rust-lang/rust/issues/32838
comment by celeritascelery · 2022-05-19 · in Rust: A Critical Retrospective -
…and match, but no for loops as they are trait based and traits in const are still being developed): https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve...
comment by est31 · 2022-05-19 · in The Rust Borrow Checker – A Deep Dive -
…great. However, intra doc links have the limitation that you can't link to downstream crates: https://github.com/rust-lang/rust/issues/74481
comment by est31 · 2022-05-19 · in Rust: A Critical Retrospective -
…what the author means by the alloc crate not being stable? The alloc crate is stable since 1.36.0: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... Regarding the reproducible builds concern around paths being integrated into…
comment by est31 · 2022-05-19 · in Rust: A Critical Retrospective