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
-
…of only one: interfacing with hardware or unsafe OSes that control access to the hardware. [0] https://github.com/rust-lang/rfcs/issues/2533
comment by mleonhard · 2021-12-03 · in This shouldn't have happened: A vulnerability postmortem -
There was a proposal for that, but it wasn't accepted https://github.com/rust-lang/rfcs/pull/890
comment by nextaccountic · 2021-10-22 · in Rust 1.56.0 and Rust 2021 -
…distinct. As an example, here's a comment of mine on the original RFC (which was called "epochs"): https://github.com/rust-lang/rfcs/pull/2052#issuecomment-315... (the part with "Some language development comparisons")
comment by steveklabnik · 2021-10-21 · in Rust 1.56.0 and Rust 2021 -
This old RFC came up elsewhere in the thread and sounds like a similar idea: https://github.com/rust-lang/rfcs/pull/1806
comment by ahupp · 2021-10-20 · in Builder Pattern in Rust -
I hope that one day the default struct field values RFC will be reconsidered: https://github.com/rust-lang/rfcs/pull/1806 . This would allow a syntax more familiar to users of JavaScript, where fields with their default value can be…
comment by nitsky · 2021-10-20 · in Builder Pattern in Rust -
…'trustme', 'trusted', as well as less serious ones like 'yolo' and 'hold_my_beer_and_watch_this': https://github.com/rust-lang/rfcs/pull/117 )
comment by rcxdude · 2021-10-11 · in So You Want to Rust the Linux Kernel? -
…and a bad exception design (like Java's) is strictly worse than even Go's error handling. [1] https://github.com/rust-lang/rfcs/pull/243 [2] https://github.com/glaebhoerl/rust-notes/blob/268266e8fbbbfd... [3]…
comment by nemothekid · 2021-10-08 · in Rust: Enums to Wrap Multiple Errors -
▲ 1
Rust RFC for increase privacy/reproducibilitystory by transportheap · 2021-09-23 · 0 comments
-
…}; (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 -
▲ 2
Rust Needs the Ternary Conditional Operator (-?-:-)story by markjgx · 2021-03-23 · 0 comments
-
…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? -
▲ 3
Deprecate the Authors Fieldstory by aviraldg · 2021-01-13 · 1 comment
-
…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 -
▲ 178
Rust 2021 Roadmapstory by praveenperera · 2020-12-18 · 81 comments
-
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 -
▲ 1
RFC: Rust “Bang (Never) Type”story by brundolf · 2020-11-27 · 0 comments