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
-
…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 -
▲ 138
Rust core team promotes Linux on 64-bit Arm to Tier-1 supported platform statusstory by fork-bomber · 2020-10-22 · 15 comments
-
…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? -
…indirect impact of raising the bar for whatever comes after, then it will have been worth it. [1]: https://github.com/rust-lang/rfcs/blob/master/text/1584-macr... [2]: https://youtu.be/Z6X7Ada0ugE?t=705 Transcript of the relevant excerpt:…
comment by estebank · 2020-09-19 · in Why Rust is not a mature programming language -
…[2]: https://doc.rust-lang.org/reference/types/trait-object.html?... [3]: https://github.com/rust-lang/rfcs/blob/master/text/1156-adju...
comment by estebank · 2020-09-18 · in My Favorite Rust Function Signature -
…the rule. `'a` is not inferred for `dyn Trait<'a>`, it is inferred for `&'a dyn Trait`[1]. [1]: https://github.com/rust-lang/rfcs/blob/master/text/0599-defa...
comment by estebank · 2020-09-18 · in My Favorite Rust Function Signature -
…crates than that. > would the crates team be more open to transferring ownership of these packages? https://github.com/rust-lang/rfcs/pull/2614
comment by steveklabnik · 2020-09-11 · in The lack of namespaces on crates.io is a feature -
ARM themselves are sponsoring work on the aarch64 Linux target. https://github.com/rust-lang/rfcs/pull/2959 I work in arm32 daily, it works well for us. Happy to help if you need some!
comment by steveklabnik · 2020-09-11 · in Apple is starting to use Rust for low-level programming -
…talk to systems with no overhead. A zero-cost FFI into C is a huge part of that ability. Nowhere in https://github.com/rust-lang/rfcs/pull/230 is Mozilla mentioned, nor expenses.
comment by steveklabnik · 2020-09-04 · in Rust is not a good C replacement (2019) -
Rust supports a global custom allocator. Per container allocators are on the roadmap : https://github.com/rust-lang/rfcs/blob/master/text/1398-kind...
comment by egnehots · 2020-08-27 · in Interview with Zig language creator Andrew Kelley [video] -
…of a backwards compatibility problem) to introduce the concept of an "unsafe macro." Along with https://github.com/rust-lang/rfcs/pull/2585 it would really emphasize the proof obligation-vs-discharge model of `unsafe`.
comment by Rusky · 2020-08-24 · in AutoCXX: Safely call C++ from Rust with auto generated bindings -
…lot of procedural kinks to work out. Future targets should go much more smoothly. More detail here: https://github.com/rust-lang/rfcs/pull/2959
comment by steveklabnik · 2020-08-24 · in Bare Metal Rust Generics -
…is finished (like the post discussing closure suggests) which it almost is. > In favor of https://github.com/rust-lang/rfcs/pull/2000 That's the minimal const generics RFC. > No other designs have been accepted to extend this yet. A design…
comment by fluffything · 2020-08-17 · in Idris 2 version 0.2.1 -
These RFCs were closed https://github.com/rust-lang/rfcs/issues/1930 In favor of https://github.com/rust-lang/rfcs/pull/2000 No other designs have been accepted to extend this yet. We're still implementing what was already accepted!
comment by steveklabnik · 2020-08-17 · in Idris 2 version 0.2.1 -
…--- About first class variants: https://lobste.rs/s/77nu3d/oil_s_parser_is_160x_200x_faster_... https://github.com/rust-lang/rfcs/pull/2593 Another way I think of this is "types vs. tags": https://oilshell.zulipchat.com/#narrow/stream/20895…
comment by chubot · 2020-08-12 · in Rob Pike's Rules of Programming (1989) -
…I'd add that if people want namespacing to actually happen they need to collaborate on an RFC ( https://github.com/rust-lang/rfcs/blob/master/0000-template.... ). Ideally someone would post a pre-RFC to internals.rust-lang.org so it can be…
comment by ChrisSD · 2020-08-07 · in First Impressions of Rust -
▲ 2
Rust Edition 2021 and Beyondstory by yannikyeo · 2020-07-30 · 0 comments
-
…for adding “cargo install”, but doesn’t attempt to limit its applicability to other binaries. [1] https://github.com/rust-lang/rfcs/blob/master/text/1200-carg...
comment by kd5bjo · 2020-07-20 · in Dijo: A terminal-based habit tracker written in Rust -
…and Rust-related tools for developers, not for distributing general software to end-users. https://github.com/rust-lang/rfcs/pull/1200#issuecomment-120...
comment by ruuda · 2020-07-20 · in Dijo: A terminal-based habit tracker written in Rust -
▲ 1
RFC: Promote aarch64-unknown-Linux-gnu to a Tier-1 Rust targetstory by xucheng · 2020-07-18 · 0 comments
-
▲ 2
RFC: Promote Rust's aarch64-unknown-Linux-gnu target to Tier-1story by fork-bomber · 2020-07-17 · 1 comment
-
…though I prefer not to do that.) * I would eventually like to see fields in traits (as in this RFC: https://github.com/rust-lang/rfcs/pull/1546 ). This would be a lot like the previous point, but a little more direct and perhaps more…
comment by Rusky · 2020-07-12 · in Tour of Rust -
This is simply not true. For example, here's the 2017 roadmap, which was authored in 2016 https://github.com/rust-lang/rfcs/blob/master/text/1774-road... > The edit-compile-debug cycle in Rust takes too long, and it's one of the complaints…
comment by steveklabnik · 2020-07-11 · in Linux kernel in-tree Rust support -
…GC having been available in stdlib for a long time [3] (similar to C++'s std::shared_ptr) [0] https://github.com/rust-lang/rfcs/blob/master/text/1398-kind... [1] https://manishearth.github.io/blog/2016/08/18/gc-support-in-... [2]…
comment by exrook · 2020-07-11 · in Linux kernel in-tree Rust support -
…that mean Go's error handling approach is only superficially different to checked exceptions? [0] https://github.com/rust-lang/rfcs/blob/master/text/0243-trai...
comment by twic · 2020-07-07 · in Why Go's Error Handling Is Awesome -
▲ 2
Rust RFC: Structural Recordsstory by ducaale · 2020-06-21 · 0 comments
-
…platforms have Rust Tier 1 support. Btw one of the main reasons for this is missing CI support. https://github.com/rust-lang/rfcs/issues/1795#issuecomment-3... But of course there's always a way if you want it enough.
comment by est31 · 2020-06-01 · in Embedded Rules of Thumb (2018) -
…unreleased features. I think I'm down to just needing this for associated_type_defaults (rfc here: https://github.com/rust-lang/rfcs/pull/2532/files ). 2. Nightly allows passing extra compiler flags, which is occasionally useful for…
comment by monadic2 · 2020-05-12 · in RISC-V OS using Rust: Filesystems -
…https://github.com/rust-lang/rust/pull/68404 * implement the actual asm! we want to stabilize: https://github.com/rust-lang/rfcs/pull/2873 * stabilize it
comment by steveklabnik · 2020-05-12 · in RISC-V OS using Rust: Filesystems -
…are "enabled" mode. (There's a few other details, but this is good enough for our discussion. See https://github.com/rust-lang/rfcs/blob/master/text/0560-inte... ) Rustc implements this as follows: * When debug_assertions is on, it's in…
comment by steveklabnik · 2020-05-10 · in Debunking that C++ is faster and safer than Rust -
…the language. This may be fixed by using rust-analyzers libraries within the compiler. RFC here: https://github.com/rust-lang/rfcs/pull/2912
comment by Argorak · 2020-04-27 · in Rust-analyzer – an IDE backend for Rust -
…one day be resolved and become implemented. [1] https://www.cplusplus.com/reference/ctime/tm/ [2] https://github.com/rust-lang/rfcs/issues/671
comment by weinzierl · 2020-04-22 · in The new Clang _ExtInt feature provides exact bitwidth integer types -
I tried: https://github.com/rust-lang/rfcs/pull/117
comment by steveklabnik · 2020-03-27 · in Dashmap: Fast concurrent HashMap for Rust -
…bottom. Incidentally, some folks have asked for a syntax closer to Hope (and Haskell, and others) https://github.com/rust-lang/rfcs/pull/1564 fn factorial(0: u64) -> u64 { 1 } fn factorial(n: u64) -> u64 { n * factorial(n - 1) } I doubt…
comment by steveklabnik · 2020-03-23 · in Two Years with Rust -
Has anyone struggled with the lack of HashMap literal? https://github.com/rust-lang/rfcs/issues/542 I just cant bring myself to doing something like this: let m1: HashMap<&str, i32> = [("Sun", 10), ("Mon", 11)]. iter(). cloned().…
comment by svnpenn · 2020-02-29 · in A half-hour to learn Rust -
…and SDK for Rust. That seems fairly reasonable given that Rust doesn’t have a stable ABI ( https://github.com/rust-lang/rfcs/issues/600 ). Making sure Rust apps are forward-compatible with new OS releases could be difficult. In comparison,…
comment by iainmerrick · 2020-02-25 · in Fuchsia Programming Language Policy -
▲ 1
Rust Wishlist: functions with keyword args, default args, varargsstory by nurettin · 2020-02-19 · 0 comments