Hacker GitHub

← All repos

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

Mentions per year 685 mentions · busiest year 2016 (105)
20082026
  1. …The "become" keyword is already reserved in anticipation of guaranteed tail calls being added. https://github.com/rust-lang/rfcs/issues/2691
    comment by rom-antics · 2023-02-14 · in Rust vs. Haskell
  2. That was proposed and rejected for Rust recently: https://github.com/rust-lang/rfcs/pull/3267 I was against because I felt that there should always be parens/brackets/braces (macros can use any of them) for better scannability when you're…
    comment by ssokolow · 2023-01-28 · in Rust's Ugly Syntax
  3. …to least recent, * the tracking issue https://github.com/rust-lang/rust/issues/49048 * the RFC https://github.com/rust-lang/rfcs/pull/2169 * the internals discussion https://internals.rust-lang.org/t/mathematical-modulo-operat... It's…
    comment by nextaccountic · 2023-01-27 · in Modulo of negative numbers (2011)
  4. …discussion goes on forever by now. Some small insight (there is much more when you look for it): https://github.com/rust-lang/rfcs/issues/324 https://internals.rust-lang.org/t/higher-kinded-types-the-di... > Don't go in the deep end with…
    comment by still_grokking · 2023-01-05 · in C++ at the End of 2022
  5. …so even if a later mechanism does - say - fancy non-contiguous niches, I just want one value ASAP. https://github.com/rust-lang/rfcs/pull/3334 > “I want to allocate something large on the heap” and it doesn’t seem like I should need to use…
    comment by tialaramex · 2022-11-17 · in Is Rust stack-efficient yet?
  6. There is an open RFC that takes a different approach: https://github.com/rust-lang/rfcs/pull/2884
    comment by Georgelemental · 2022-11-17 · in Is Rust stack-efficient yet?
  7. String was indeed once named StrBuf: https://github.com/rust-lang/rfcs/pull/60
    comment by return_to_monke · 2022-11-07 · in Rust: “Explain GATs Like I'm 5 Years Old”
  8. …that structural typing is only for tuples because the word struct is in structural(?!). [0] https://github.com/rust-lang/rfcs/issues/294
  9. …But I don't feel very strongly one way or the other to be honest. There is a related RFC open: https://github.com/rust-lang/rfcs/pull/3243 > "packages can impersonate other packages with typos" problems I was pointing out that this is…
    comment by burntsushi · 2022-10-17 · in “You meant to install ripgrep”
  10. …to see this happen! If I may plug the tiny little aspect of this I was involved in, check out https://github.com/rust-lang/rfcs/pull/3271 . It's a long way off, and it's important to point out the following is not guaranteed to happen so…
    comment by Ericson2314 · 2022-10-04 · in Rust Support Merged into Linux Kernel
  11. …in external tools and writing up the documentation. https://github.com/rust-lang/rust/issues/60705 https://github.com/rust-lang/rfcs/pull/2603
  12. …is potentially useful enough that distros could use it. https://wiki.debian.org/StaticLinking#Rust https://github.com/rust-lang/rfcs/pull/2603 https://github.com/rust-lang/rust/issues/60705
  13. There's an open RFC for a version of it: https://github.com/rust-lang/rfcs/pull/2884 The proposal has received a lot of new discussion in the past few days, as in addition to being wanted by kernel developers, it's a potential path to…
    comment by Georgelemental · 2022-09-23 · in A pair of Rust kernel modules
  14. …reference to what you iterate. See the GAT RFC which explains this concept much better than I can: https://github.com/rust-lang/rfcs/blob/master/text/1598-gene... TL;DR it's not a "new" feature per se but something that could have been…
  15. Best documentation is probably the RFC: https://github.com/rust-lang/rfcs/blob/master/text/1598-gene... > Allow type constructors to be associated with traits. This is an incremental step toward a more general feature commonly called…
    comment by capableweb · 2022-09-13 · in Rust stabilizes generic associated types
  16. …want to move a field into a let binding. This one is getting fixed by removing type ascription - https://github.com/rust-lang/rfcs/pull/3307 .
    comment by GlitchMr · 2022-09-13 · in A personal list of Rust grievances
  17. There is some promising work going towards bringing namespaces to Cargo: https://github.com/rust-lang/rfcs/pull/3243
    comment by hobofan · 2022-09-13 · in A personal list of Rust grievances
  18. …this is one of the many things on this list that isn't a new idea, see this RFC from June 2014: https://github.com/rust-lang/rfcs/pull/117 . I believe D has a `@trusted` attribute at the function level that serves a similar purpose.
    comment by bjz_ · 2022-09-13 · in A personal list of Rust grievances
  19. …pointers. - More declarative macro support, e.g. more types of ASTs as metavars - Partial borrows: https://github.com/rust-lang/rfcs/issues/1215 - Mutability variance: e.g. write `fn index<&a>(&a self, idx: Idx) -> &a T`, instead of…
    comment by armchairhacker · 2022-09-13 · in A personal list of Rust grievances
  20. …distros like Debian. https://wiki.debian.org/StaticLinking#Rust https://lwn.net/Articles/797616/ https://github.com/rust-lang/rfcs/pull/2603 I note that the PR for Rust symbol mangling got merged, but it looks like it isn't the default…
  21. For reference, the tickets GP is talking about are - https://github.com/rust-lang/rfcs/pull/3127 - https://github.com/rust-lang/rust/issues/40552
  22. There are further enum layout optimization implemented: https://github.com/rust-lang/rfcs/issues/1230 , or is being worked: https://github.com/rust-lang/rust/issues/46213 . These simple ideas on the surface sometimes can be very hard to…
    comment by WiSaGaN · 2022-07-08 · in Optimized Enum Sizes in Rust
  23. …2k-8k during the language lifetime, and the stack resizing mechanism has changed as well. [2] https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... [3] https://talks.golang.org/2012/splash.article [4] This is why it didn't have a…
    comment by unscaled · 2022-07-05 · in Ask HN: Should I learn Rust or Go?
  24. …a shortcoming of Rust and hopefully something that the Rust team will improve in the future. (E.g. https://github.com/rust-lang/rfcs/issues/324 )
    comment by valenterry · 2022-06-27 · in What's New in Python 3.11?
  25. …discussion compared to later RFCs. It is worthwhile to read the actual discussion happened [1]. [1] https://github.com/rust-lang/rfcs/pull/60
  26. It's not extensible (the `Try` trait is unstable) but this is being worked on, see https://github.com/rust-lang/rfcs/blob/master/text/3058-try-... .
  27. …the changes that were made in the two or three years before Rust 1.0 if anyone wants to read more: https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... https://pcwalton.github.io/2013/06/02/removing-garbage-colle...
    comment by ssokolow · 2022-06-03 · in Async Rust doesn't have to be hard
  28. …feel free to reach out to me. [0] https://rust-lang-nursery.github.io/rust-cookbook/intro.html [1] https://github.com/rust-lang/rfcs/pull/3243
    comment by epage · 2022-05-28 · in Nim: Curated Packages
  29. …full dependency versioning information inside Rust binaries to further help that approach: https://github.com/rust-lang/rfcs/pull/2801
  30. …jdk 8, but they didn't. they ship a preview in jdk 19. rust's rfc explains some of the drawbacks: https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... (which basically explains why a preview took until jdk 19) // Edit: also:…
  31. …to not use the green thread model: https://www.reddit.com/r/rust/comments/7x0icm/regarding_gree... https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... > Initially, Rust supported only the green threading model. Later, native…
  32. …Some(Error::$err), )* _ => None, } } } }; } You can see this in practice on the playground[2]. [1]: https://github.com/rust-lang/rfcs/blob/master/text/3086-macr... [2]: https://play.rust-lang.org/?version=nightly&mode=debug&editi...
  33. …assembly DSL only works in x86 and x86-64. [1] https://github.com/rust-lang/rust/issues/5853 [2] https://github.com/rust-lang/rfcs/issues/602 [3] https://internals.rust-lang.org/t/better-c-interoperability/... [4]…
    comment by lifthrasiir · 2022-03-11 · in CXX – safe interop between Rust and C++
  34. …they just define the language so that it's allowed. Take integer overflow, for instance https://github.com/rust-lang/rfcs/blob/26197104b7bb9a5a35db2... . In debug mode, Rust panics on integer overflow. Good. In release mode, it wraps as…
  35. …almost as often as I run `cargo check` (despite that being mostly useless for binary crates...) [0] https://github.com/rust-lang/rfcs/issues/2324 [1] just tried it on a local project, the first methods it surfaces are 4 methods from…
  36. …of memory safety (like filesystems). Here's an RFC that tries to extend lifetimes to file handles: https://github.com/rust-lang/rfcs/blob/master/text/3128-io-s...
    comment by cyber_kinetist · 2022-01-21 · in Security vulnerability in Rust standard library
  37. …World with a closed stdout will correctly fail in C but "succeed" in Rust because it ignores EBADF. https://github.com/rust-lang/rfcs/pull/1014
    comment by petmon · 2022-01-21 · in The case for a modern language (part 1)
  38. …least light-weight design documentation typically using ADRs https://adr.github.io/ and/or RFCs ( https://github.com/rust-lang/rfcs ). This is often because without these types of documents, its harder to grow teams as new members must…
  39. > Is the situation for Rust different than as described here: https://github.com/rust-lang/rfcs/pull/208 In short: yes. The wording in that quote is imprecise: I suspect that by 'attributes' , pcwalton was referring to user-definable…
  40. Is the situation for Rust different than as described here: https://github.com/rust-lang/rfcs/pull/208 “Currently, attributes and macros/syntax extensions are both conceptually macros: they are user-definable syntactic extensions that…
  41. …`rem_euclid`. This is unfortunate but at least it exists. The RFC that introduced rem_euclid: https://github.com/rust-lang/rfcs/blob/master/text/2169-eucl...
  42. …And some more links: https://stackoverflow.com/questions/29428318/why-did-rust-re... https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... And lots of debate in this previous thread: https://news.ycombinator.com/item?id=10225903
    comment by jasode · 2021-12-08 · in Portable and Interoperable Async Rust
  43. …[6] https://github.com/ghc-proposals/ghc-proposals/blob/master/p... [7] https://github.com/rust-lang/rfcs/issues/1930
    comment by juxtapose · 2021-12-08 · in Sayonara, C++, and Hello to Rust
  44. …of only one: interfacing with hardware or unsafe OSes that control access to the hardware. [0] https://github.com/rust-lang/rfcs/issues/2533
  45. 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
  46. …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
  47. 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
  48. 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
  49. …'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?
  50. …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