Hacker GitHub

← All repos

rust-lang/rust

View on GitHub ↗ ★ 121,011 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. 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
  2. …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?
  3. 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
  4. …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
  5. …"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
  6. …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
  7. …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
  8. 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
  9. …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
  10. …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
  11. …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…
  12. And AVR too: https://github.com/rust-lang/rust/issues/42450
  13. 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
  14. 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
  15. …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
  16. …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
  17. …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
  18. …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
  19. …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
  20. …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
  21. …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
  22. …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
  23. …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
  24. …-- 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
  25. …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…
  26. …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
  27. …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
  28. 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
  29. …[3]: https://os.phil-opp.com/returning-from-exceptions.html [4]: https://github.com/rust-lang/rust/pull/39832
    comment by phil-opp · 2017-03-26 · in Writing an OS in Rust: Handling Exceptions
  30. …for Apple devices (only appleTV and appleWatch require bitcode, it's optional for everything else): https://github.com/rust-lang/rust/issues/35968
    comment by bluejekyll · 2017-03-26 · in Why I’m not enabling Bitcode (2015)
  31. It's macro_export, not export_macro https://github.com/rust-lang/rust/issues/40487 That said, regressions happen, which is why beta exists. If you find them, please file them!
    comment by steveklabnik · 2017-03-16 · in Announcing Rust 1.16
  32. …or "calling the main thread" problems; do you know if there are issues open? Bitcode is tough, see https://github.com/rust-lang/rust/issues/35968 In general, we'd love to get this into better shape, but need some help from people with the…
    comment by steveklabnik · 2017-03-16 · in Announcing Rust 1.16
  33. …you. There's also a bunch of API stablilizations around Strings, Vectors etc, complete changelog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... Congratulations to everyone involved on the release!
    comment by AsyncAwait · 2017-03-16 · in Announcing Rust 1.16
  34. …it's 75% done by chapter count, it's all just kind of working out. Does that all make sense? 1: https://github.com/rust-lang/rust/pull/39633#issuecomment-27... 2: https://github.com/rust-lang/rust/issues/39588
  35. It is specific to the compiler. https://github.com/rust-lang/rust/tree/master/src/bootstrap It basically consists of: 1. A python script to make sure you have the correct environment, and that kicks off cargo to compile the program used in…
    comment by steveklabnik · 2017-02-15 · in Don't remove the $(nop) command below
  36. …as last week rustc completely moved away from make, deleting all its makefiles in the process: https://github.com/rust-lang/rust/pull/39431 I'm curious how OP even ended up trawling old versions of rustc's makefiles from 2014. I bet…
    comment by kibwen · 2017-02-15 · in Don't remove the $(nop) command below
  37. It was removed here, with a partial explanation: https://github.com/rust-lang/rust/commit/fca66702a44038b14d8... "Adding blank lines means two steps from different defines will not end up on the same line."
    comment by Retr0spectrum · 2017-02-15 · in Don't remove the $(nop) command below
  38. …due to a deficiency in LLVM for non-Windows platforms. Here's the bug on the Rust repo tracking it: https://github.com/rust-lang/rust/issues/16012 Its resolution is long-awaited, to say the least, but it requires someone proficient with…
  39. …(It doesn't seem to currently have anything about trait objects, but I'm sure it will soon.) [1]: https://github.com/rust-lang/rust/commit/dbccd70a5736fd2e898... [2]: http://huonw.github.io/blog/2015/01/peeking-inside-trait-obj... [3]:…
    comment by dbaupp · 2017-02-07 · in Rust's 2017 Roadmap
  40. A feature designed as a fix for the second problem is already in nightly: https://github.com/rust-lang/rust/issues/34511 Who knows when it'll be stabilized, though.
    comment by comex · 2017-02-07 · in Rust's 2017 Roadmap
  41. …(such as Iterator) without resorting either to dynamic dispatch or leaking the concrete type. [0] https://github.com/rust-lang/rust/issues/34511
    comment by marcosscriven · 2017-02-02 · in Announcing Rust 1.15
  42. …fork() (which is not something you can do with the standard rust library AFAIK, so requires unsafe) https://github.com/rust-lang/rust/blob/0c85f2a1bdb01666e74cd... Command::spawn() calls fork(). And you can schedule things to run on the…
  43. …the first problem of having a deadlock. [0]: https://doc.rust-lang.org/std/env/fn.set_var.html [1]: https://github.com/rust-lang/rust/blob/51d29343c04a27570a8ff...
  44. …still the odd rustc bug involving LLVM doing something it shouldn’t, but those are just bugs. See https://github.com/rust-lang/rust/issues?q=is%3Aopen%20label... for a couple.) > but you need unsafe code for anything complicated. … what?…
    comment by chrismorgan · 2017-01-23 · in Rust sucks because
  45. I assumed that the claim about channels going away was a reference to this: https://github.com/rust-lang/rust/issues/27800
    comment by ameliaquining · 2017-01-20 · in Rust vs. Go
  46. …10 contributors for the most recent release[0], where as Go has 9 Googlers in its top 10[1].) [0]: https://github.com/rust-lang/rust/graphs/contributors?from=2... [1]: https://rakyll.org/go18cls/
    comment by dbaupp · 2017-01-19 · in Rust vs. Go
  47. In this case, it's https://github.com/rust-lang/rust/blob/b9637f79e261d0b90d23b... So, specifically. Rust has "traits", which, for these purposes, work like Ruby modules. But. Rust has "coherence rules." That is, You can only implement a…
    comment by steveklabnik · 2017-01-11 · in Announcing Tokio 0.1
  48. I would recommend this link actually: https://github.com/rust-lang/rust/milestones?state=open
    comment by computerphage · 2017-01-08 · in The Piston image library is now pure Rust
  49. …lot of work already done, and more to do on this topic. The best source is the main tracking issue: https://github.com/rust-lang/rust/issues/2369
    comment by tupshin · 2017-01-08 · in The Piston image library is now pure Rust
  50. …because the Read implementation for Stdin does the same locking internally: https://github.com/rust-lang/rust/blob/8f62c2920077eb5cb8132... .)
    comment by dbaupp · 2017-01-03 · in Getting Past C