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
-
…bound) * Rust doesn't currently support dynamic stack allocation so DSTs can't be stack-allocated ( https://github.com/rust-lang/rfcs/issues/618 )
comment by masklinn · 2016-06-01 · in Strings and the CLR – A Special Relationship -
https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... and the PR/issue linked there. There are also old mailing list discussions on rust-dev somewhere which discuss this IIRC.
comment by Manishearth · 2016-05-30 · in Writing an OS in Rust: Catching CPU Exceptions -
…but it's not really that big of a problem. For partial borrows, there has been some work on it ( https://github.com/rust-lang/rfcs/issues/1215 ), but I agree that this is something that's missing. That said, I very rarely run into this,…
comment by Jonhoo · 2016-05-29 · in The Path to Rust -
…into Rust, without any assembly file (see [3], especially the `common.ld` linker script). [1]: https://github.com/rust-lang/rfcs/pull/1201 [2]: http://wiki.osdev.org/Bare_Bones [3]: https://github.com/japaric/cu
comment by phil-opp · 2016-05-28 · in Writing an OS in Rust: Catching CPU Exceptions -
…feature for consideration. It's one of relatively few areas where D is superior to Rust IMO. [1] https://github.com/rust-lang/rfcs/issues/1077
comment by wyldfire · 2016-05-26 · in Announcing Rust 1.9 -
This is also a pending issue: https://github.com/rust-lang/rfcs/issues/349
comment by shmerl · 2016-05-26 · in The Path to Rust -
…the time it does make sense and the borrow checker just isn't clever enough to know. For example: https://github.com/rust-lang/rfcs/issues/811
comment by IshKebab · 2016-05-26 · in The Path to Rust -
Others don't consider languages which do not handle OS signals a "systems" language: https://github.com/rust-lang/rfcs/issues/1368
comment by ustolemyname · 2016-05-26 · in The Path to Rust -
…primitive. I have an long-open RFC that I hope will get cross-compilation working the right way https://github.com/rust-lang/rfcs/pull/1133 . That said RustUP is still a fine easy way to get compilers builds as opposed to standard library…
comment by Ericson2314 · 2016-05-14 · in Taking Rust everywhere with rustup -
…a long-term experiment to implement KVM in Rust. Adding union support to Rust was the first step: https://github.com/rust-lang/rfcs/pull/1444
comment by JoshTriplett · 2016-05-12 · in QEMU: out-of-bounds memory access issue -
…the special case of Result, the new ? operator is going to subsume try! and offer more flexibility: https://github.com/rust-lang/rfcs/pull/243 (note that what was actually accepted differs from the text of the RFC, you need to scroll to…
comment by comex · 2016-05-03 · in Rewrite Tor in Rust -
What will be interesting is when rust gets its own ABI. There is an rfc for it even: https://github.com/rust-lang/rfcs/issues/600 Hopefully if such a thing exists you could link directly to a rust library from other high level languages…
comment by robohamburger · 2016-05-03 · in Go bindings to Rust's regex engine -
…an RFC on what would need to be done to the region system for nonlexical borrows a while back: https://github.com/rust-lang/rfcs/pull/396 .
comment by cwzwarich · 2016-05-02 · in Non-Lexical Lifetimes in Rust -
…that it can optimize the tail call (and is a compile-time error if it can't). See this comment: https://github.com/rust-lang/rfcs/issues/271#issuecomment-18... Nobody's tried implementing it recently, though.
comment by geofft · 2016-04-27 · in Introducing MIR -
…self.routing_table.insert(origin); } edit: upon digging into the details, it looks like it may: https://github.com/rust-lang/rfcs/blob/db66dd2039b10b7590840...
comment by eloisius · 2016-04-27 · in Introducing MIR -
…https://github.com/rust-lang/rust/issues/26179 Prefetch intrinsic: Looks like a rejected rfc https://github.com/rust-lang/rfcs/pull/125 Inlining: As far as I understand the attributes are #[inline(always)] and #[inline(never)] respectively.
comment by alkonaut · 2016-04-15 · in Announcing Rust 1.8 -
Ooops yeah forgot about https://github.com/rust-lang/rfcs/blob/master/text/0320-nonz... . [To be perfectly pendantic, one could trade the drop flags for code bloat and have only a finite blow up and statically known everywhere, so its a…
comment by Ericson2314 · 2016-04-15 · in Announcing Rust 1.8 -
Not an exact timeline, but it's something that's being actively worked on. There's even an RFC: https://github.com/rust-lang/rfcs/pull/1566
comment by steveklabnik · 2016-04-15 · in Announcing Rust 1.8 -
…when/if we will see support for higher-kinded types in Rust? There is the RFC thread on Github ( https://github.com/rust-lang/rfcs/issues/324 ), but I haven't been following the trajectory very closely, and a quick synopsis would be…
comment by harveywi · 2016-04-14 · in Announcing Rust 1.8 -
…functions that have changed. The code to build and persist the dependency graph has already landed. https://github.com/rust-lang/rfcs/blob/master/text/1298-incr...
comment by pcwalton · 2016-04-02 · in New SSA Back End for the Go Compiler (2015) -
…yeah analysis-type tasks is precisely where the REPL is most essential, not going to lie. I hope https://github.com/rust-lang/rfcs/blob/master/text/1298-incr... will help bridge the gap. And perhaps help with writing a REPL too...
comment by Ericson2314 · 2016-03-27 · in OCaml Language Sucks (2007) -
…Take a look at the RFC for std::panic::recover- it definitely takes exception safety into account: https://github.com/rust-lang/rfcs/blob/master/text/1236-stab... Also take a look at things like the design of the Drain iterator- the stdlib…
comment by Rusky · 2016-03-27 · in Concurrency in Rust -
…here: https://doc.rust-lang.org/book/custom-allocators.html And the second is still in RFCs: https://github.com/rust-lang/rfcs/pull/1398 Both of these things are not yet stable. The second does, in fact, give you the ability to return an…
comment by steveklabnik · 2016-03-27 · in Concurrency in Rust -
…//doc.rust-lang.org/std/result/enum.Result.html [1] http://doc.rust-lang.org/core/macro.try!.html [2] https://github.com/rust-lang/rfcs/pull/243
comment by masklinn · 2016-03-22 · in Cross-platform Rust rewrite of the GNU coreutils -
Implementations will do that, e.g. https://github.com/rust-lang/rfcs/pull/1513 .
comment by dbaupp · 2016-03-21 · in The Strict Aliasing Situation Is Pretty Bad -
"ridiculously easy": https://github.com/rust-lang/rfcs/issues/604
comment by jfbastien · 2016-03-15 · in Experimental support for WebAssembly in V8 -
…types whose logical invariants are preserved in case of panic). There's an example in the rfc: https://github.com/rust-lang/rfcs/blob/master/text/1236-stab... In Rust logical invariants are used to enforce memory safety. If the destructor…
comment by Manishearth · 2016-03-07 · in Ill-Advised C++ Rant, Part 2 -
…but it will be a bumpy road if the compiler simultaneously is going to be made more incremental. https://github.com/rust-lang/rfcs/pull/1317 Nim does a good job with their IDE support http://nim-lang.org/docs/idetools.html
comment by alkonaut · 2016-03-04 · in Announcing Rust 1.7 -
…way. That's one of the reasons why adding a defaulted method to a trait is a minor change. See https://github.com/rust-lang/rfcs/blob/master/text/1105-api-... for more.
comment by steveklabnik · 2016-03-03 · in Announcing Rust 1.7 -
…and VS Code. We're also working on ways to improve the compiler to better support the IDE use case: https://github.com/rust-lang/rfcs/pull/1317
comment by kibwen · 2016-03-03 · in Announcing Rust 1.7 -
…supposed to do with Semver: lay out what 'compatible' means. The primary documents for this are https://github.com/rust-lang/rfcs/blob/master/text/1122-lang... and https://github.com/rust-lang/rfcs/blob/master/text/1105-api-... I quote: >…
comment by steveklabnik · 2016-03-03 · in Announcing Rust 1.7 -
…impacted can easily fix them unless they are exploiting the existing "bug" to do something unsound. https://github.com/rust-lang/rfcs/blob/8e2d3a3341da533f846f6...
comment by tatterdemalion · 2016-03-03 · in Announcing Rust 1.7 -
…catch_panic", found on Rust's issue tracker, illustrate some unsettled questions I had in mind ( https://github.com/rust-lang/rfcs/pull/1236 ). For example, kentonv wrote: All code can fail, because all code can have bugs. Obviously, we…
comment by ngrilly · 2016-03-03 · in Visual Studio Code for Go -
…forward there were two major features whose RFCs were accepted this cycle: impl specialization ( https://github.com/rust-lang/rfcs/pull/1210#issuecomment-187... ) and the `?` operator ( https://github.com/rust-lang/rfcs/pull/243#issuecommen…
comment by kibwen · 2016-03-03 · in Announcing Rust 1.7 -
There is an RFC[1] for making enum variants first-class types. [1]: https://github.com/rust-lang/rfcs/pull/1450
comment by da4c30ff · 2016-02-29 · in Comparing Rust and Java -
Incidentally, the specialization RFC was just accepted https://github.com/rust-lang/rfcs/pull/1210#issuecomment-187...
comment by steveklabnik · 2016-02-23 · in Rewrite Everything in Rust -
…C++ beats Rust in that. For instance Rust is still missing something like virtual structs. See https://github.com/rust-lang/rfcs/issues/349
comment by shmerl · 2016-02-23 · in Rewrite Everything in Rust -
…of the traits you would like to be able to use aren't expressible without "higher kinded types" ( https://github.com/rust-lang/rfcs/issues/324 ), so there are still some big features that everyone kind of hopes will happen soon but there's…
comment by lambda · 2016-02-20 · in Why I want Concepts, sooner rather than later -
…now. What's important is what happens next. A public issue tracker? A rust style RFC process? ( https://github.com/rust-lang/rfcs ) Just please, whatever you do, do it fast, and stop people from doing what babel did and migrating to…
comment by shadowmint · 2016-02-12 · in GitHub responds to Dear GitHub letter -
…mechanisms to prevent people from treating `recover` as a general error-handling mechanism: https://github.com/rust-lang/rfcs/pull/1323
comment by kibwen · 2016-02-08 · in The Error Model in Midori -
I read it the same way. There's an open issue for it: https://github.com/rust-lang/rfcs/issues/372 I think one of the main reasons this isn't done is because of the grammar issue. I dimly remember that one of the goals of Rust was to be…
comment by deng · 2016-02-07 · in Rust vs. C++: Fine-grained Performance -
…that everything is still well-defined. There does not seem to be real answer to this question yet: https://github.com/rust-lang/rfcs/issues/1447 What does Rust guarantee with respect to lifetimes? In fact it guarantees much less than what…
comment by wuch · 2016-02-01 · in Why I'm Choosing C++ -
…question ;-) > Xbox Nope. [1]: https://twitter.com/wickerwaka/status/479842553831776257 [2]: https://github.com/rust-lang/rfcs/blob/master/text/0131-targ...
comment by tomjakubowski · 2016-02-01 · in Why I'm Choosing C++ -
I wrote a comment a while ago that has some code examples: https://github.com/rust-lang/rfcs/pull/243#issuecomment-8220... (and the following two comments)
comment by dbaupp · 2016-01-23 · in Rust and the Blub Paradox -
Have you seen https://github.com/rust-lang/rfcs/pull/243 ? What do you think of it?
comment by steveklabnik · 2016-01-23 · in Rust and the Blub Paradox -
…tp://doc.rust-lang.org/std/marker/trait.Copy.html [1] http://doc.rust-lang.org/std/ops/index.html [2] https://github.com/rust-lang/rfcs/pull/953
comment by masklinn · 2016-01-22 · in Announcing Rust 1.6 -
…of LLVM we've let pollute into the language in the meantime and where it's feasible to diverge. https://github.com/rust-lang/rfcs/issues/1447 is a good thread if you care about this topic.
comment by steveklabnik · 2016-01-21 · in Announcing Rust 1.6 -
EDIT: I realized the post was written before Rust's governance was diversified ( https://github.com/rust-lang/rfcs/blob/master/text/1068-rust... ). Rust at that time was "Mozilla led", but this isn't really true now. > Rust is pushed by…
comment by Manishearth · 2016-01-21 · in I missed Nim (2014) -
…based on a merge I saw recently. The "Trait Based Exception Handling" RFC is in final comments: https://github.com/rust-lang/rfcs/pull/243
comment by grayrest · 2016-01-21 · in I missed Nim (2014) -
…and expect there will be something to make it slow in practice. I could be wrong though. [1] https://github.com/rust-lang/rfcs/blob/master/text/1298-incr...
comment by comex · 2016-01-18 · in C or C++ for my game engine?