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. It was https://github.com/rust-lang/rust/issues/41646 It was about changing the name of a lint from "bad-style" to "non-standard-style". I still don't understand what this change has anything to do with social politics. Nor was this really…
    comment by Manishearth · 2017-09-05 · in Rust 2017 Survey Results
  2. …a breaking change that had an “acceptable count” of GitHub issues cross-referencing it is this one: https://github.com/rust-lang/rust/pull/42496 .
    comment by Ruud-v-A · 2017-09-05 · in Rust 2017 Survey Results
  3. …that resulted it in no longer inferring types in circumstances where rustc 1.17 did infer types. https://github.com/rust-lang/rust/issues/42545
    comment by khuey · 2017-09-05 · in Rust 2017 Survey Results
  4. …): - Patching up soundness holes causing previously-unsound code to error ( https://github.com/rust-lang/rust/pull/43651 is an example) - Changing inference in a way that may require new annotations - Adding types and things to module
    comment by Manishearth · 2017-09-05 · in Rust 2017 Survey Results
  5. …could look like. Currently they are available via a module, and they are implemented like above: https://github.com/rust-lang/rust/blob/master/src/libcore/nu...
    comment by whyever · 2017-09-01 · in Announcing Rust 1.20
  6. …I'm really missing in Rust right now is specialization in generics, which is being worked on here: https://github.com/rust-lang/rust/issues/31844 .
    comment by jmcomets · 2017-08-31 · in Announcing Rust 1.20
  7. ▲ 111
    Rust – Coroutines support merged
    story by adelarsq · 2017-08-28 · 39 comments
  8. …really, thank you! I've opened a (a bit vague for now) issue so at least I don't forget about it: https://github.com/rust-lang/rust/issues/44041 As for phase ordering - someone did show me recently VSDG, which claims to solve at least part…
  9. …because of the huge size of the runtimes. Rust has a comparable amount of runtime as C, here it is: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... wasm/asmjs does bring in some stuff, because it's mostly in a "it works"…
    comment by steveklabnik · 2017-08-15 · in Rust for the Web
  10. …how addition is implemented. fn add(mut self, other: &str) -> String { self.push_str(other); self } https://github.com/rust-lang/rust/blob/master/src/liballoc/s... Of course, upfront sizing is still advantageous, but you avoid the…
    comment by Veedrac · 2017-08-13 · in Pony Performance Cheatsheet
  11. …is a choice between tangly handling of nested errors or verbose attempts to early-exit. [1]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys...
    comment by Veedrac · 2017-08-12 · in Typed nils in Go 2
  12. …the external https://crates.io/crates/alias and even an approved RFC for adopting it into std: https://github.com/rust-lang/rust/issues/43038 .
  13. …about it due to this commit enabling it by default (on supported platforms) in the Rust compiler: https://github.com/rust-lang/rust/pull/43170
  14. …difficult, see e.g. this longstanding UB bug related to how LLVM translates certain numeric casts: https://github.com/rust-lang/rust/issues/10184 ).
  15. …backends. So they can suffer from just the same UB if the language itself does not prevent it. https://github.com/rust-lang/rust/issues/28728
  16. ▲ 3
    Stack overflow checking for x86/x86_64 for Rust just landed
    story by jerheinze · 2017-07-24 · 0 comments
  17. …for Rust [1]. It is not too complex once you understood but annoying enough to derive again. [1] https://github.com/rust-lang/rust/blob/f8d485f/src/libcore/n...
    comment by lifthrasiir · 2017-07-22 · in Converting floats to strings
  18. …accepted to change the behavior but it has not been fully implemented. Here's the tracking issue: https://github.com/rust-lang/rust/issues/27060
  19. …explanatory comments where they can help. The rustc borrow checker is another example that I like: https://github.com/rust-lang/rust/tree/master/src/librustc_b... . What is now README.md used to be somewhat shorter (though still long and…
    comment by chrismorgan · 2017-07-11 · in Writing Good Code Is a Lot Like Writing Prose
  20. I couldn't quite remember either, and brson told me that https://github.com/rust-lang/rust/issues/11710 was probably it. Can't seem to find where it was actually finally disabled though.
    comment by steveklabnik · 2017-07-10 · in How Rust is tested
  21. …separate compiler pass whose internals are described imperatively and don't look type-based to me: https://github.com/rust-lang/rust/blob/master/src/librustc_b... If anything, I agree with zzzcpan and disagree with swsieber. Types are nice…
    comment by cousin_it · 2017-07-08 · in Where Do Type Systems Come From?
  22. At least according to https://github.com/rust-lang/rust/issues/28728#issuecomment-... this is a more general issue with clang/llvm -- even e.g. `while(1);` in C is being optimized out.
    comment by mnarayan01 · 2017-07-05 · in Undefined Behavior in 2017
  23. …then optimizes out code and the unreachable (thus not-compiled) section is reached things explode. https://github.com/rust-lang/rust/issues/28728
    comment by the8472 · 2017-07-05 · in Undefined Behavior in 2017
  24. …"safe Rust" UB issue (3+ years ago) last had comments 21 days ago and I believe it's still open: https://github.com/rust-lang/rust/issues/10184
    comment by jasode · 2017-07-05 · in Undefined Behavior in 2017
  25. …undefined behavior in LLVM when compiling safe Rust, but that is considered a bug in the compiler. https://github.com/rust-lang/rust/issues/10184
    comment by adrianN · 2017-07-05 · in Undefined Behavior in 2017
  26. …take them with a grain of salt. I'd be happy to elaborate further and answer any questions. :) [1] https://github.com/rust-lang/rust/pull/38192 [2] https://github.com/rust-lang/rust/issues/40585 [3] https://github.com/rust-lang/rust/pull/40…
    comment by _hrfd · 2017-06-29 · in Pattern-defeating quicksort
  27. https://github.com/rust-lang/rust/pull/40601 "stable" is a simplified Timsort: https://github.com/rust-lang/rust/pull/38192 "unstable" is a pdqsort
    comment by mastax · 2017-06-29 · in Pattern-defeating quicksort
  28. …out the new stuff, or maybe they didn't know that it was on stable already. 1: EDIT: looks like it https://github.com/rust-lang/rust/pull/42571
    comment by steveklabnik · 2017-06-27 · in Get Started with Rust, WebAssembly, and Webpack
  29. …the blame on "memory-unsafe languages", because Rust is currently vulnerable to the same attack: https://github.com/rust-lang/rust/issues/16012 It looks like the fix is going to involve adding some code to LLVM to probe each stack page…
    comment by geofft · 2017-06-20 · in The Stack Clash
  30. …content.com/dotnet/coreclr/master/src/... https://github.com/catseye/Befunge-93/blob/master/src/bef.c https://github.com/rust-lang/rust/blob/master/src/liballoc/v... https://github.com/oxyc/luaparse/blob/master/luaparse.js Yep. Pretty…
  31. And AVR too: https://github.com/rust-lang/rust/issues/42450
  32. https://github.com/rust-lang/rust/pull/41469 Whole bunch of perf fixes at once.
    comment by Manishearth · 2017-06-08 · in Announcing Rust 1.18
  33. What's that jump at Apr 22 [1]? [1]: https://github.com/rust-lang/rust/compare/cb4065b9ce4e2bb2c3...
    comment by infogulch · 2017-06-08 · in Announcing Rust 1.18
  34. …Forcing people to rewrite any code(esp. complex macros) will not gain Rust any goodwill longterm. https://github.com/rust-lang/rust/issues/39412 > Eventually, I hope we can remove macro_rules!. That will take a long time, and would require…
    comment by FrozenVoid · 2017-06-05 · in A Practical Intro to Macros in Rust
  35. …rust-lang.org/t/rust-release-milestone-pre... For example, one can see that "Macro use and rexport" ( https://github.com/rust-lang/rust/issues/35896 ) that will make macros a part of normal Rust naming and modules is planned for Rust 1.20…
    comment by mzl · 2017-06-05 · in A Practical Intro to Macros in Rust
  36. …library's own `Vec` type is an example of a struct that is generic without traits. See the source: https://github.com/rust-lang/rust/blob/4ed2edaafe82fb8d44e81... . In fact, almost no struct or enum uses traits in combination with…
    comment by kibwen · 2017-06-01 · in Rust: A Scala Engineer's Perspective
  37. …and some parts of the standard library already have been. And some of that work has found bugs too: https://github.com/rust-lang/rust/pull/41624
  38. …for Watch and appleTV applications. This internal Rust discussion focuses on it for more details: https://github.com/rust-lang/rust/issues/35968 This gist is that Apple is requiring bitcode, but isn't giving easy access to the LLVM version…
    comment by bluejekyll · 2017-05-09 · in Making a Game in Rust
  39. …ylanmckay.io/blog/rust/avr/llvm/2017/02/09/safer-mic... for an overview; 4.0 has been merged, but see https://github.com/rust-lang/rust/issues/37609#issuecomment-...
    comment by steveklabnik · 2017-05-09 · in Fearless concurrency in your microcontroller
  40. ▲ 1
    Rust: floating point to integer casts can cause undefined behaviour
    story by luu · 2017-05-08 · 0 comments
  41. …was unable to reproduce your bug report. --- If you have any more bug reports, please post them on https://github.com/rust-lang/rust . And you can check which version of the compiler you're using with `rustc --version` (supported since…
    comment by tatterdemalion · 2017-04-28 · in Rust 1.17
  42. …verbose) isn't the complete picture. The big blocker is a technical issue preventing `"" + ""` See https://github.com/rust-lang/rust/issues/39018#issuecomment-...
    comment by epage · 2017-04-27 · in Rust 1.17
  43. ▲ 1
    Rust performance audit, Spring 2017
    story by robin_reala · 2017-04-26 · 0 comments
  44. ▲ 1
    LLVM 4.0 Upgrade in Rust
    story by afshinmeh · 2017-04-25 · 0 comments
  45. …it doesn't, because the `HashMap` implementation just stores everything behind an untyped pointer. https://github.com/rust-lang/rust/blob/master/src/libstd/col... It would be cool to see if the "we'll manage our own pointers, thanks"…
    comment by frankmcsherry · 2017-04-16 · in Optimizing Rust Struct Size
  46. …-- print layout information for each type encountered This is what the output looks like: https://github.com/rust-lang/rust/blob/13fd5e93deb41045c4de8...
    comment by eddyb · 2017-04-16 · in Optimizing Rust Struct Size
  47. …about Rust not having a select() primitive or equivalent functionality in the core language - https://github.com/rust-lang/rust/issues/27800 remains open since Aug 2015 as of my writing this comment, but I don't know if there are any…
  48. …here... every language other than assembly languages has some amount of runtime. This is Rust's: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... (as you allude to, many people refer to this amount of runtime as "no runtime"…
    comment by steveklabnik · 2017-04-07 · in The reference D compiler is now open source
  49. …incremental compilation[1] is set to be included in the next release[2] at the end of April! [1] https://github.com/rust-lang/rust/issues/2369 [2] https://internals.rust-lang.org/t/rust-release-milestone-pre...
    comment by portmanteaufu · 2017-04-02 · in Why I moved from Rust to simpler, cleaner C
  50. https://github.com/rust-lang/rust/blob/1ca100d0428985f916eea... is the "runtime". sys::thread contains all the TLS stuff (C has TLS too, so it's unclear if this is any more of a runtime). catch_unwind is for toplevel panic handling (which…
    comment by Manishearth · 2017-03-27 · in Curl is C