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. …at all, from what I can tell (caveat that I've never actually tried it). There's no stable ABI ( https://github.com/rust-lang/rfcs/issues/600 ), and therefore the only way to go is via a C interface. So Rust is more or less in the same…
  2. You can, but there’s reasons a real external type feature is useful: https://github.com/rust-lang/rfcs/blob/master/text/1861-exte...
    comment by steveklabnik · 2019-07-04 · in Announcing Rust 1.36.0
  3. It seems to be described in this Rust RFC: https://github.com/rust-lang/rfcs/blob/master/text/2116-allo...
    comment by cesarb · 2019-06-10 · in Malloc Never Fails (2012)
  4. …without needing additional tooling and I guess I'll enable it in all of my own codebases. [1]: https://github.com/rust-lang/rfcs/pull/2457
  5. …implement this feature, which is why it will remain opt-in, nightly only for the medium term. [1]: https://github.com/rust-lang/rfcs/blob/master/text/2457-non-... [2]: https://github.com/rust-lang/rfcs/pull/2457 [3]:…
  6. …the `#[repr(transparent)]` proposal that precisely tackled this problem for Rust: [RFC 1758]( https://github.com/rust-lang/rfcs/blob/de0917dca549694fffbe3... ).
  7. …is a good idea or not. Some like the idea, some don't like it. It yields in threads like this one: https://github.com/rust-lang/rfcs/pull/2426
  8. https://github.com/rust-lang/rfcs/pull/2442
    comment by centril · 2019-05-28 · in Update on await syntax in Rust
  9. …and shifgrethor[2]. If you mean language support, then no, not really, though it was discussed in https://github.com/rust-lang/rfcs/issues/415 [1]: https://github.com/Manishearth/rust-gc [2]: https://github.com/withoutboats/shifgrethor
    comment by remram · 2019-05-24 · in Go is Google's language, not ours
  10. …I guess Haskell does too[2]. [0]: https://kotlinlang.org/docs/reference/delegation.html [1]: https://github.com/rust-lang/rfcs/pull/2393 [2]: https://downloads.haskell.org/~ghc/5.04/docs/html/users_guid...
    comment by chucksmash · 2019-05-09 · in Inheritance versus Composition
  11. …cargo build, cargo run, and cargo test commands will just work, including IDE integration. [3]: https://github.com/rust-lang/rfcs/pull/2663
    comment by phil-opp · 2019-04-27 · in Writing an OS in Rust: Testing
  12. …Eventually, we will merge this new front-end with the remaining bits of back-end from rustc. [1] https://github.com/rust-lang/rfcs/blob/master/text/2657-road...
    comment by TheCoelacanth · 2019-04-23 · in Rust's 2019 Roadmap
  13. It's in the more detailed roadmap RFC under the embedded WG: https://github.com/rust-lang/rfcs/blob/master/text/2657-road...
    comment by stusmall · 2019-04-23 · in Rust's 2019 Roadmap
  14. …is already usable for basic things. This also means improving the compiler. From the 2019 roadmap: https://github.com/rust-lang/rfcs/blob/master/text/2657-road... > This is where the RLS 2.0 effort comes in. The plan is to build a…
    comment by steveklabnik · 2019-04-19 · in Learning Parser Combinators with Rust
  15. …there wouldn't be so many terms for the same thing. edit: There's also an existing RFC for this: https://github.com/rust-lang/rfcs/issues/1077
    comment by kaiby · 2019-04-17 · in Rust: Beyond the Typechecker
  16. …RFC [3] adds a minimal, forward-compatible from of this, and is on track to land this year. 1: https://github.com/rust-lang/rfcs/issues/1930 2: https://github.com/rust-lang/rfcs/pull/1657#issuecomment-268... and…
    comment by steveklabnik · 2019-04-16 · in Rust: Beyond the Typechecker
  17. …not?” Lol; that was me (although there were probably others). I approve of the dramatic rendition. https://github.com/rust-lang/rfcs/issues/2619
    comment by ComputerGuru · 2019-04-11 · in Rust 1.34.0
  18. …features must be documented in the language reference before landing on the stable release branch: https://github.com/rust-lang/rfcs/blob/master/text/1636-docu... As far as I can tell after adopting the rule they didn't proceed to enforce…
    comment by mjw1007 · 2019-03-25 · in Rust is not a good C replacement
  19. …corporate support. Absolutely! We accepted an RFC here, and there's an unstable implementation https://github.com/rust-lang/rfcs/blob/master/text/2141-alte...
    comment by steveklabnik · 2019-03-25 · in Rust is not a good C replacement
  20. …to do to get perfectly reasonable-looking code to compile if Non-Lexical Lifetimes are not allowed: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll....
  21. …(matching up rows from one with columns from another) I'm hopeful about const generics here: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons...
    comment by surrealize · 2019-02-11 · in Why Swift for TensorFlow?
  22. Does anyone know, is https://github.com/rust-lang/rfcs/blob/master/text/0066-bett... ever going to be resolved? I really do not like the idea of having to create a new variable for something so simple as this.
  23. …it sounds like you maybe referring to issues addressed by Non-Lexical Lifetimes (NLL)? Reference: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.... NLL are a part of Rust 2018 Edition. Three complementary books are the best…
    comment by manaskarekar · 2019-02-10 · in John Carmack: writing Rust code feels wholesome
  24. …and loading test configs etc. There is an eRFC for better integration of custom test frameworks. https://github.com/rust-lang/rfcs/pull/2318
  25. That RFC was accepted and merged quite a while ago! https://github.com/rust-lang/rfcs/pull/2504
  26. …some things in my code... it's got some interesting ideas. [1]: https://gitlab.com/objrs/objrs [2]: https://github.com/rust-lang/rfcs/blob/master/text/0255-obje...
    comment by cornstalks · 2018-12-15 · in Storing unboxed trait objects in Rust
  27. To save others searching; The mentioned NLL is: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll.... “non-lexical lifetimes”
    comment by acqq · 2018-12-15 · in Bootstrapping Rust
  28. …idea (ignore the naysayers). It's been discussed before here and in the link 2 comments later: https://github.com/rust-lang/rfcs/issues/600#issuecomment-40...
    comment by IshKebab · 2018-12-03 · in How I Wrote a Modern C++ Library in Rust
  29. …said it will take some time for the web development ecosystem to mature around the futures API. [1] https://github.com/rust-lang/rfcs/pull/2592 [2] https://github.com/rust-lang-nursery/futures-rs/blob/master/... [3]…
    comment by josephg · 2018-11-28 · in Rust 2018 survey results
  30. …that significant (that would just be avoiding the any language one-liner: if err return err) [1] https://github.com/rust-lang/rfcs/blob/master/text/0243-trai...
  31. …it than that, and the rust proposal could help guide discussion of other possible issues too. [0]: https://github.com/rust-lang/rfcs/pull/2052
    comment by TheDong · 2018-10-26 · in Proposal: Go 2 transition
  32. …behavior to run code compiled with CPU features that aren't supported by the current CPU. See: https://github.com/rust-lang/rfcs/blob/master/text/2045-targ... There are some other ideas for making it easier to reason about safety at this…
    comment by burntsushi · 2018-10-24 · in Towards fearless SIMD
  33. …algorithms. Sadly, it's not likely to happen any time soon due to real technical challenges: https://github.com/rust-lang/rfcs/pull/1888#issuecomment-360... ... and also the fact that WebAssembly does not support tail calls either:…
    comment by btown · 2018-10-18 · in Is Rust functional?
  34. …chromestatus.com/feature/5516876633341952 [3]: https://github.com/kangax/compat-table/issues/819 [4]: https://github.com/rust-lang/rfcs/pull/1888
    comment by kbumsik · 2018-09-28 · in Stop writing lambda expressions in Python
  35. …it. The end goal is first-class support to allow people to build excellent libraries like Eigen. 1: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons...
    comment by steveklabnik · 2018-09-21 · in C++ Lifetime profile v1.0 posted
  36. I was just about to link to something like this[0] before I read your last sentence. [0]: https://github.com/rust-lang/rfcs/pull/911
  37. Rust has alignment annotations. https://github.com/rust-lang/rfcs/blob/master/text/1358-repr...
  38. Rust recently added nonzero number types (see https://github.com/rust-lang/rfcs/blob/master/text/2307-conc... ). Though I believe the primary motivation here was the reduce memory usage in some special cases.
    comment by jay-anderson · 2018-08-10 · in 1/0 = 0
  39. …"slightly different but mostly the same" things in this space. In Rust, this is const generics: https://github.com/rust-lang/rfcs/blob/master/text/2000-cons... struct RectangularArray<T, const WIDTH: usize, const HEIGHT: usize> { array:…
    comment by steveklabnik · 2018-08-02 · in Announcing Rust 1.28
  40. We used to have NonZero<T>, but changed it https://github.com/rust-lang/rfcs/blob/b728bf68703f681ef0e42... The real motivation is > With NonNull covering pointers, the remaining use cases for NonZero are integers. It's unclear how…
    comment by steveklabnik · 2018-08-02 · in Announcing Rust 1.28
  41. …NonZeroU16, etc instead of something like NonZero<u8>, NonZero<u16>, etc? The RFC covers this. https://github.com/rust-lang/rfcs/blob/master/text/2307-conc... Also see the RFC discussion at https://github.com/rust-lang/rfcs/pull/2307…
    comment by Arnavion · 2018-08-02 · in Announcing Rust 1.28
  42. …are still unstable, because they aren't good enough. The bar is high. Plenty of RFCs get rejected: https://github.com/rust-lang/rfcs/pulls?q=is%3Apr+is%3Aclose... and even more "pre-RFCs" don't even make it past initial discussion in the…
    comment by pornel · 2018-07-27 · in What is Rust 2018?
  43. …comment in particular gives a good background on what HKT's are, and how they could look in Rust: https://github.com/rust-lang/rfcs/issues/324#issuecomment-24...
    comment by senorsmile · 2018-07-27 · in What is Rust 2018?
  44. …30 minute builds after every minor change? [0]: https://github.com/rust-lang/rust/issues/36629 [1]: https://github.com/rust-lang/rfcs/issues/612
    comment by cornstalks · 2018-07-23 · in The internals of testing in Rust in 2018
  45. https://github.com/rust-lang/rfcs/blob/master/text/2000-cons... is the current accepted design; we plan to go further in the future, but wanted something minimal at first. This is likely to land in nightly by the end of the year and be…
    comment by steveklabnik · 2018-07-21 · in The Value of Undefined Behavior
  46. …(hopefully) requiring anyone to learn anything about type theory. The RFC text can be read at https://github.com/rust-lang/rfcs/blob/master/text/1598-gene... and comments can be left on the tracking issue at…
  47. …for why Rust is aiming for this behavior, I think this comment buried in the RFC discussion ( https://github.com/rust-lang/rfcs/pull/2394#issuecomment-382... ) sums it up (and makes note of Dart 2.0 as a contrasting example): "A…
  48. …In fact, one of the RFCs linked at the top of the OP has been closed and superceded by a newer one: https://github.com/rust-lang/rfcs/pull/2418 . I've actually heard that tomorrow (Monday) the futures and networking working groups will…
  49. We stole it from Swift. To your parent, the RFC is pretty short and has good motivation: https://github.com/rust-lang/rfcs/blob/master/text/0160-if-l...
    comment by steveklabnik · 2018-07-09 · in Fun with Macros: If-Let and When-Let
  50. …plan now for a feature equivalent to HKT, generic associated types (associated type constructors), https://github.com/rust-lang/rfcs/pull/1598 , and I’m glad; note when I say that that I was one of the few that campaigned before Rust 1.0…
    comment by chrismorgan · 2018-06-23 · in Rust 2018: an early preview