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. …themselves to always behave one way. Overflows at compile time are caught as errors. More info at: https://github.com/rust-lang/rust/issues/22020 If the requested behaviour is unspecified (just `a+b`), overflows cause runtime panic (edit:…
  2. That's what the well-typed check I mentioned before is, see https://github.com/rust-lang/rust/pull/31474
  3. I believe this is being discussed here: https://github.com/rust-lang/rust/issues/29754
    comment by kibwen · 2016-03-04 · in Announcing Rust 1.7
  4. …so it has emitted warnings for the new error cases since 1.4 to give crate authors time to adapt." https://github.com/rust-lang/rust/blob/stable/RELEASES.md#co... I think this is a fantastic example of the even-handed approach in the…
    comment by dikaiosune · 2016-03-03 · in Announcing Rust 1.7
  5. …from having to pay a de facto performance penalty for being generic (preliminary implementation at https://github.com/rust-lang/rust/pull/30652 ), and the latter is purely an ergonomic change to make our `Result`-based error handling more…
    comment by kibwen · 2016-03-03 · in Announcing Rust 1.7
  6. …you screwing up. E.g. the standard library does, the Vec type contains a RawVec to manage memory ( https://github.com/rust-lang/rust/blob/a212264011289885bdb8b... ) and similarly with HashMap ( https://github.com/rust-lang/rust/blob/a212264…
  7. …this. I and others are very skeptical in general, but there's some interesting discussion so far: https://github.com/rust-lang/rust/pull/31732
    comment by steveklabnik · 2016-02-17 · in Issue and Pull Request templates
  8. …OOP-y language like D and Rust - http://www.drdobbs.com/cpp/uniform-function-call-syntax/2327... https://github.com/rust-lang/rust/issues/16293 Finally, this syntax is important just to allow extension methods without a more specialized…
  9. …)). I was actually the one to file the issue discussing migration, back in 2012: https://github.com/rust-lang/rust/issues/2865 . We've generally come to terms with using Github Issues (not terrible, not great, Just Okay). We do have to spe
    comment by kibwen · 2016-02-12 · in Investigate switching away from GitHub
  10. …one given Rust syntax: right to left behaviour), while code generation assumes left to right order. https://github.com/rust-lang/rust/issues/28160 That is not the standard question of right-to-left vs. left-to-right argument order. That is…
    comment by pcwalton · 2016-02-01 · in Why I'm Choosing C++
  11. …one given Rust syntax: right to left behaviour), while code generation assumes left to right order. https://github.com/rust-lang/rust/issues/28160 What can you do with pointers in unsafe parts of code so that everything is still…
    comment by wuch · 2016-02-01 · in Why I'm Choosing C++
  12. …modern systems when you assume the ABI behaves similarly on different platforms; a good example is https://github.com/rust-lang/rust/pull/22862 , caused by 64-bit iOS treating varargs differently from OS X on x86-64 or even Linux on…
    comment by geofft · 2016-01-25 · in GoQt
  13. …and it seems to work reasonably well even with old issues with a fair number of labels[1] [0] https://github.com/rust-lang/rust/labels [1] https://github.com/rust-lang/rust/issues/5016
  14. …rustc 3 times for each snapshot to properly bootstrap that copy). The snapshots are listed here: https://github.com/rust-lang/rust/blob/master/src/snapshots.... In the past the snapshots were taken almost weekly as massive language churn…
    comment by Gankro · 2016-01-12 · in Two Weeks of Rust
  15. …and more wants to an idea until it sinks. Same thing with the discussion about a `yield` keyword: https://github.com/rust-lang/rust/issues/7746 https://github.com/rust-lang/rfcs/issues/388 It reminds me of the JCP in Java. I guess every…
    comment by pjungwir · 2016-01-12 · in Two Weeks of Rust
  16. …generally know the issues, and that privacy is the #1 way the abstraction boundary is maintained. https://github.com/rust-lang/rust/issues/9883#issuecomment-1... Privacy may be the best way to limit unsafety, but C and C++ already have…
    comment by btrask · 2016-01-11 · in The Scope of Unsafe
  17. …it is not introducing anything new, and so the refutations you often receive still apply. [1]: https://github.com/rust-lang/rust/blob/dfaddb732ced1da9d3109... [2]: https://github.com/iron/iron/blob/d3942d72e3178e7b34ebf1ea0e... [3]:…
    comment by dbaupp · 2016-01-11 · in The Scope of Unsafe
  18. …a few libraries, which can be determined by looking at the `extern crate` statements in this file: https://github.com/rust-lang/rust/blob/master/src/libstd/lib... . Ignore libtest and liblog because they're conditionally used only in…
  19. …can't import C++ in Rust, rustc is written in Rust, and yet it uses LLVM. [0] might be in https://github.com/rust-lang/rust/tree/master/src/rustllvm though I'm not quite sure
    comment by masklinn · 2015-12-31 · in Swift: Commonly Rejected Changes
  20. Here's a link to the bug in question: https://github.com/rust-lang/rust/issues/10184 , which can be realized by casting floats whose value is beyond a certain threshold to integers and then using them to index. The ultimate fix will…
    comment by kibwen · 2015-12-30 · in A problem with LLVM's undef
  21. …browser implementations—is the result of optimizations that are enabled by undefined behavior. [1]: https://github.com/rust-lang/rust/issues/10184
    comment by pcwalton · 2015-12-24 · in The Problem with Friendly C
  22. > Other examples: Rust has E-easy and E-mentor https://github.com/rust-lang/rust/labels/E-easy https://github.com/rust-lang/rust/labels/E-mentor
    comment by masklinn · 2015-11-25 · in First Timers Only
  23. …to reducing friction with the language - a goal which often goes too long without attention. [1]: https://github.com/rust-lang/rust/issues/24407
    comment by nathankleyn · 2015-11-19 · in Making Elm faster and friendlier in 0.16
  24. …constructor segfaults) [0] https://msdn.microsoft.com/en-us/library/dd402872(v=vs.110).... [1] https://github.com/rust-lang/rust/blob/master/src/libcore/tu... [2] https://downloads.haskell.org/~ghc/7.2.2/docs/html/libraries...
    comment by masklinn · 2015-11-16 · in Modern Java – A Guide to Java 8
  25. …to spend optimizing Rust code. There have still been general compiler improvements this cycle (e.g. https://github.com/rust-lang/rust/pull/27943 ), but the MIR work is necessary for long-term improvements going forward.
    comment by kibwen · 2015-10-29 · in Announcing Rust 1.4
  26. …Meanwhile, support for driving LLVM IR generation from the MIR is in the pipeline as we speak: https://github.com/rust-lang/rust/pull/29217
    comment by kibwen · 2015-10-29 · in Announcing Rust 1.4
  27. As another example it seems that Rust does the same: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...
  28. …We're actually in the midst of arguing whether to violate this convention and do it for RefCell: https://github.com/rust-lang/rust/issues/27733
  29. …has always been a tough pill for some to swallow, FreeBSD at least has already switched to Clang) https://github.com/rust-lang/rust#license The OpenBSD folks have done great work through auditing and writing safer code in C, and I agree…
    comment by rhelmer · 2015-10-05 · in Is OpenSMTPD worthy of OpenBSD inclusion?
  30. …"non-lexical borrows". The tracking issue is here: https://github.com/rust-lang/rfcs/issues/811 and https://github.com/rust-lang/rust/issues/6393 is the older issue it superseded, with examples. There hasn't been an RFC yet, because we're…
    comment by steveklabnik · 2015-10-01 · in Trying Rust for web services
  31. …Rustdoc can _certainly_ use way more improvements. Many of the things you've expressed are here: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... I would love to re-write all of Rustdoc, frankly, but haven't been able to.…
    comment by steveklabnik · 2015-10-01 · in Trying Rust for web services
  32. …breaking change needed to fix it), it seems plain sanity should prefer a generated parser. https://github.com/rust-lang/rust/issues/28777 I'm not a compiler hacker, so I don't know how to weigh it really though.
  33. …own parser to a rust native tool? Now it apparently uses antlr4 along with some custom rust code: https://github.com/rust-lang/rust/tree/master/src/grammar
  34. …CPUs will do! For the record, there seem to be a lot of bounds checking independent of indexing: https://github.com/rust-lang/rust/blob/master/src/libcollect... https://github.com/rust-lang/rust/blob/master/src/libcollect...…
  35. …There's exactly one line in the Rust stdlib that provides bounds checking for indexing, right here: https://github.com/rust-lang/rust/blob/master/src/libcore/sl... . All you would need to do is take out that line and compile Servo with…
  36. …as inline functions in a C-language header file, so they were not actually dynamically linkable: https://github.com/rust-lang/rust/commit/a8dbb92b . In both of these cases I would have loved to just #include the C header, but…
  37. …more detailed release notes: "Porting Rust on Windows from the GNU toolchain to MSVC continues ( https://github.com/rust-lang/rust/pull/26569 , https://github.com/rust-lang/rust/pull/26741 , https://github.com/rust-lang/rust/pull/26741 ,…
    comment by kibwen · 2015-09-17 · in Announcing Rust 1.3
  38. Welcome improvements! I guess I'll be able to compile all my code on stable 1.4 judging by https://github.com/rust-lang/rust/pull/28339 .
    comment by arthursilva · 2015-09-17 · in Announcing Rust 1.3
  39. Not yet, but a big stabilization PR was: https://github.com/rust-lang/rust/pull/28339
    comment by kzrdude · 2015-09-17 · in Announcing Rust 1.3
  40. Lots of great little things in this release (my favorite is probably https://github.com/rust-lang/rust/pull/26926 , hooray for removing external dependencies (come oooooon LLD...)), but what I'm really excited about is the upcoming 1.4…
    comment by kibwen · 2015-09-17 · in Announcing Rust 1.3
  41. …is important for perf and exception safety, though we have briefly mused allowing it to panic: https://github.com/rust-lang/rust/issues/26951
    comment by Gankro · 2015-09-17 · in Asynchronous IO in Rust
  42. Ahh excellent, thank you! https://github.com/rust-lang/rust/issues/28053
    comment by steveklabnik · 2015-08-27 · in Lock freedom without garbage collection in Rust
  43. …manually [1]: http://huonw.github.io/simd/simd/struct.f32x4.html#method.lo... [2]: https://github.com/rust-lang/rust/issues/22987
    comment by dbaupp · 2015-08-24 · in SIMD in Rust
  44. …function in the handler since they allocate memory, so it's not super useful. Here's the bug, https://github.com/rust-lang/rust/issues/27335 . And, here is the original one https://github.com/rust-lang/rust/issues/14674 . (Side note: I…
    comment by mtanski · 2015-08-17 · in Rust web framework, Iron
  45. …Take Servo, for instance: https://github.com/servo/servo/tree/master/components or rustc itself: https://github.com/rust-lang/rust/tree/master/src Each of these subdirectories (basically, a few aren't) is a crate, so you'll only be…
    comment by steveklabnik · 2015-08-14 · in Rust in 2016
  46. …hand I find it makes the text a bit less dry to not take yourself too seriously. :) re italics: https://github.com/rust-lang/rust/pull/27414
  47. …the first draft. Lots of errors and TODOs. Source is here if you want to file issues or patches: https://github.com/rust-lang/rust/tree/master/src/doc/tarpl
  48. Rust also has experimental support for MUSL as of April: https://github.com/rust-lang/rust/pull/24777
  49. …contributors) posted a valgrind example yesterday on one of the issues that individual linked ( https://github.com/rust-lang/rust/issues/19776 ). ==21255== HEAP SUMMARY: ==21255== in use at exit: 312 bytes in 7 blocks ==21255== total heap…
    comment by rjshayes · 2015-07-23 · in Five lists of six things about Rust
  50. …ago. He acknowledged this on one of the very issues the original comment was in reference to. See https://github.com/rust-lang/rust/issues/19776 alexcrichton commented a day ago @huonw did you test on linux? You may have been using the ELF…
    comment by rjshayes · 2015-07-23 · in Five lists of six things about Rust