Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,092 Rust

Empowering everyone to build reliable and efficient software.

1,825 mentions on Hacker News by 819 people: 158 stories, 1,667 comments · first 2012-01-20 · latest 2026-10-22

Mentions per year 1,825 mentions · busiest year 2023 (167)
20082026
  1. …not correctly handling certain cases. Is it really that trivial? When looking through https://github.com/rust-lang/rust/blob/master/src/librustc_b... , it is not at all clear that these rules cover everything to me. There are some complex…
  2. …borrowck rules are sufficient to catch all possible mistakes? For example, does it catch stuff like https://github.com/rust-lang/rust/issues/31287 or https://github.com/rust-lang/rust/issues/38899 ?
  3. …library, demonstrating that our model of Rust is realistic enough to be useful. The bug was https://github.com/rust-lang/rust/issues/41622 .
  4. …"myriad of features" with each release, and most of those it adds are library stuff, see for 1.23: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... And with respect to non-library features currently in-flight, by and large…
    comment by masklinn · 2018-01-31 · in C++ and the Culture of Complexity (2013)
  5. …after all, the very logic that gave us Rust.) [1]: https://github.com/rust-lang/rfcs/pull/1909 [2]: https://github.com/rust-lang/rust/issues/18806
    comment by deathanatos · 2018-01-25 · in Unsafe Zig Is Safer Than Unsafe Rust
  6. …on the topic, but it seems ([0]) that adding `#[no_mangle]` before `panic_fmt` should fix it. [0] https://github.com/rust-lang/rust/issues/38281
    comment by red75prime · 2018-01-14 · in Rust in 2018: easier to use
  7. …and stack cookies), which means that theoretically you could enable this for C and C++ as well. See https://github.com/rust-lang/rust/issues/16012
    comment by kibwen · 2018-01-11 · in Spectre and the end of langsec
  8. …implicitly link the stdlib by default, and the stdlib publicly exports the items in the prelude ( https://github.com/rust-lang/rust/blob/master/src/libstd/pre... ). So in the future when macros are namespaced just like every other item…
    comment by kibwen · 2018-01-08 · in Go’s hidden pragmas
  9. …behavior that is triggered by code outside of unsafe blocks, depending on how a result is used: https://github.com/rust-lang/rust/issues/33813 This basically exposes LLVM's poison semantics (a kind of deferred UB) to Rust code:…
    comment by cwzwarich · 2017-12-24 · in Undefined vs. Unsafe in Rust
  10. …to about 5 total languages. [1] https://marketplace.visualstudio.com/items?itemName=webfreak... [2] https://github.com/rust-lang/rust/issues/45218
    comment by mikebenfield · 2017-12-21 · in Rust in 2017: what we achieved
  11. I've filed a bug to elaborate, thanks! https://github.com/rust-lang/rust/issues/46879
    comment by steveklabnik · 2017-12-20 · in Rust vector guarantees
  12. That memory stuff isn't even part of Rust's runtime; it's compile time stuff. Here's Rust's runtime: https://github.com/rust-lang/rust/blob/master/src/libstd/rt....
    comment by steveklabnik · 2017-12-12 · in Re: Moving from PHP to Go and Back Again
  13. …implements this too. Being in std is a high bar. Beyond that, there are a host of other reasons: https://github.com/rust-lang/rust/commit/454882dcb7fdb03867d...
    comment by steveklabnik · 2017-12-06 · in Why I love Go
  14. Agree. Moreover, Rust compiler contains some dark areas which nobody wants to deal with. See https://github.com/rust-lang/rust/issues/38528 for example. Basically it means that Rust compiler can suddenly take exponential time and space for…
  15. …traits, indicate certain errors (often in enums), etc. A couple quick examples from the stdlib: https://github.com/rust-lang/rust/blob/1.22.1/src/libstd/syn... https://github.com/rust-lang/rust/blob/1.22.1/src/libstd/col... I recommend…
    comment by TheDong · 2017-11-29 · in What's a reference in Rust?
  16. It initializes stack overflow handling. You can read about what that means here, for Unix: https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...
  17. …a runtime penalty as Golang does? Rust has the same amount of runtime as C does: very very little. https://github.com/rust-lang/rust/blob/master/src/libstd/rt....
    comment by steveklabnik · 2017-11-28 · in How Stylo Brought Rust and Servo to Firefox
  18. …verbosity caused by the absence of normal exceptions" That doesn't make sense. mic drop [1] https://github.com/rust-lang/rust/pull/24619
  19. …some type of language spec, but it doesn't look like any work is being done on that front [0]. [0] https://github.com/rust-lang/rust/issues/30500 - I apologize for this link being a bit of a rabbit-hole, but I think the whole thing is a…
    comment by DSMan195276 · 2017-11-25 · in Announcing Rust 1.22
  20. Tracking issue for using it in main: https://github.com/rust-lang/rust/issues/43301
    comment by kibwen · 2017-11-23 · in Announcing Rust 1.22
  21. …running this in a browser, you might not be able to use the std lib to spawn threads just yet. [1]: https://github.com/rust-lang/rust/pull/46115
    comment by killercup · 2017-11-23 · in Announcing Rust 1.22
  22. …dereference , that is `unsafe`, as that may blow-up if the value is an invalid memory location. [0] https://github.com/rust-lang/rust/issues/33813 [1] https://play.rust-lang.org/?gist=c9c11545fac3a45550e6810cb57... An example that uses…
    comment by DSMan195276 · 2017-11-23 · in Announcing Rust 1.22
  23. …And yep, it's in the beta branch. This means it's in 1.23, which'll be released in 6 weeks. [1]: https://github.com/rust-lang/rust/commits/beta
    comment by killercup · 2017-11-23 · in Announcing Rust 1.22
  24. …which support wasm compilation without emcc. Does anyone know when it is expected in stable? https://github.com/rust-lang/rust/pull/45905
    comment by akmittal · 2017-11-23 · in Announcing Rust 1.22
  25. …language. Read about it in the originating PR (which was not linked directly from the blog post): https://github.com/rust-lang/rust/pull/41336
    comment by kibwen · 2017-11-23 · in Announcing Rust 1.22
  26. ▲ 2
    Refactor type memory layouts and ABIs, to be more general and easier to optimize
    story by dmmalam · 2017-11-22 · 0 comments
  27. Rust's runtime is basically the same weight as C, that is, crt: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... What you're talking about is more of dropping the standard library.
    comment by steveklabnik · 2017-11-17 · in Speed up your Python using Rust
  28. …(slightly older but still should work afaik) And the new backend https://github.com/rust-lang/rust/pull/45905
  29. ▲ 24
    A reimagining of what it looks like to generate WebAssembly code from Rust
    story by steveklabnik · 2017-11-10 · 0 comments
  30. …in rustdoc for almost a year now: https://internals.rust-lang.org/t/what-to-do-about-pulldown-... , https://github.com/rust-lang/rust/issues/44229
  31. …and implementation is actively worked on[2]. [1] https://github.com/rust-lang/rfcs/pull/2133 [2] https://github.com/rust-lang/rust/pull/43690 [3] https://github.com/rust-lang/rfcs/pull/2000 [4] https://github.com/rust-lang/rust/issues/44580
    comment by weinzierl · 2017-10-29 · in Why Rust fails hard at scientific computing
  32. And implemented: https://github.com/rust-lang/rust/pull/43690
  33. …do not allow you to elide them, but because we use LLVM, we incidentally inherited this behavior: https://github.com/rust-lang/rust/issues/28728 LLVM has since added a new intrinsic: https://reviews.llvm.org/D38336 This will allow us to…
    comment by steveklabnik · 2017-10-24 · in C++17 Is Here: Interview with Herb Sutter
  34. …evil_lincoln is doing, you have to understand very old Rust. Here's the commit that introduced it: https://github.com/rust-lang/rust/commit/664b0ad3fcead4fe4d2... fn evil_lincoln() { let evil <- log "lincoln"; } log was a keyword to print…
  35. …the stdlib. We have work on: 1. A trait for allocation, so that allocators can have the same APIs. https://github.com/rust-lang/rust/issues/32838 2. Swapping out that allocator entirely, wholesale. Tor and Firefox both want this.…
  36. …the same reason as C#: contextual keywords. union union<'union> { union: &'union union<'union>, } https://github.com/rust-lang/rust/blob/59675d29eb47eb743026d...
  37. Oh, I missed that it's an Option. That means that it won't work today, but https://github.com/rust-lang/rust/pull/42526 landed, and is in beta. This means on the next release of Rust, code like this will work: fn try_result_some() ->…
  38. …at RustFest, Oli managed to get Miri integrated into the compiler and bootstrap for the first time. https://github.com/rust-lang/rust/pull/45002 https://github.com/rust-lang/rfcs/blob/1f5d3a9512ba08390a222... is the relevant historic RFC;…
  39. https://github.com/rust-lang/rust/blob/108706f13a7e5e530ba4b... https://github.com/rust-lang/rust/blob/cd93969ec4fb2d0bc2b53... https://fuchsia.googlesource.com/rust_sample_module/ https://fuchsia.googlesource.com/rust_ledger_example/…
    comment by steveklabnik · 2017-10-12 · in The Case for Writing a Kernel in Rust [pdf]
  40. …you get stuck and just read the code. There's plenty of opportunities to make an impact[4] :) [1]: https://github.com/rust-lang/rust/labels/E-mentor [2]: https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is... [3]:…
    comment by estebank · 2017-10-12 · in Rust 1.21
  41. …still very much coming, just not yet. It won't be in 1.22 either, as that went into beta today. https://github.com/rust-lang/rust/issues/44721 is the issue you want to track. There's been a lot of chatter in recent days.
    comment by steveklabnik · 2017-10-12 · in Rust 1.21
  42. …by LLVM before all translation is finished, so it can also be released earlier. Very nice! [0] https://github.com/rust-lang/rust/pull/43506
    comment by vanderZwan · 2017-10-12 · in Rust 1.21
  43. ▲ 7
    Rust – Non-Lexical Lifetimes RFC Was Merged
    story by cyber1 · 2017-09-29 · 0 comments
  44. Interesting that the winning submission exploits a known bug: https://github.com/rust-lang/rust/issues/38899 . Underhanded C submissions don't need to exploit bugs; the C language already has plenty of loopholes!
    comment by richdougherty · 2017-09-27 · in 2016 Underhanded Rust contest: the results
  45. This one for example: https://github.com/rust-lang/rust/issues/17164 There was another one, but I can't find the issue for it. I asked in IRC about it and it was fixed by adding &* before an expression. I didn't understand why ...
    comment by jhasse · 2017-09-27 · in Why did we choose Rust to develop TiKV?
  46. …that my knowledge is out of date: did Rust use something closer to H-M in the past? (Going off of https://github.com/rust-lang/rust/pull/15955 here.)
    comment by mrkgnao · 2017-09-21 · in Bootstrapping Urbit from Ethereum
  47. …curve. They seem important. By the way, you linked to the RFC repo instead of the language repo: https://github.com/rust-lang/rust/commits/master . The language does have a lot of features that make it into the nightly branch, but those…
  48. …blog post: http://dylanmckay.io/blog/rust/avr/llvm/2017/02/09/safer-mic... Tracking bug on GitHub: https://github.com/rust-lang/rust/issues/42450
    comment by andrewflnr · 2017-09-16 · in Go vs. Rust? Choose Go
  49. …this point, and many projects can be compiled with no issues. The issue you linked also links to ( https://github.com/rust-lang/rust/issues/44052 ), which shows that once these bugs are fixed, we can start working on merging avr-rust…
    comment by dyl · 2017-09-08 · in LLVM 5.0.0 Release
  50. …the fact that buildbot (which they think is maintained by mozilla) uses "master/slave" terminology https://github.com/rust-lang/rust-buildbot/issues/2 . Mozilla gives buildbot $15k for changing it https://blog.mozilla.org/blog/2015/12/10/mo…
    comment by david-cako · 2017-09-05 · in Rust 2017 Survey Results