rust-lang/rfcs
View on GitHub ↗ ★ 6,628 Markdown
RFCs for changes to Rust
685 mentions on Hacker News by 352 people: 46 stories, 639 comments · first 2014-04-09 · latest 2026-08-22
20082026
-
…}; (This isn’t exactly how it’s implemented—that detail is unstable and has actually changed < https://github.com/rust-lang/rfcs/pull/3058 > since ? was stabilised, without disrupting things!—but it’s equivalent in this instance. As…
comment by chrismorgan · 2021-09-14 · in Go’ing Insane: Endless Error Handling -
Last update on the issue is from April 25th https://github.com/rust-lang/rfcs/issues/2848#issuecomment-8...
comment by epage · 2021-09-09 · in Rust 1.55.0 -
https://github.com/rust-lang/rfcs/issues/2848#issuecomment-8...
comment by steveklabnik · 2021-09-09 · in Rust 1.55.0 -
…Rust proper, not in outside projects. Here a relevant issue, but there is not much progress on it: https://github.com/rust-lang/rfcs/issues/2610
comment by newpavlov · 2021-09-08 · in Rust programs written entirely in Rust -
Isn't this (at least in part) addressed by NLLs[1], or am I misunderstanding? [1]: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll....
comment by spoiler · 2021-08-10 · in When zero cost abstractions aren't zero cost -
Moreover, Rust is working on portability lints: https://github.com/rust-lang/rfcs/blob/master/text/1868-port... So that even when you only compile and test your code on Linux, you will get warnings about calling Linux-only functions from…
comment by pornel · 2021-08-09 · in Constexpr is a Platform (2020) -
…[3] https://docs.rust-embedded.org/book/intro/no-std.html [4] https://github.com/rust-lang/rfcs/blob/master/text/2116-allo...
comment by dodobirdlord · 2021-07-20 · in A GPIO Driver in Rust -
…mean that rustc should integrate an industrial-strength SAT solver? Well, this is actually what https://github.com/rust-lang/rfcs/blob/master/text/1868-port... would require. There is already chalk, a logic programming language for traits…
comment by Ericson2314 · 2021-07-08 · in Compiling Rust is NP-hard -
…the situation where multiple different versions of the same crate are present is possible. https://github.com/rust-lang/rfcs/pull/1977
comment by nemetroid · 2021-06-14 · in Untapped potential in Rust's type system -
See also this comment that makes the ambiguity explicit: https://github.com/rust-lang/rfcs/pull/2527#issuecomment-414...
comment by eslaught · 2021-05-14 · in Rust Weird Expressions -
…a look, it's very readable. There's discussion in the corresponding Github issue of the RFCs repo ( https://github.com/rust-lang/rfcs ). If the folks who work in that area are supportive, the RFC will be merged. After that someone needs to…
comment by nindalf · 2021-05-11 · in The Plan for the Rust 2021 Edition -
…for a while that rust would make some progress toward better supporting setjmp/longjump from C: https://github.com/rust-lang/rfcs/issues/2625 It's asking a lot, but it's one of very few weak points in Rust/C interoperability, and it would…
comment by jeff-davis · 2021-05-06 · in Rust 1.52.0 -
…is really useful for this...) this function calls TryFrom::try_from. which runs afoul of https://github.com/rust-lang/rfcs/blob/master/text/0911-cons... > Traits, trait implementations and their methods cannot be const - this allows us to…
comment by steveklabnik · 2021-05-06 · in Rust 1.52.0 -
…which is fundamentally an inheritance hierarchy, in Servo. There's a longstanding RFC about it: https://github.com/rust-lang/rfcs/issues/349 Inheritance is one possible solution. There are others.
comment by twic · 2021-04-30 · in Inheritance was invented as a performance hack -
…idea has been demonstrated to be unfit for a systems programming language, and scrapped before 1.0: https://github.com/rust-lang/rfcs/blob/0806be4f282144cfcd55b...
comment by pornel · 2021-04-26 · in Red and blue functions are a good thing -
…support for secret types in LLVM, and Rust is waiting for them to also provide it in Rust [0]. [0]: https://github.com/rust-lang/rfcs/pull/2859
comment by fuklief · 2021-04-21 · in Preparing Rustls for Wider Adoption -
…the standard collection APIs. This RFC is accepted and implemented. See the Josh's answer[2]. [1]: https://github.com/rust-lang/rfcs/blob/master/text/2116-allo... [2]: https://lore.kernel.org/lkml/YHdSATy9am21Tj4Z@localhost/
comment by yagizdegirmenci · 2021-04-14 · in An RFC that adds support for Rust to the Linux kernel -
…of NaN to be able to generate good assembly. I'm glad people have noticed and appreciate this. https://github.com/rust-lang/rfcs/pull/1961
comment by pornel · 2021-04-10 · in A look at LLVM: comparing clamp implementations -
…only applicable to a subset of problems. Anyways, I found that variadic generics is a draft RFC: https://github.com/rust-lang/rfcs/issues/376
comment by lenkite · 2021-04-07 · in Rust in the Android Platform -
…specifics here, but I should note that this feature was originally literally dependent types. * https://github.com/rust-lang/rfcs/pull/1657 * https://github.com/rust-lang/rfcs/issues/1930 * https://github.com/rust-lang/rfcs/pull/2000 (the…
comment by steveklabnik · 2021-04-03 · in Grids in Rust, Part 2: const generics -
…this RFC[1] which has been merged and whose implementation progress can be followed here [2] [1] https://github.com/rust-lang/rfcs/pull/2116 [2] https://github.com/rust-lang/rust/issues/48043
comment by littlestymaar · 2021-03-22 · in How Safe Is Zig? -
…proposed removing them has an extremely detailed explanation of why the change was made pre-1.0: https://github.com/rust-lang/rfcs/blob/0806be4f282144cfcd55b... I think this has proven itself to be the right decision. It's one of the main…
comment by tedmielczarek · 2021-03-11 · in Rust’s async isn’t colored -
…were some (related, I think!) proposals here: https://github.com/rust-lang/lang-team/issues/23 https://github.com/rust-lang/rfcs/issues/3000
comment by smt1 · 2021-03-10 · in Why asynchronous Rust doesn't work -
…proposals and concrete contributions, FWIW: https://github.com/rust-lang/rust/graphs/contributors https://github.com/rust-lang/rfcs/graphs/contributors
comment by duckerude · 2021-03-03 · in How the AWS team will contribute to Rust’s success -
…3] [0]: https://crates.io/crates/c2rust-bitfields [1]: https://github.com/dzamlo/rust-bitfield [2]: https://github.com/rust-lang/rfcs/issues/314 [3]: https://github.com/rust-lang/rfcs/pull/3064
comment by aw1621107 · 2021-03-02 · in Giving Ada a Chance -
…{ // optvalue is none return; }; [1] https://szymonkrajewski.pl/why-should-you-return-early/ [2] https://github.com/rust-lang/rfcs/issues/2616 [3] https://github.com/rust-lang/rfcs/pull/1303
comment by gardaani · 2021-02-19 · in Where Everything Went Wrong: Error Handling and Error Messages in Rust (2020) -
…like to know why Rust really still has a turbofish, the huge RFC 2544 thread has the full story: https://github.com/rust-lang/rfcs/pull/2544 Important points in that discussion (I'm only linking to the comments summarizing other comments):…
comment by ynik · 2021-02-05 · in Bastion of the Turbofish (2020) -
And here's the answer: https://github.com/rust-lang/rfcs/pull/2527#issuecomment-414... WOW that's certainly a `wat` EDIT: ok - now that I look at it, I understand. My brain was very, very primed to see the <woe, is> as type parameters -…
comment by michael_j_ward · 2021-02-05 · in Bastion of the Turbofish (2020) -
…composition over inheritance, but Rust for example has problems with up-casting of trait objects (https://github.com/rust-lang/rfcs/issues/2765) that inheritance/vtable based languages (e.g. C++) do not have. So it's not a bad comment, and…
comment by loves_mangoes · 2021-01-17 · in Would Rust Secure Curl? -
…links below I found this [1] and this [2] [1] https://github.com/rust-lang/rust/issues/32838 [2] https://github.com/rust-lang/rfcs/pull/1398
comment by mmastrac · 2021-01-15 · in Why Zig when there is already C++, D, and Rust? -
…this: Variadic generics[1]. But so far every attempt at an RFC has been closed or postponed. [1]: https://github.com/rust-lang/rfcs/issues/376
comment by Rangi42 · 2021-01-09 · in Building a runtime reflection system for Rust (Part 3) -
…st-unofficial.github.io/patterns/patterns/visitor.... [1]: https://openjdk.java.net/jeps/8213076 [2]: https://github.com/rust-lang/rfcs/pull/2593
comment by vbrandl · 2021-01-03 · in Rust Design Patterns as a Book -
This is a better page to read (although linking to the PR is appropriate for HN): https://github.com/rust-lang/rfcs/blob/256d1969753f23f1182d4...
comment by some_furry · 2020-12-18 · in Rust 2021 Roadmap -
…roadmaps have been trending this way for a while. See the change over time for yourself: * 2020: https://github.com/rust-lang/rfcs/blob/master/text/2857-road... * 2019: https://github.com/rust-lang/rfcs/blob/master/text/2657-road... *…
comment by steveklabnik · 2020-12-18 · in Rust 2021 Roadmap -
Those asm docs are from Rust 1.8; the feature was completely re-written since then. https://github.com/rust-lang/rfcs/blob/master/text/2873-inli...
comment by steveklabnik · 2020-12-16 · in Mundane: Rust cryptography library that is difficult to misuse -
…isn't a language that offers a solution to this problem so far. But there is an open RFC for it: https://github.com/rust-lang/rfcs/issues/294
comment by valenterry · 2020-12-08 · in Why nullable types? -
…syntax for asm! was recently specified [2], but that will take some time to implement. [1] https://github.com/rust-lang/rfcs/pull/2843 [2] https://github.com/rust-lang/rfcs/pull/2873
comment by cdirkx · 2020-12-01 · in Show HN: Tiny 1k Rust binary on Windows -
…and potential issues around interactive programming in Rust are outlined and discussed here: https://github.com/rust-lang/rfcs/issues/655
comment by capableweb · 2020-11-24 · in Tips for Performant TypeScript -
…most things can work. Like Rust just brought their arm support to the tier 1 support level, see https://github.com/rust-lang/rfcs/pull/2959
comment by dutchmartin · 2020-11-12 · in Apple Silicon M1 chip in MacBook Air outperforms high-end 16-inch MacBook Pro -
…and it also seems to solve them with duplication where necessary[2], at least sometimes. [0]: https://github.com/rust-lang/rfcs/issues/414 [1]: https://github.com/idris-lang/Idris2/tree/master/libs/base [2]:…
comment by creata · 2020-10-20 · in Assorted Thoughts on Zig and Rust -
We have a project group working on "safe transmute", here's their first RFC https://github.com/rust-lang/rfcs/pull/2981 It cites the Haskell work: https://github.com/jswrenn/rfcs/blob/safer-transmute/text/00...
comment by steveklabnik · 2020-10-05 · in Type-Level Programming in Rust -
…personally rely on match ergonomics[1] and borrow e instead of using ref in the pattern[2]. [1]: https://github.com/rust-lang/rfcs/blob/master/text/2005-matc... [2]: https://play.rust-lang.org/?version=nightly&mode=debug&editi...
comment by estebank · 2020-10-03 · in A Fistful of States: More State Machine Patterns in Rust -
…it not pessimizing badly. [0] https://play.rust-lang.org/?version=stable&mode=release&edit... [1] https://github.com/rust-lang/rfcs/pull/560
comment by lytigas · 2020-09-24 · in How expensive is integer-overflow trapping in C++? -
…could handle it, for example, and the intention is to ship it. There's also more minor things like https://github.com/rust-lang/rfcs/pull/1210#issuecomment-179...
comment by steveklabnik · 2020-09-23 · in Haskell's Children -
…the same `x` after the loop. EDIT: left a comment on the GitHub thread, I might be misremembering https://github.com/rust-lang/rfcs/issues/2848#issuecomment-6... .
comment by eddyb · 2020-09-22 · in My least favorite Rust type -
…there is a proposal to fix this that looks like it wouldn't be breaking, and so should be possible: https://github.com/rust-lang/rfcs/issues/2848
comment by cmyr · 2020-09-21 · in My least favorite Rust type -
…all of its reverse dependencies. I really hope `extern type` could help with this. edit wrote https://github.com/rust-lang/rfcs/pull/2984#issuecomment-695... on how I think it could.
comment by Ericson2314 · 2020-09-20 · in Why Not Rust? -
…into a closure [1], or nested &mut receiver calls being rejected despite being sound [2]. [1] https://github.com/rust-lang/rfcs/issues/2407 [2] https://github.com/rust-lang/rust/issues/6268
comment by dlubarov · 2020-09-20 · in Why Not Rust?