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. …put the cache one .cache But they don't seem to care https://github.com/rust-lang/cargo/issues/1734 https://github.com/rust-lang/rfcs/pull/1615 https://github.com/rust-lang/cargo/pull/9178
    comment by jenadine · 2023-03-24 · in Use the XDG Base Directory Specification
  2. ▲ 1
    Rust - Add RFC on Governance, Establishing the Leadership Council
    story by kristianpaul · 2023-03-07 · 0 comments
  3. ▲ 6
    Rust Governance Reform RFC
    story by Gadiguibou · 2023-02-23 · 0 comments
  4. RFC PR: https://github.com/rust-lang/rfcs/pull/2981 RFC text: https://github.com/jswrenn/rfcs/blob/safer-transmute/text/00... I don't know what the status quo is, but it is very exciting work. There are also crates in this domain that work…
    comment by burntsushi · 2023-02-15 · in When Rust hurts
  5. Remember the ~ operator? https://github.com/rust-lang/rfcs/pull/59
  6. …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
  7. 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
  8. …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)
  9. …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
  10. ▲ 2
    RFC: Start Working on a Rust Specification
    story by afdbcreid · 2022-12-08 · 0 comments
  11. …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?
  12. 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?
  13. 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”
  14. …that structural typing is only for tuples because the word struct is in structural(?!). [0] https://github.com/rust-lang/rfcs/issues/294
  15. …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”
  16. …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
  17. …in external tools and writing up the documentation. https://github.com/rust-lang/rust/issues/60705 https://github.com/rust-lang/rfcs/pull/2603
  18. …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
  19. 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
  20. …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…
  21. 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
  22. …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
  23. 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
  24. …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
  25. …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
  26. …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…
  27. 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
  28. 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
  29. …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?
  30. …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?
  31. …discussion compared to later RFCs. It is worthwhile to read the actual discussion happened [1]. [1] https://github.com/rust-lang/rfcs/pull/60
  32. 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-... .
  33. …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
  34. …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
  35. …full dependency versioning information inside Rust binaries to further help that approach: https://github.com/rust-lang/rfcs/pull/2801
  36. …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:…
  37. …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…
  38. …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...
  39. ▲ 6
    Rust Keyword Arguments, Optional Arguments, and Variable-Arity
    story by flerovium · 2022-03-19 · 6 comments
  40. …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++
  41. …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…
  42. …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…
  43. …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
  44. …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)
  45. …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…
  46. > 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…
  47. 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…
  48. …`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...
  49. …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
  50. …[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