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. …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:…
  2. …[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
  3. …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
  4. …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
  5. 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!
  6. …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)
  7. Rust supports a global custom allocator. Per container allocators are on the roadmap : https://github.com/rust-lang/rfcs/blob/master/text/1398-kind...
  8. …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`.
  9. …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
  10. …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
  11. 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
  12. …--- 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)
  13. …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
  14. …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...
  15. …and Rust-related tools for developers, not for distributing general software to end-users. https://github.com/rust-lang/rfcs/pull/1200#issuecomment-120...
  16. …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
  17. 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
  18. …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
  19. …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
  20. …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)
  21. …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
  22. …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
  23. …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
  24. …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
  25. …it's great to be able to address such a curious (albeit minor) historical wart from Rust 1.0. :) https://github.com/rust-lang/rfcs/blob/master/text/2700-asso...
    comment by kibwen · 2020-04-23 · in Rust 1.43
  26. …really work, I also need to solve the problem of setjmp/longjmp at the edges between C and Rust ( https://github.com/rust-lang/rfcs/issues/2625 ).
    comment by wireprotocol · 2020-04-23 · in Rust 1.43
  27. …one day be resolved and become implemented. [1] https://www.cplusplus.com/reference/ctime/tm/ [2] https://github.com/rust-lang/rfcs/issues/671
  28. I tried: https://github.com/rust-lang/rfcs/pull/117
    comment by steveklabnik · 2020-03-27 · in Dashmap: Fast concurrent HashMap for Rust
  29. …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
  30. I look forward longingly to the day when RFC #2593 comes to pass. https://github.com/rust-lang/rfcs/pull/2593
    comment by dodobirdlord · 2020-03-13 · in Rust 1.42
  31. 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
  32. …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
  33. Link to actual (draft) roadmap. https://github.com/rust-lang/rfcs/blob/9fbc9383b310839d1c1be...
    comment by pkilgore · 2020-01-23 · in Rust 2020 Roadmap
  34. …project every time the compiler is updated or the standard library needs a fix. See for yourself: https://github.com/rust-lang/rfcs/issues/600 What's worse is that a lot of people are forgetting why we do it this way in the first place.…
  35. …[3] https://github.com/rust-lang/rust/commit/1a254e4f434e0cbb9ff... [4] https://github.com/rust-lang/rfcs/issues/1447
    comment by DSMan195276 · 2020-01-07 · in Hobby x86 kernel written with Zig
  36. GhostCell seems worth reading more into. OnceCell is being discussed as part of https://github.com/rust-lang/rfcs/pull/2788 too.
    comment by nixpulvis · 2020-01-04 · in Interior Mutability Patterns in Rust
  37. Small note, we don't use the C++ mangler ( https://github.com/rust-lang/rfcs/pull/2603 ), and did the upstream work in GDB to get it to understand things. (There's also more work to do: https://github.com/rust-lang/rust/issues?q=is%3Aopen+i…
    comment by steveklabnik · 2019-12-29 · in Why are my Go executable files so large?
  38. Rust has grappled with the issue of how far to push styling rules. E.g. from 2016: https://github.com/rust-lang/rfcs/pull/1607#issuecomment-227... I think it's worth reading more of that thread for some pros and cons of being very strict…
    comment by ChrisSD · 2019-12-23 · in Lilith: x86-64 OS written in Crystal
  39. …stable/beta/nightly, which would try to solve that problem, but it has not been prioritized yet: https://github.com/rust-lang/rfcs/pull/2483 An actual frozen language is also a possibility, but probably won't happen until more work happens…
    comment by Rusky · 2019-12-08 · in GCC-Rust: Rust frontend for GCC
  40. …into this issue. It was my first attempt at writing Rust, and I did not like the workaround. [1] https://github.com/rust-lang/rfcs/blob/master/text/0066-bett...
    comment by johnisgood · 2019-12-08 · in GCC-Rust: Rust frontend for GCC
  41. For more details, here's the written part of this: https://github.com/rust-lang/rfcs/blob/master/text/1122-lang... Please note that threads on internals are able to be posted to by anyone; things expressed there may not represent the way…
    comment by steveklabnik · 2019-11-29 · in Unsoundness in Pin
  42. …Haskell's from Rust's type system. Without HKTs you can't express a Functor typeclass/trait[1]. [0] https://github.com/rust-lang/rfcs/issues/324 [1] https://www.reddit.com/r/rust/comments/2av5tv/why_does_rust_...
    comment by kaoD · 2019-11-10 · in Haskell and Rust
  43. …https://mail.mozilla.org/pipermail/rust-dev/2013-November/00... https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... It is clear that they really wanted to make green threading work, but in the end it proved inc
    comment by dunkelheit · 2019-11-08 · in Async-await on stable Rust
  44. …which is related to, but not the same as, assuming associativity. The RFC about that is https://github.com/rust-lang/rfcs/pull/2686 , where you see users kind of split into the "I want faster binaries" and "I want more deterministic…
    comment by fluffything · 2019-10-24 · in Rust and C++ on Floating-Point Intensive Code
  45. …This isn't quite right. The calling convention is a Windows C++ variant of stdcall. See this issue: https://github.com/rust-lang/rfcs/issues/1342 However, 99% of the time the difference won't be an issue.
    comment by ChrisSD · 2019-10-10 · in Designing a COM Library for Rust
  46. …need for build.rs scripts in many cases [1], will likely be merged within the next 2 weeks. [1]: https://github.com/rust-lang/rfcs/pull/2523
    comment by est31 · 2019-09-04 · in Rust in Large Organizations
  47. …probably doesn't make sense long-term, but I still have to shake my head at comments like this. https://github.com/rust-lang/rfcs/pull/230
  48. Anyone knows when will https://github.com/rust-lang/rfcs/blob/master/text/0066-bett... be fixed?
    comment by johnisgood · 2019-08-16 · in Rust 1.37.0
  49. …Worse is seems to be no impetus to fix this. Also notable is Rust still doesnt have a Map literal: https://github.com/rust-lang/rfcs/issues/542
    comment by svnpenn · 2019-08-15 · in Rust 1.37.0
  50. …https://crates.io/crates/void which also provides helpers for safely coercing `Void` `Result`s [2]: https://github.com/rust-lang/rfcs/pull/1154
    comment by Nullabillity · 2019-07-19 · in Notes on a Smaller Rust