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
-
…will leave users in the cold as to what the problem was. It's yet another balancing act. I filed https://github.com/rust-lang/rust/issues/117233 for you. Could I ask you why you didn't consider doing so when you first encountered this…
comment by estebank · 2023-10-26 · in Was Rust Worth It? -
…code, just like async/await. (If it didn't, it would run slower than async/await.) Also, there is: https://github.com/rust-lang/rust/issues/111272 Translated: co-routines currently use malloc to allocate stacks, so if you overflow the…
comment by rstuart4133 · 2023-10-25 · in Generators are dead, long live coroutines, generators are back -
https://github.com/rust-lang/rust/blob/master/RELEASES.md is an excellent file for finding all of this kind of stuff.
comment by chrismorgan · 2023-10-20 · in Banging errors in Go -
…bench` "winzorizes" the benchmark samples before computing summary statistics (incl. the mean). https://github.com/rust-lang/rust/blob/master/library/test/s...
comment by phlip9 · 2023-10-18 · in Winsorized mean -
…See: https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499 https://github.com/rust-lang/rust/issues/27970 https://github.com/rust-lang/rust/issues/90308
comment by thayne · 2023-10-17 · in Getaddrinfo() on glibc calls getenv(), oh boy -
This is something that has bit Rust as well: https://github.com/rust-lang/rust/issues/90308
comment by X-Istence · 2023-10-17 · in Getaddrinfo() on glibc calls getenv(), oh boy -
…for async fn in traits. That was just merged! [1] It should be stable in 1.75 on December 28th. [1] https://github.com/rust-lang/rust/pull/115822
comment by scottlamb · 2023-10-15 · in Why Async Rust? -
…can cause language-level UB. When a reference is 'used' is much broader than you might expect; https://github.com/rust-lang/rust/issues/52898 is a SIGILL from merely creating a null reference, never 'using' it.
comment by dwattttt · 2023-10-15 · in Escape analysis hates copy elision (2021) -
It seems it isn't yet: https://github.com/rust-lang/rust/issues/116744
comment by hkalbasi · 2023-10-14 · in Escape analysis hates copy elision (2021) -
▲ 21
Rust Async Trait Stabilizedstory by Sytten · 2023-10-14 · 4 comments
-
…criticized vs C. That said, there are a few reasons beyond just that. For the primary sources: https://github.com/rust-lang/rust/issues/36963
comment by steveklabnik · 2023-10-07 · in When allocators are hoarding your precious memory (2021) -
…https://github.com/rust-lang/rfcs/pull/2318 says merged but links to tracking issue https://github.com/rust-lang/rust/issues/50297 which was closed out without ever being implemented. So 5 years with no progress & a restarted effort. Don't…
comment by vlovich123 · 2023-10-05 · in Divan: Fast and Simple Benchmarking for Rust -
There's an issue open on the rustc issue tracker that describes what's missing https://github.com/rust-lang/rust/issues/48707 (reproducible builds is the big one)
comment by Xylakant · 2023-10-04 · in Open Sourcing Ferrocene -
…the work on Ferrocene can contribute to the standardization of the Rust language. Tracking issue: https://github.com/rust-lang/rust/issues/113527
comment by thesuperbigfrog · 2023-10-04 · in Open Sourcing Ferrocene -
…ic.org/resources/add_content/standards/05rm/h... [2] https://github.com/rust-lang/rfcs/issues/671 [3] https://github.com/rust-lang/rust/pull/107606
comment by naruhodo · 2023-10-01 · in AdaCore Announces Gnat Pro for Rust -
…of view compared to green threads). Do you have a link? Hmmm. Is it TLS consuming too much stack? https://github.com/rust-lang/rust/issues/111272 That would be an issue for green threads. And other things, as I discovered when I took a…
comment by rstuart4133 · 2023-09-28 · in The State of Async Rust: Runtimes -
async traits are in the process of being stabilized: https://github.com/rust-lang/rust/pull/115822 Also, impl trait projections (ability to use Self::Foo associated types in async functions in traits):…
comment by est31 · 2023-09-25 · in The State of Async Rust: Runtimes -
▲ 1
#42069 rust-lang/rust: set process “nice” flag to run rustbuild on low prioritystory by super_linear · 2023-09-24 · 0 comments
-
https://doc.rust-lang.org/std/ops/struct.Yeet.html https://github.com/rust-lang/rust/issues/96374
comment by itishappy · 2023-09-20 · in The AI Content Flippening -
…in e.g. Java. E.g. skim the discussion on this proposed "cursor" API for Rust's stdlib BTree: https://github.com/rust-lang/rust/issues/107540 (And while Rust's enum-based algebraic types & pattern matching are nice, they're actually fairly…
comment by cmrdporcupine · 2023-09-20 · in Leveraging Rust in our Java database -
▲ 3
Stabilize async fn and RPIT in traitstory by dmart · 2023-09-13 · 0 comments
-
Notably Rust's standard library does allow deleting files it opens by default. https://github.com/rust-lang/rust/blob/735bb7e5df185cc24e565... While full Unix-like behaviour is only available on Windows 10 for the past five or so years,…
comment by ChrisSD · 2023-09-13 · in Any sufficiently advanced uninstaller is indistinguishable from malware -
See for example https://github.com/rust-lang/rust/issues/63818 and https://github.com/rust-lang/rfcs/pull/3467 Basically the problem is that async blocks/fns/generators need to create a struct that holds all the local variables within them…
comment by SkiFire13 · 2023-09-09 · in Maybe Rust isn’t a good tool for massively concurrent, userspace software -
▲ 8
Rust-lang finally considers privacy/repoducibility in compiled binariesstory by transportheap · 2023-08-31 · 3 comments
-
…that Ferrocene's work will help the drive the standardization of Rust over the next few years: https://github.com/rust-lang/rust/issues/113527
comment by thesuperbigfrog · 2023-08-28 · in Writing Linux Modules in Ada (2016) -
other commenters, call me when this issue is closed. https://github.com/rust-lang/rust/issues/48556
comment by spullara · 2023-08-27 · in Rust Cryptography Should Be Written in Rust -
…programming language would have ~9,000 open issues? ~100 issues are either Critical/High/Prioritize https://github.com/rust-lang/rust/issues
comment by alberth · 2023-08-27 · in Rust 1.72.0 -
…don't confuse "this problem is hard and taking a long time" with "we don't care about this problem" https://github.com/rust-lang/rust/issues?q=is%3Aissue+label%... ). - async `Drop`: there have been multiple "false-starts", trying to come…
comment by estebank · 2023-08-24 · in Rust 1.72.0 -
AFAIK it's just waiting on the fix in https://github.com/rust-lang/rust/pull/114489 to land, I don't know of any other blockers.
comment by kibwen · 2023-08-24 · in Rust 1.72.0 -
…late 2020 has mostly stayed stable, and remains well above where it was at any point prior to 2018: https://github.com/rust-lang/rust/graphs/contributors In addition, I know of several former Mozillians who remain employed to work on Rust,…
comment by kibwen · 2023-08-24 · in Rust 1.72.0 -
…[3] https://security.googleblog.com/2021/04/rust-in-android-plat... [4] https://github.com/rust-lang/rust/issues/53667 [5] https://github.com/rust-lang/rust/issues/51114 [6] https://github.com/rust-lang/rust/issues/67792 [7] https
comment by timlatim · 2023-08-24 · in Rust 1.72.0 -
…That way you get an upgrade across all codebases without anyone needing to make any changes. https://github.com/rust-lang/rust/issues/53487
comment by vlovich123 · 2023-08-23 · in Enhance Rust errors with file and line details -
Open bug report about inability to set a breakpoint on Err: https://github.com/rust-lang/rust/issues/54144
comment by dannymi · 2023-08-23 · in Enhance Rust errors with file and line details -
…compiler (with some config changes) [2]. [0] https://github.com/bjorn3/rustc_codegen_cranelift [1] https://github.com/rust-lang/rust/pull/77975 [2] https://github.com/bjorn3/rustc_codegen_cranelift/actions/ru...
comment by LegionMammal978 · 2023-08-17 · in A Guide to Undefined Behavior in C and C++ (2010) -
…So while you may not personally value that, it seems like some people in the Rust community do. [0] https://github.com/rust-lang/rust/tree/master/src/bootstrap
comment by merlincorey · 2023-08-17 · in A Guide to Undefined Behavior in C and C++ (2010) -
…time before anything resembling a complete description gets written. You can follow its status at https://github.com/rust-lang/rust/issues/113527
comment by mjw1007 · 2023-08-17 · in A Guide to Undefined Behavior in C and C++ (2010) -
…but due to some issues down in LLVM land, the codegen doesn't issue a `cmov` where it should. https://github.com/rust-lang/rust/issues/53823 old branchless version: https://github.com/rust-lang/rust/pull/45333/files
comment by WinLychee · 2023-08-11 · in Fastest branchless binary search -
Rust's binary search is here. Also a pretty textbook version of the function: https://github.com/rust-lang/rust/blob/4d7a80d48697171ed151c... How much faster is the branchless version in practice? I make heavy use of binary search in some…
comment by josephg · 2023-08-11 · in Fastest branchless binary search -
Alright, and as a versioned link that'll be: https://github.com/rust-lang/rust/blob/7d8386f05cedf33c7475c... Thank you!
comment by LoganDark · 2023-08-11 · in Fastest branchless binary search -
…It depends on the generic_const_exprs feature which is still, to quote, "highly experimental": https://github.com/rust-lang/rust/issues/76560 Definitely not for production use, but it gives a flavor for where things can head in the medium…
comment by dgacmu · 2023-08-08 · in Candle: Torch Replacement in Rust -
…Either I remembered wrong or it's changed. Now it uses some kind of custom wrapper around Box: https://github.com/rust-lang/rust/blob/master/compiler/rustc... So actually, the Rust compiler itself uses owned children in its AST!
comment by foldr · 2023-08-08 · in Compiler Development: Rust or OCaml? -
…it in nightly but not in stable[1]: https://rust-lang.github.io/rfcs/2294-if-let-guard.html [1] https://github.com/rust-lang/rust/issues/51114
comment by nequo · 2023-08-08 · in Compiler Development: Rust or OCaml? -
…kernel APIs (unshare(CLONE_NEWUSER) for instance) simply cannot be used from regular Go code. [1]: https://github.com/rust-lang/rust/issues/62314 [2]: https://github.com/golang/go/issues/61751
comment by cyphar · 2023-08-07 · in Barco: Linux Containers from Scratch in C -
You would report it on our issue tracker. Here is an example of what that would look like: https://github.com/rust-lang/rust/issues/114324 Even if you can't reproduce it, the backtrace can be enough to figure out the problem, or at least…
comment by estebank · 2023-08-02 · in No telemetry in the Rust compiler: metrics without betraying user privacy -
…step expand into "create an issue and then fill out an elaborate questionnaire"? For instance, https://github.com/rust-lang/rust/blob/master/.github/ISSUE_... isn't... bad for what it is, but it's definitely asking for enough work that it…
comment by yjftsjthsd-h · 2023-08-01 · in No telemetry in the Rust compiler: metrics without betraying user privacy -
…to expect that any alternative service would require some kind of login to cut down on spam. [1]: https://github.com/rust-lang/rust/pull/114128
comment by estebank · 2023-08-01 · in No telemetry in the Rust compiler: metrics without betraying user privacy -
…a pre-filled link with a one-click submit and an optional "contact me at [email]" field. --- [1]: https://github.com/rust-lang/rust/issues/93701 implies they do this too. They made or already had a github account, have run multiple…
comment by Groxx · 2023-08-01 · in No telemetry in the Rust compiler: metrics without betraying user privacy -
…exposing latent LLVM bugs and having to disable them). There’s more that can be done here, see e.g. https://github.com/rust-lang/rust/issues/16515 There are also soundness issues around async/await: https://github.com/rust-lang/rust/issues/…
comment by cwzwarich · 2023-08-01 · in Can you trust a compiler to optimize your code? -
…post[2] which gives a decent intro on the concept and what it could be used for down the line. [1]: https://github.com/rust-lang/rust/pull/107606 [2]: https://cohost.org/oli-obk/post/165584-ranged-integers-via [3]:…
comment by mbStavola · 2023-07-23 · in Why Rust is a great fit for embedded software – 2023 update