Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,043 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. ▲ 6
    Update about const generics in Rust
    story by EvgeniyZh · 2021-12-12 · 0 comments
  2. ▲ 2
    Rust: 2 Years to Name Some Functions
    story by kroggen · 2021-12-12 · 1 comment
  3. …form of higher kinded types as a native language feature are pretty close to being stabilised now https://github.com/rust-lang/rust/issues/44265 As always with Rust, work is released on an "when it's done" basis but estimates are pointing…
    comment by nicoburns · 2021-12-10 · in Higher Kinded Types in Rust
  4. …was recently stabilized in rustc as a result of m68k support landing in LLVM ( https://github.com/rust-lang/rust/blob/master/RELEASES.md#co... ), which has been one of the previous sticking points for Rust packaging on Linux distros, som
    comment by lambda · 2021-12-08 · in Rust support in the Linux kernel
  5. …Here's an example of a contributor adding a new platform at tier 3: https://github.com/rust-lang/rust/pull/79608
    comment by steveklabnik · 2021-12-08 · in Rust support in the Linux kernel
  6. …-> [u8; Self::LENGTH]; } However it turns out that this kind of usage is not quite supported yet: https://github.com/rust-lang/rust/issues/60551
  7. …constructions to result in segfaults despite not containing `unsafe` blocks . These are tracked at https://github.com/rust-lang/rust/issues?q=label%3AI-unsound .) On the topic of application-level code quality (rather than foundational…
  8. …work if you compare `b == a`. Apparently[0] it's something to do with avoiding code bloat. [0] https://github.com/rust-lang/rust/blob/e4c23daeb461ac02413eb...
  9. …nightly, so it is included in the linked benchmark. It will ship to stable in the 1.57.0 release: https://github.com/rust-lang/rust/pull/88243 Rustc supports running with LLVM versions other than 13.0, which some distros enable, but the…
  10. …language? LLVM has shown regressions wich is what Rust uses to compile code. 2sec search on google: https://github.com/rust-lang/rust/issues/24194
  11. …foundation's communication skills so far. [1] https://www.rust-lang.org/policies/media-guide [2] https://github.com/rust-lang/rust
    comment by mjw1007 · 2021-11-09 · in Arm Joins the Rust Foundation
  12. https://github.com/rust-lang/rust/issues/28979 plenty of discussion here on Unicode including homoglyph attacks. This is for Rust but has links to Go and Zig. The Unicode standard also has extensive discussion, for example…
  13. How do you review a WebAssembly binary? Are builds reproducible? I just found this about Rust: https://github.com/rust-lang/rust/labels/A-reproducibility It would be nice to be able to run them on multiple CIs and compare the SHAs.
    comment by benatkin · 2021-10-26 · in Next.js 12
  14. They're referring to the use of PGO when building the compiler itself: https://github.com/rust-lang/rust/pull/88069
    comment by mastax · 2021-10-22 · in Rust 1.56.0 and Rust 2021
  15. …I think it's exactly that commit and not just one close to it. I heard it was a big improvement. https://github.com/rust-lang/rust/commit/63cc2bb > Enable new pass manager with LLVM 13 > https://github.com/rust-lang/rust/pull/88243
    comment by kzrdude · 2021-10-21 · in Rust 1.56.0 and Rust 2021
  16. …but still appreciated, Iterator::map_while [2], which is going to be in Rust 1.57. [2]: < https://github.com/rust-lang/rust/pull/89086 >
    comment by yakubin · 2021-10-21 · in Rust 1.56.0 and Rust 2021
  17. …on embedded now. Also Rust gets rustc_codegen_gcc[1], so you will be able to use it everywhere. [1] https://github.com/rust-lang/rust/tree/master/compiler/rustc...
    comment by glowmeg · 2021-10-16 · in Implementing Hash Tables in C
  18. …been fixed. > You can read more details on the new implementation in the pull request description: https://github.com/rust-lang/rust/pull/86761 There's some pretty big speed improvements there. 3x-10x in the most normal cases, 1600x on…
    comment by Twirrim · 2021-09-09 · in Rust 1.55.0
  19. https://github.com/rust-lang/rust/issues/77960 I think.
    comment by mrec · 2021-09-05 · in Fast Rust Builds
  20. ▲ 39
    Rust 2021 Celebration and Thanks
    story by vignesh_warar · 2021-09-03 · 9 comments
  21. LLVM does have an m68k backend, and there's an open PR on rustc to add it https://github.com/rust-lang/rust/pull/88321
    comment by steveklabnik · 2021-08-31 · in GCC Rust Monthly Report #9 August 2021
  22. …The current state of it is "someone needs to write up an RFC." If you want the full gory details: https://github.com/rust-lang/rust/pull/65875
    comment by steveklabnik · 2021-08-31 · in Async Overloading
  23. ▲ 4
    Rust PR: Add initial support for m68k
    story by cbmuser · 2021-08-29 · 0 comments
  24. …a too old versions of rust. In the future, one will be able to give a nice error when this happen ( https://github.com/rust-lang/rust/issues/65262 ) But now it's true that it can be hard to know what the problem is.
  25. …so it'd be unsafe to store any elements 125 | | } | |_____^ | = note: for more information, see https://github.com/rust-lang/rust/issues/49146 error[E0658]: `if` is not allowed in a `const fn` --> ~/.cargo/registry/src/github.com-1ecc6299db…
  26. …available in nightly[2]. [1]: https://rust-lang.github.io/rfcs/3107-derive-enum-default.ht... [2]: https://github.com/rust-lang/rust/pull/86735
  27. …don't know if there is any plans for exposing that trait, but it would be a nice thing to see. [0]: https://github.com/rust-lang/rust/blob/master/library/alloc/... [1]: https://github.com/rust-lang/rust/blob/master/library/alloc/...
  28. …by a memset when compiled. godbolt: https://godbolt.org/z/8bM7zz4E7 the specific specialization: https://github.com/rust-lang/rust/blob/master/library/alloc/...
  29. …of output, whereas other languages like Python tend to buffer larger blocks before flushing. [2] https://github.com/rust-lang/rust/issues/60673
    comment by jlledo · 2021-08-09 · in How to write slow Rust code – Part 2
  30. …understand the real problem and apply the real fix yourself. I would appreciate bug reports at https://github.com/rust-lang/rust/issues/ when encountering these kind of situations. If there's something worse than missing suggestions is…
  31. Relevant PR (merged): https://github.com/rust-lang/rust/pull/82834
    comment by juancampa · 2021-07-29 · in Rust 1.54.0
  32. …have to contend with the fact that you can't even set a debugger checkpoint where an error occurs: https://github.com/rust-lang/rust/issues/54144 Obviously people wouldn't be asking for that if the type and borrow checkers caught all the…
    comment by oalae5niMiel7qu · 2021-07-27 · in What's bad about Julia?
  33. https://github.com/rust-lang/rust/issues/44650 (Nothing to do with unicode. I haven't got a Windows machine to test, but I assume WinMain will behave the same as main wrt quotes and spaces.) (Note that Rust doesn't use CLTAW any more; it…
    comment by Arnavion · 2021-07-25 · in Windows Command-Line Obfuscation
  34. …mainline rustc [2], supports building for MIPS. [1] https://github.com/antoyo/rustc_codegen_gcc [2] https://github.com/rust-lang/rust/pull/87260 Can you give it a try?
    comment by geofft · 2021-07-24 · in Rust for Linux redux
  35. …(albeit calling `open64` rather than `fopen`), you can see it in the source for the stdlib here https://github.com/rust-lang/rust/blob/master/library/std/sr...
    comment by clappski · 2021-07-24 · in Modern C++ for C Programmers (2018)
  36. …are already feature gated for OOM handling so might not be implemented for String. [0] https://github.com/rust-lang/rust/blob/master/library/alloc/... [1] Note that the compiler knows about it to provide better diagnostics to the user, but…
    comment by Measter · 2021-07-20 · in A GPIO Driver in Rust
  37. …goto cleanup, and break/continue let you emulate any structured uses of goto. (I live in hope that https://github.com/rust-lang/rust/issues/48594 will one day land, so you can use break to skip the remainder of a labelled block, no loop…
    comment by chrismorgan · 2021-07-17 · in Linux: Using goto In Kernel Code (2003)
  38. …most famous bug in the standard library exposing an unsound construction is the “leakpocalypse”: https://github.com/rust-lang/rust/issues/24292
    comment by littlestymaar · 2021-07-17 · in Is Rust Used Safely by Software Developers?
  39. …they do happen. For fun, here's an example of the Rust stdlib itself working around such things: https://github.com/rust-lang/rust/blob/74ef0c3e404cc72c08b2d...
  40. …is where it's handy to have a decent standard library instead of learning all of this the hard way: https://github.com/rust-lang/rust/blob/b9197978a90be6f757074...
    comment by pornel · 2021-07-15 · in Overflowing timeout
  41. …are only incorrect in combination, like global value numbering causing miscompilations[1][2])? [1]: https://github.com/rust-lang/rust/issues/45839 [2]: https://bugs.llvm.org/show_bug.cgi?id=35229 EDIT: > the critical detail about…
    comment by nyanpasu64 · 2021-07-12 · in Updating the Go Memory Model
  42. …ahead-of-time compilation), as an alternative to LLVM for the standard Rust compiler ("rustc" aka https://github.com/rust-lang/rust ). This allows reusing all the logic inside the Rust compiler for compiling code, checking types and…
  43. …exhaustiveness checks has extensive explanations on how it works and what it was inspired by. https://github.com/rust-lang/rust/blob/master/compiler/rustc...
    comment by estebank · 2021-07-08 · in Compiling Rust is NP-hard
  44. https://github.com/rust-lang/rust/pull/84266 We have been excising this with a new opt-out mechanism so there are no allocations behind your back but the same abstractions are notheless used as the rest of the Rust ecosystem.
    comment by Ericson2314 · 2021-07-06 · in Linux Rust Support
  45. …hopeful that this effort could improve the situation for everyone. My small contribution to this, https://github.com/rust-lang/rust/pull/84266 , is supposed to be just that!
    comment by Ericson2314 · 2021-07-06 · in Linux Rust Support
  46. In what way? Rust seems to be proving itself as a reliable mainstay in systems development https://github.com/rust-lang/rust The git repo has over 150,000 commits, 3,000 contributors, and 9 years of release history. The last 6 years of…
    comment by eejjjj82 · 2021-07-06 · in Linux Rust Support
  47. …in a sane pattern such as MVU. FWIW, I have been working towards this for the past year. [1] https://github.com/rust-lang/rust/blob/master/src/librustdoc...
  48. Implemented in https://github.com/rust-lang/rust/pull/37429 ; his website seems to be https://ahicks.io/
    comment by kzrdude · 2021-06-28 · in Deserializing Binary Data Files in Rust
  49. Ok, teach me about https://github.com/rust-lang/rust/issues/82457 then. Unchecked alloca() calls have a pretty bad reputation with non-rust folks. But this is the preferred allocation scheme in Rust. I'm sure our understanding of memory…
  50. Then maybe lookup "stack overflow" in rust, and you will be delighted. https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... 583 closed, 156 open. That much to "memory safety" in rust.