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
-
…at all, from what I can tell (caveat that I've never actually tried it). There's no stable ABI ( https://github.com/rust-lang/rfcs/issues/600 ), and therefore the only way to go is via a C interface. So Rust is more or less in the same…
comment by zahllos · 2019-07-11 · in Catching use-after-move C++ bugs with Clang's consumed annotations -
You can, but there’s reasons a real external type feature is useful: https://github.com/rust-lang/rfcs/blob/master/text/1861-exte...
comment by steveklabnik · 2019-07-04 · in Announcing Rust 1.36.0 -
It seems to be described in this Rust RFC: https://github.com/rust-lang/rfcs/blob/master/text/2116-allo...
comment by cesarb · 2019-06-10 · in Malloc Never Fails (2012) -
…without needing additional tooling and I guess I'll enable it in all of my own codebases. [1]: https://github.com/rust-lang/rfcs/pull/2457
comment by est31 · 2019-06-08 · in Rust, Macros, λ-calculus/Church numerals, oh my -
…implement this feature, which is why it will remain opt-in, nightly only for the medium term. [1]: https://github.com/rust-lang/rfcs/blob/master/text/2457-non-... [2]: https://github.com/rust-lang/rfcs/pull/2457 [3]:…
comment by estebank · 2019-06-08 · in Rust, Macros, λ-calculus/Church numerals, oh my -
…the `#[repr(transparent)]` proposal that precisely tackled this problem for Rust: [RFC 1758]( https://github.com/rust-lang/rfcs/blob/de0917dca549694fffbe3... ).
comment by heinrich5991 · 2019-06-06 · in Writing a game engine in pure C: The Graphic Initialization -
…is a good idea or not. Some like the idea, some don't like it. It yields in threads like this one: https://github.com/rust-lang/rfcs/pull/2426
comment by est31 · 2019-06-05 · in Proposal: A built-in Go error check function, try -
https://github.com/rust-lang/rfcs/pull/2442
comment by centril · 2019-05-28 · in Update on await syntax in Rust -
…and shifgrethor[2]. If you mean language support, then no, not really, though it was discussed in https://github.com/rust-lang/rfcs/issues/415 [1]: https://github.com/Manishearth/rust-gc [2]: https://github.com/withoutboats/shifgrethor
comment by remram · 2019-05-24 · in Go is Google's language, not ours -
…I guess Haskell does too[2]. [0]: https://kotlinlang.org/docs/reference/delegation.html [1]: https://github.com/rust-lang/rfcs/pull/2393 [2]: https://downloads.haskell.org/~ghc/5.04/docs/html/users_guid...
comment by chucksmash · 2019-05-09 · in Inheritance versus Composition -
…cargo build, cargo run, and cargo test commands will just work, including IDE integration. [3]: https://github.com/rust-lang/rfcs/pull/2663
comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing -
…Eventually, we will merge this new front-end with the remaining bits of back-end from rustc. [1] https://github.com/rust-lang/rfcs/blob/master/text/2657-road...
comment by TheCoelacanth · 2019-04-23 · in Rust's 2019 Roadmap -
It's in the more detailed roadmap RFC under the embedded WG: https://github.com/rust-lang/rfcs/blob/master/text/2657-road...
comment by stusmall · 2019-04-23 · in Rust's 2019 Roadmap -
…is already usable for basic things. This also means improving the compiler. From the 2019 roadmap: https://github.com/rust-lang/rfcs/blob/master/text/2657-road... > This is where the RLS 2.0 effort comes in. The plan is to build a…
comment by steveklabnik · 2019-04-19 · in Learning Parser Combinators with Rust -
…there wouldn't be so many terms for the same thing. edit: There's also an existing RFC for this: https://github.com/rust-lang/rfcs/issues/1077
comment by kaiby · 2019-04-17 · in Rust: Beyond the Typechecker -
…RFC [3] adds a minimal, forward-compatible from of this, and is on track to land this year. 1: https://github.com/rust-lang/rfcs/issues/1930 2: https://github.com/rust-lang/rfcs/pull/1657#issuecomment-268... and…
comment by steveklabnik · 2019-04-16 · in Rust: Beyond the Typechecker -
…not?” Lol; that was me (although there were probably others). I approve of the dramatic rendition. https://github.com/rust-lang/rfcs/issues/2619
comment by ComputerGuru · 2019-04-11 · in Rust 1.34.0 -
…features must be documented in the language reference before landing on the stable release branch: https://github.com/rust-lang/rfcs/blob/master/text/1636-docu... As far as I can tell after adopting the rule they didn't proceed to enforce…
comment by mjw1007 · 2019-03-25 · in Rust is not a good C replacement -
…corporate support. Absolutely! We accepted an RFC here, and there's an unstable implementation https://github.com/rust-lang/rfcs/blob/master/text/2141-alte...
comment by steveklabnik · 2019-03-25 · in Rust is not a good C replacement -
…to do to get perfectly reasonable-looking code to compile if Non-Lexical Lifetimes are not allowed: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll....
comment by IshKebab · 2019-02-24 · in C++20 Design Is Complete: Modules, Coroutines in C++20 -
…(matching up rows from one with columns from another) I'm hopeful about const generics here: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons...
comment by surrealize · 2019-02-11 · in Why Swift for TensorFlow? -
Does anyone know, is https://github.com/rust-lang/rfcs/blob/master/text/0066-bett... ever going to be resolved? I really do not like the idea of having to create a new variable for something so simple as this.
comment by johnisgood · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…it sounds like you maybe referring to issues addressed by Non-Lexical Lifetimes (NLL)? Reference: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.... NLL are a part of Rust 2018 Edition. Three complementary books are the best…
comment by manaskarekar · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…and loading test configs etc. There is an eRFC for better integration of custom test frameworks. https://github.com/rust-lang/rfcs/pull/2318
comment by epage · 2019-01-01 · in Rust 2019: Tame Complexity through Community Involvement Tools -
That RFC was accepted and merged quite a while ago! https://github.com/rust-lang/rfcs/pull/2504
comment by the_duke · 2018-12-26 · in Rust 2019 and beyond: limits to some growth -
…some things in my code... it's got some interesting ideas. [1]: https://gitlab.com/objrs/objrs [2]: https://github.com/rust-lang/rfcs/blob/master/text/0255-obje...
comment by cornstalks · 2018-12-15 · in Storing unboxed trait objects in Rust -
To save others searching; The mentioned NLL is: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.... “non-lexical lifetimes”
comment by acqq · 2018-12-15 · in Bootstrapping Rust -
…idea (ignore the naysayers). It's been discussed before here and in the link 2 comments later: https://github.com/rust-lang/rfcs/issues/600#issuecomment-40...
comment by IshKebab · 2018-12-03 · in How I Wrote a Modern C++ Library in Rust -
…said it will take some time for the web development ecosystem to mature around the futures API. [1] https://github.com/rust-lang/rfcs/pull/2592 [2] https://github.com/rust-lang-nursery/futures-rs/blob/master/... [3]…
comment by josephg · 2018-11-28 · in Rust 2018 survey results -
…that significant (that would just be avoiding the any language one-liner: if err return err) [1] https://github.com/rust-lang/rfcs/blob/master/text/0243-trai...
comment by setr · 2018-11-26 · in Errors in Go: From denial to acceptance -
…it than that, and the rust proposal could help guide discussion of other possible issues too. [0]: https://github.com/rust-lang/rfcs/pull/2052
comment by TheDong · 2018-10-26 · in Proposal: Go 2 transition -
…behavior to run code compiled with CPU features that aren't supported by the current CPU. See: https://github.com/rust-lang/rfcs/blob/master/text/2045-targ... There are some other ideas for making it easier to reason about safety at this…
comment by burntsushi · 2018-10-24 · in Towards fearless SIMD -
…algorithms. Sadly, it's not likely to happen any time soon due to real technical challenges: https://github.com/rust-lang/rfcs/pull/1888#issuecomment-360... ... and also the fact that WebAssembly does not support tail calls either:…
comment by btown · 2018-10-18 · in Is Rust functional? -
…chromestatus.com/feature/5516876633341952 [3]: https://github.com/kangax/compat-table/issues/819 [4]: https://github.com/rust-lang/rfcs/pull/1888
comment by kbumsik · 2018-09-28 · in Stop writing lambda expressions in Python -
…it. The end goal is first-class support to allow people to build excellent libraries like Eigen. 1: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons...
comment by steveklabnik · 2018-09-21 · in C++ Lifetime profile v1.0 posted -
I was just about to link to something like this[0] before I read your last sentence. [0]: https://github.com/rust-lang/rfcs/pull/911
comment by ChrisSD · 2018-09-20 · in Becoming a Better Software Developer: A Handbook on Personal Performance -
Rust has alignment annotations. https://github.com/rust-lang/rfcs/blob/master/text/1358-repr...
comment by the8472 · 2018-09-17 · in David Patterson Says It’s Time for New Computer Architectures and Languages -
…"slightly different but mostly the same" things in this space. In Rust, this is const generics: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons... struct RectangularArray<T, const WIDTH: usize, const HEIGHT: usize> { array:…
comment by steveklabnik · 2018-08-02 · in Announcing Rust 1.28 -
We used to have NonZero<T>, but changed it https://github.com/rust-lang/rfcs/blob/b728bf68703f681ef0e42... The real motivation is > With NonNull covering pointers, the remaining use cases for NonZero are integers. It's unclear how…
comment by steveklabnik · 2018-08-02 · in Announcing Rust 1.28 -
…NonZeroU16, etc instead of something like NonZero<u8>, NonZero<u16>, etc? The RFC covers this. https://github.com/rust-lang/rfcs/blob/master/text/2307-conc... Also see the RFC discussion at https://github.com/rust-lang/rfcs/pull/2307…
comment by Arnavion · 2018-08-02 · in Announcing Rust 1.28 -
…are still unstable, because they aren't good enough. The bar is high. Plenty of RFCs get rejected: https://github.com/rust-lang/rfcs/pulls?q=is%3Apr+is%3Aclose... and even more "pre-RFCs" don't even make it past initial discussion in the…
comment by pornel · 2018-07-27 · in What is Rust 2018? -
…comment in particular gives a good background on what HKT's are, and how they could look in Rust: https://github.com/rust-lang/rfcs/issues/324#issuecomment-24...
comment by senorsmile · 2018-07-27 · in What is Rust 2018? -
…30 minute builds after every minor change? [0]: https://github.com/rust-lang/rust/issues/36629 [1]: https://github.com/rust-lang/rfcs/issues/612
comment by cornstalks · 2018-07-23 · in The internals of testing in Rust in 2018 -
https://github.com/rust-lang/rfcs/blob/master/text/2000-cons... is the current accepted design; we plan to go further in the future, but wanted something minimal at first. This is likely to land in nightly by the end of the year and be…
comment by steveklabnik · 2018-07-21 · in The Value of Undefined Behavior -
…(hopefully) requiring anyone to learn anything about type theory. The RFC text can be read at https://github.com/rust-lang/rfcs/blob/master/text/1598-gene... and comments can be left on the tracking issue at…
comment by kibwen · 2018-07-16 · in Async and Await in Rust: a full proposal -
…for why Rust is aiming for this behavior, I think this comment buried in the RFC discussion ( https://github.com/rust-lang/rfcs/pull/2394#issuecomment-382... ) sums it up (and makes note of Dart 2.0 as a contrasting example): "A…
comment by kibwen · 2018-07-15 · in Async and Await in Rust: a full proposal -
…In fact, one of the RFCs linked at the top of the OP has been closed and superceded by a newer one: https://github.com/rust-lang/rfcs/pull/2418 . I've actually heard that tomorrow (Monday) the futures and networking working groups will…
comment by kibwen · 2018-07-15 · in Async and Await in Rust: a full proposal -
We stole it from Swift. To your parent, the RFC is pretty short and has good motivation: https://github.com/rust-lang/rfcs/blob/master/text/0160-if-l...
comment by steveklabnik · 2018-07-09 · in Fun with Macros: If-Let and When-Let -
…plan now for a feature equivalent to HKT, generic associated types (associated type constructors), https://github.com/rust-lang/rfcs/pull/1598 , and I’m glad; note when I say that that I was one of the few that campaigned before Rust 1.0…
comment by chrismorgan · 2018-06-23 · in Rust 2018: an early preview