Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 120,971 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. …mut` is not always safe even in a single-threaded environment, because of reentrance - see also https://github.com/rust-lang/rust/issues/53639 .
    comment by eddyb · 2019-01-31 · in Writing an OS in Rust: Advanced Paging
  2. …complex trees involving associated types with their own independent lifetimes[1][2][3]. [1]: https://github.com/rust-lang/rust/issues/55756 [2]: https://github.com/rust-lang/rust/issues/54378 [3]: https://github.com/rust-lang/rust/issues/54…
    comment by estebank · 2019-01-28 · in Writing an OS in Rust: Advanced Paging
  3. …true in either C or Rust. There's further discussion[3] on this bug if anybody is interested. [0] https://github.com/rust-lang/rust/pull/54397 [1] https://github.com/rust-lang/rust/pull/48657 [2] https://medium.com/@shnatsel/how-ive-found-v…
    comment by Aengeuad · 2019-01-24 · in Fearless Security: Memory Safety
  4. …indirect) recursive function calls? Recursive calls to async functions will fail to compile: https://github.com/rust-lang/rust/issues/53690 That said, see that discussion; the trait object form will probably eventually work. Heavy…
    comment by steveklabnik · 2019-01-22 · in Asynchronous Programming in Rust book
  5. …those [1][2]. some threads are more than a year old, but it seems to be making progress. [1] https://github.com/rust-lang/rust/issues/45978 [2] https://internals.rust-lang.org/t/pre-rfc-allow-pattern-matc...
  6. …here: https://internals.rust-lang.org/t/standard-library-synchroni... The PR for std is here: https://github.com/rust-lang/rust/pull/56410 Mostly comes to the platform native APIs habing various soundness issues.
  7. …adding a new type to a natvis file before I'll finish relinking my project in a lot of cases. https://github.com/rust-lang/rust/blob/master/src/etc/natvis... , while perhaps a bit arcane if you don't know natvis (there are docs), and…
    comment by MaulingMonkey · 2019-01-01 · in Comparing Pythagorean triples in C++, D, and Rust
  8. Ugh, you're right. I got it backwards https://github.com/rust-lang/rust/issues/23818 thank you
  9. https://github.com/rust-lang/rust/issues/53487
  10. As a matter of fact, Rust release infrastructure is using CentOS 5. See https://github.com/rust-lang/rust/blob/master/src/ci/docker/... .
    comment by sanxiyn · 2018-12-21 · in Porting Alpine Linux to RISC-V
  11. This sounds like a use for the everybody-loops compiler flag: https://github.com/rust-lang/rust/pull/19964
    comment by jamesmunns · 2018-12-17 · in Rust Analyzer in 2018 and 2019
  12. …patch to add stdlib natvis files to MSVC projects, which instead morphed into a better rustc patch: https://github.com/rust-lang/rust/pull/43221 Thanks to this buried gem I stumbled across in a search:…
    comment by MaulingMonkey · 2018-12-17 · in Organizational Debt
  13. This seems to be the bug that's tracking this in rust: https://github.com/rust-lang/rust/issues/49879
    comment by pedrocr · 2018-12-16 · in Firefox 64 built with GCC and Clang
  14. Simply following the unicode recommendations will leave you with some weird issues: https://github.com/rust-lang/rust/issues/4928 https://twitter.com/aisamanra/status/923346798093090816
    comment by hyperpape · 2018-12-15 · in Fun with Unicode in Swift
  15. …wanted to just jump in having never contributed before you could just filter an issue by mentor. https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... Filtering this further by E-easy to get yourself started. This is probably not…
  16. …to be most relevant: https://github.com/nikomatsakis/rust-memory-model/issues/41 Then these ones: https://github.com/rust-lang/rust/issues/36927 https://internals.rust-lang.org/t/c-style-enums-in-ffi-and-a...…
    comment by v_lisivka · 2018-12-06 · in Rust 2018 is here, but what is it?
  17. …since been disabled again, due to a new bug (which was also reproduced in C, on both LLVM and GCC): https://github.com/rust-lang/rust/issues/54878
    comment by cesarb · 2018-11-27 · in Fortran is still a thing
  18. In case anyone else was wondering what this jargon meant, "non-lexical lifetime": https://github.com/rust-lang/rust/issues/43234 Took me a bit of websearching to figure out what people were excited about.
    comment by jordigh · 2018-11-27 · in Rust 2018 survey results
  19. …stack unwinding facilities. It’s since been re-enabled now that the upstream bug has been fixed: https://github.com/rust-lang/rust/pull/50744
    comment by johncolanduoni · 2018-11-27 · in Fortran is still a thing
  20. A `const fn` RFC is accepted and somwhat available when using nightly compilers, also see https://github.com/rust-lang/rust/issues/24111
    comment by th0br0 · 2018-11-22 · in Still in love with Rust
  21. Here's my first PR to Rust: https://github.com/rust-lang/rust/pull/4305 Note that it was rejected because I sent it into the wrong branch (we do use master these days) and so I even had to resubmit it https://github.com/rust-lang/rust/pull/…
  22. …`exec), but it generally prefers `posix_spawnp` (Which also uses PATH). The relevant code is here: https://github.com/rust-lang/rust/blob/7d3b9b1640611c52eb949... . All of this is of course Unix specific, on Windows it uses `CreateProcess`.
    comment by johncolanduoni · 2018-11-18 · in Building your own shell using Rust
  23. …missing something here. [0] : https://play.rust-lang.org/?version=stable&mode=debug&editio... [1] : https://github.com/rust-lang/rust/blob/master/src/libstd/sys...
    comment by JoshMcguigan · 2018-11-18 · in Building your own shell using Rust
  24. For reference, there's a tag on the issue tracker for things that have been blocked on NLL to fix: https://github.com/rust-lang/rust/labels/NLL-fixed-by-NLL Look for the ones that are also tagged "unsound" for the most serious instances.
  25. …has gone no further than https://github.com/rust-lang-nursery/api-guidelines/issues/6... [unix]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys... [windows]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys... [0]…
  26. …of borrow checking which everyone agrees are minor annoyances, even to experienced users: https://github.com/rust-lang/rust/issues/43234 Judging by that issue thread, some of these issues are about to be fixed.
    comment by foldr · 2018-09-28 · in Zig 0.3.0 Released
  27. …to use. And finally, fallible allocation can be added after the fact. It is being worked on: https://github.com/rust-lang/rust/issues/48043 For now, anyone who wants to use Rust in those situations, but still wants allocation support,…
    comment by lambda · 2018-09-19 · in LLVM 7.0.0 released
  28. …inherent to the language, it's possible to extend the standard library, and folks are doing so. See https://github.com/rust-lang/rust/issues/48043 for support of "fallible allocations".
    comment by scottlamb · 2018-09-19 · in LLVM 7.0.0 released
  29. Looks like it was as of LLVM 6: https://github.com/rust-lang/rust/pull/50744
    comment by lambda · 2018-09-19 · in LLVM 7.0.0 released
  30. According to the "Update to LLVM 7" ticket for Rust ( https://github.com/rust-lang/rust/issues/50543 ), many of the points of interest are in LLD, especially in WASM support: LLD has implemented --gc-sections for wasm LLD has implemented…
    comment by lambda · 2018-09-19 · in LLVM 7.0.0 released
  31. …about bugs, and if you try some stuff and find them, please file them. (We track them via this tag: https://github.com/rust-lang/rust/labels/I-slow ) Embedded can be tricky at times; we've had a working group pushing on making stuff great…
    comment by steveklabnik · 2018-09-18 · in Falling in love with Rust
  32. …incomplete implementation in nightly. It's not going to land in stable until early next year. https://github.com/rust-lang/rust/issues/50547 is the tracking issue.
    comment by steveklabnik · 2018-09-13 · in Announcing Rust 1.29
  33. …the discussions that I've peeked into). An example of the problem in this GitHub issue: https://github.com/rust-lang/rust/issues/53105
    comment by kibwen · 2018-09-13 · in Using Rust for Game Development [video]
  34. will work; it’s in-progress, but not ready for the big times yet, as far as I know https://github.com/rust-lang/rust/issues/49879
  35. …don't have that high a tradeoff: https://morepypy.blogspot.com/2015/01/faster-more-memory-eff... https://github.com/rust-lang/rust/pull/45282#issuecomment-33...
    comment by masklinn · 2018-09-07 · in Go says Wat
  36. …seems like a very good idea. They're actually learning from other language's mistakes this time. https://github.com/rust-lang/rust/commit/3d5fef6f3001beeffde...
    comment by notriddle · 2018-08-28 · in Go 2 Draft Designs
  37. …> are also the less than and greater than operators. Rust recently had an small issue with this: https://github.com/rust-lang/rust/pull/53562
    comment by platinumrad · 2018-08-28 · in Go 2 Draft Designs
  38. …(and public) Default implementation for the struct. There was an issue on the tracker in the past ( https://github.com/rust-lang/rust/issues/42692 ) but the change is big enough that it would require an RFC, actual design and consensus,…
    comment by masklinn · 2018-08-17 · in What else is in Go 1.11?
  39. We did, eventually, after years, define it as a full byte though. https://github.com/rust-lang/rust/pull/46156
  40. …As for the rationale behind moving away from jemalloc as a default, the tracking issue is here: https://github.com/rust-lang/rust/issues/36963 (TL;DR: lower maintenance burden, easier cross-compilation, smaller binaries, better system…
    comment by kibwen · 2018-08-02 · in Announcing Rust 1.28
  41. …generate test functions using libtest. I'm not very familiar with the internals, but they're here: https://github.com/rust-lang/rust/blob/master/src/librustdoc...
    comment by djrenren · 2018-07-23 · in The internals of testing in Rust in 2018
  42. …Rust libraries, like libsyntax) without waiting for 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
  43. …which helps put this in further context. I think the original un-minimized crashing code was this: https://github.com/rust-lang/rust/issues/52213#issuecomment-... That's clearly more readable, and that's what more typical rust looks like.
    comment by TheDong · 2018-07-20 · in Announcing Rust 1.27.2
  44. …ub.com/rust-lang/rfcs/blob/master/text/1598-gene... and comments can be left on the tracking issue at https://github.com/rust-lang/rust/issues/44265 .
  45. https://github.com/rust-lang/rust/issues/11927 is the discussion when minimal OS X version for Rust was bumped to 10.7.
  46. …with a similar train of thought, this PR describes the standard sorting algorithm used in Rust: https://github.com/rust-lang/rust/pull/38192
  47. …restrict says “this does not alias”, which &Ts trivially do. It goes on &mut T. For example, see https://github.com/rust-lang/rust/pull/31545 , we had to remove this for a few releases due to an LLVM bug; it'll be back in the next release.…
    comment by steveklabnik · 2018-06-30 · in Rust pointers for C programmers
  48. …how it was handled. These arose because `restrict` is comparatively rarely used in C / C++ code. https://github.com/rust-lang/rust/issues/31681
  49. No. Rust has always had C-family syntax. You can look at the first public commit with the code at https://github.com/rust-lang/rust/tree/d6b7c96c3eb29b9244ece... ; src/test/run-pass shows lots of examples of the syntax.
    comment by chrismorgan · 2018-06-24 · in Rust 2018: an early preview
  50. …of the intents is to make it easier to audit for what is publicly exposed and what isn't. Found it: https://github.com/rust-lang/rust/issues/45521
    comment by epage · 2018-06-23 · in Rust 2018: an early preview