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
-
…LLVM and GCC both miscompile the same numerical code involving mildly tricky aliasing constraints. https://github.com/rust-lang/rust/issues/54878#issuecomment-... I think I'd prefer that safety-critical code be written in languages that…
comment by dodobirdlord · 2019-08-08 · in A Boeing Code Leak Exposes Security Flaws Deep in a 787's Guts -
…disabled their use of the buggy features, Rust/LLVM was producing _numerically incorrect_ code. https://github.com/rust-lang/rust/issues/54878#issuecomment-...
comment by btown · 2019-08-07 · in A Boeing Code Leak Exposes Security Flaws Deep in a 787's Guts -
…get monomorphization-free iterator libraries, but until then Rust isn't perfect for wasm. [1]: https://github.com/rust-lang/rust/issues/46477
comment by est31 · 2019-08-02 · in Psyche: A domain specific language designed for creating WebAssembly modules -
…empty enum.[1] There is also a RFC for unions, but that doesn't seem to have gone anywere.[2] [0]: https://github.com/rust-lang/rust/issues/57012 [1]: Such as https://crates.io/crates/void which also provides helpers for safely coercing…
comment by Nullabillity · 2019-07-19 · in Notes on a Smaller Rust -
Nah. The Rust compiler's warnings are wonderful, as ever: https://github.com/rust-lang/rust/blob/master/src/librustc/i...
comment by _nhynes · 2019-07-18 · in Rust Solved Dependency Hell -
▲ 2
Weird-exprs.rs – Just a grab bag of stuff you wouldn't want to writestory by weinzierl · 2019-07-17 · 0 comments
-
…model. It has even been relaxed recently, so you can go from a &Cell<[T]> to a &[Cell<T>]: https://github.com/rust-lang/rust/pull/61620 The same could be done for struct fields if the type system knew about it, and the whole thing could…
comment by Rusky · 2019-07-04 · in Announcing Rust 1.36.0 -
…automatic regression test to ensure it so the ability comes and goes. Here's the tracking issue: https://github.com/rust-lang/rust/issues/34902
comment by kibwen · 2019-07-04 · in Announcing Rust 1.36.0 -
Thanks so much! Yes, I'm eagerly awaiting https://github.com/rust-lang/rust/pull/58457 and your follow-up https://github.com/rust-lang/rust/pull/60703 . AFAIK, a global allocator is still required with them (so we still have to initialize…
comment by phil-opp · 2019-06-27 · in Writing an OS in Rust: Heap Allocation -
…nothing to prevent allocation earlier and that will fail. But there is work in progress (first https://github.com/rust-lang/rust/pull/58457 ) that will allow using local allocators, removing the ambient authority that makes that failure…
comment by Ericson2314 · 2019-06-27 · in Writing an OS in Rust: Heap Allocation -
▲ 1
Stabilizing async / awaitstory by mswift42 · 2019-06-26 · 0 comments
-
…quite a few things have happened in that time, including some features having become stabilized. https://github.com/rust-lang/rust/blob/master/RELEASES.md 1.35.0 is the current stable Rust toolchain indeed.
comment by codetrotter · 2019-06-26 · in Building Standalone Python Applications with PyOxidizer -
…mips works completely fine to build smaller rust packages, e.g cargo [2] ripgrep [3] [1] https://github.com/rust-lang/rust/issues/56888 [2] https://buildd.debian.org/status/package.php?p=cargo [3] https://buildd.debian.org/status/package.ph…
comment by infinity0x-2 · 2019-06-19 · in Debian Riscv64 port in mid 2019 -
…and higher levels of abstraction. Hopefully, formal verification will arrive soon as well. [1] https://github.com/rust-lang/rust/pull/61946 [2] https://internals.rust-lang.org/t/proposal-business-applicat...
comment by xvilka · 2019-06-19 · in Facebook picked Rust to implement Libra -
…a duration is ambiguous without a context and it would be misleading to present it as exact. [1] https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... (in case you wonder)
comment by lifthrasiir · 2019-06-19 · in Fixing a Small Calc.exe Bug -
…rustc/cargo in particular you also have to set the $TERM environment variable to "xterm" [1]. [1] https://github.com/rust-lang/rust/issues/45728#issuecomment-...
comment by spellcard199 · 2019-06-17 · in Presenting the Eshell -
…om/rust-lang/rfcs/blob/master/text/2457-non-... [2]: https://github.com/rust-lang/rfcs/pull/2457 [3]: https://github.com/rust-lang/rust/issues/55467
comment by estebank · 2019-06-08 · in Rust, Macros, λ-calculus/Church numerals, oh my -
…Pin stabilization tracking issue as an example of just one semantic discussion towards this end: https://github.com/rust-lang/rust/issues/49150
comment by kibwen · 2019-05-28 · in Update on await syntax in Rust -
It has been usable on nightly since `nightly-2019-05-09` (with https://github.com/rust-lang/rust/pull/60586 )
comment by Arnavion · 2019-05-28 · in Update on await syntax in Rust -
…toolchain from source. That means downloading and building at least the following two from source: https://github.com/rust-lang/rust https://github.com/rust-lang/cargo That includes building the bundled bits of LLVM from source. If your…
comment by codetrotter · 2019-05-23 · in Announcing Rust 1.35.0 -
…inhibit DCE, constant propagation and inlining [0] https://www.youtube.com/watch?v=s4wnuiCwTGU [1] https://github.com/rust-lang/rust/issues/44041 [2] https://bugs.openjdk.java.net/browse/JDK-8005071
comment by the8472 · 2019-05-17 · in Zero Cost Abstractions -
…contains the debug symbols. On Mac, they're in a separate .dSYM file from what I understand. See https://github.com/rust-lang/rust/issues/46034 . According to that thread, the size jump of the unstripped binary is probably from libstd…
comment by edflsafoiewq · 2019-05-16 · in Why is a Rust executable large? (2016) -
…jemalloc was removed and the default allocator switched to system in 1.32 (January 2019)[0]. [0] https://github.com/rust-lang/rust/blob/master/RELEASES.md#co...
comment by masklinn · 2019-05-16 · in Why is a Rust executable large? (2016) -
…miscompilation, or otherwise weasel out of things that the language is meant to guarantee: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... At this point these are mostly edge cases that you're unlikely to hit in real code,…
comment by pornel · 2019-05-16 · in Four Years of Rust -
https://github.com/rust-lang/rust currenly has 4738 open and 25,000 closed. https://github.com/golang/go currently has 4412 open and 27,000 closed. https://github.com/npm/npm had 2166 before moving to community,forum.…
comment by mtmail · 2019-05-15 · in Ask HN: Which GitHub repo has the most open issues? -
…to bypass safety checks without marking the code as unsafe. But so do most of the bugs listed in https://github.com/rust-lang/rust/labels/I-unsound%20%F0%9F%... ? What makes this different that it's a security issue now?
comment by bennofs · 2019-05-13 · in Security Advisory for the Standard Library -
https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is... shows 108 open, 309 closed for me, not 700. And that’s out of the almost 30,000 issues reported so far. You can do bump allocation in non-GC’d languages too; here’s an example…
comment by steveklabnik · 2019-05-10 · in Memory Allocation Benchmark -
…keyword only shows up in contexts where identifiers aren't expected, so there's no ambiguity? [1] https://github.com/rust-lang/rust/pull/54411
comment by wyldfire · 2019-05-06 · in A final proposal for Rust await syntax -
…safe to use in a signal handler? Relevant bug from Rust: "TLS accesses aren't async-signal-safe", https://github.com/rust-lang/rust/issues/43146 I'm thinking even if it works on certain OSes, it's not guaranteed, because a signal handler's…
comment by jlokier · 2019-05-02 · in Use mmap with care -
▲ 2
Official writeup of the Rust async-await syntax debate so farstory by btown · 2019-04-30 · 1 comment
-
…minimal support for fallible allocation through the try_reserve method on various collections. See https://github.com/rust-lang/rust/issues/48043 for more information. Other than that, there is ongoing work for custom allocator support in…
comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing -
…custom test runner front :) The custom test framework feature of Rust was silently introduced in https://github.com/rust-lang/rust/pull/53410 and I didn't know that it even existed a month ago. But it works really well and seems like a…
comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing -
Yes, as of a couple of days ago in nightly (pre-1.36): https://github.com/rust-lang/rust/pull/58623
comment by anderskaseorg · 2019-04-27 · in Open-sourcing F14 for memory-efficient hash tables -
▲ 63
Futures Is Stable on Rust 1.36story by r0xsh · 2019-04-26 · 19 comments
-
…I don't know whether the "1.13.0-nightly" he used has that optimization enabled or disabled. (See https://github.com/rust-lang/rust/issues/31681 and https://github.com/rust-lang/rust/issues/54878 for the relevant Rust issues.)
comment by cesarb · 2019-04-25 · in Programming language ray tracing benchmarks project -
Not a borrow checker expert, but this PR was on the blocker list. Maybe it's what you mean? https://github.com/rust-lang/rust/pull/58739
comment by est31 · 2019-04-23 · in Rust's 2019 Roadmap -
The futures stabilization is very close as well, see https://github.com/rust-lang/rust/issues/59725 and https://github.com/rust-lang/rust/pull/59739 . Very soon! Like, hours. But yes, after that, the big issue is the syntax issues around…
comment by steveklabnik · 2019-04-23 · in Rust's 2019 Roadmap -
…Rusty news, two phase borrows just got enabled on nightly but stable Rust in the 2015 edition: https://github.com/rust-lang/rust/pull/59114 . If not backed out, it will most likely be part of the 1.36 release. This is a milestone of…
comment by est31 · 2019-04-23 · in Rust's 2019 Roadmap -
…world in comparison. First of all rust has a very incomplete sanitizers support. Ubsan, Msan etc https://github.com/rust-lang/rust/issues/39699 Secondly there is an order of magnitude more static analysis tools that support cpp than rust…
comment by The_rationalist · 2019-04-14 · in Moving to a provenance-aware memory object model for C: proposal for C2x -
…team members on this give me a different impression. See this comment from Niko for example: https://github.com/rust-lang/rust/issues/53668#issuecomment-... So, can you point me to a comment that tells me that the policy still holds and is…
comment by phaylon · 2019-04-12 · in Rust 1.34.0 -
…and riscv64gc-unknown-none-elf targets are now on stable rustc 1.34.0 :slightly_smiling_face: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... https://github.com/rust-embedded/wg/issues/218#issuecomment-... EDIT: Mea culpa,…
comment by FullyFunctional · 2019-04-11 · in Rust 1.34.0 -
▲ 3
Rustdoc formatting presents accessibility issuesstory by ducaale · 2019-04-10 · 0 comments
-
Ah yes, my bad https://github.com/rust-lang/rust/issues/26951
comment by steveklabnik · 2019-04-07 · in Is It Time to Rewrite the Operating System in Rust? [video] -
…and this were worked out very recently, and so it hasn’t totally ridden the trains to stable yet. https://github.com/rust-lang/rust/issues/59302
comment by steveklabnik · 2019-04-01 · in Git implemented in Rust -
That depends on how these features are added. https://github.com/rust-lang/rust/blob/master/RELEASES.md I would argue that cpp, despite being much older, is still adding features that are kinda backbreaking e.g. ranges.
comment by adamnemecek · 2019-03-25 · in Rust is not a good C replacement -
…are out since they only work if you restrict yourself to ~32GB, depending on alignments. [0] https://github.com/rust-lang/rust/pull/45225
comment by the8472 · 2019-03-06 · in JVM Anatomy Quarks: Compressed References -
…cases, a soundness problem that has yielded a lot of discussion because of that crate specifically: https://github.com/rust-lang/rust/issues/50781 The issue here is that the typemap crate was found to be relying on a compiler bug. The…
comment by pcwalton · 2019-03-04 · in Case Study: Npm uses Rust for its CPU-bound bottlenecks [pdf] -
…0.3.19 was using an irrefutable pattern in a method without a body, and this was prohibited: https://github.com/rust-lang/rust/pull/37378 However, if you run `cargo update` first, then the build succeeds. The 0.3.0 checkout fails because…
comment by burntsushi · 2019-03-03 · in Case Study: Npm uses Rust for its CPU-bound bottlenecks [pdf] -
…in nanoserver. With this release the standard library implements the logic of parsing argv itself. https://github.com/rust-lang/rust/pull/56568
comment by Arnavion · 2019-02-28 · in Announcing Rust 1.33.0 -
…the GitHub issue discussing it is one of the densest and most extensive threads I've seen: https://github.com/rust-lang/rust/issues/49150
comment by kibwen · 2019-02-28 · in Announcing Rust 1.33.0