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. 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
  2. …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
  3. > 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
  4. …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
  5. …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
  6. …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
  7. …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
  8. As another example it seems that Rust does the same: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...
  9. …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
  10. ▲ 2
    Segmentation fault in Safe Rust
    story by heinrich5991 · 2015-10-08 · 0 comments
  11. …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?
  12. …"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
  13. …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
  14. …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.
  15. …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
  16. …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...…
  17. …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…
  18. …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…
  19. …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
  20. 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
  21. 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
  22. 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
  23. …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
  24. ▲ 12
    My 13 yo son was the leading contributor to Rust this week
    story by shawndumas · 2015-09-14 · 4 comments
  25. 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
  26. …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
  27. …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
  28. …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
  29. …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
  30. …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
  31. Rust also has experimental support for MUSL as of April: https://github.com/rust-lang/rust/pull/24777
  32. …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
  33. …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
  34. …it. EDIT: Awh, that's sad... s/he deleted the comment.... The issue the individual linked was https://github.com/rust-lang/rust/issues/14875 , an open issue the contributors acknowledged as existing since June 13, 2014. Come on everyone,…
    comment by rjshayes · 2015-07-22 · in Five lists of six things about Rust
  35. Tail call optimization https://mail.mozilla.org/pipermail/rust-dev/2013-April/00355... https://github.com/rust-lang/rust/issues/217 > I'm sorry to be saying all this, and it is with a heavy heart, but we tried and did not find a way to…
    comment by riquito · 2015-07-03 · in Things Rust shipped without
  36. …place to get started, I'd imagine. Hence my suggestion of examples. We also have the A-docs tag: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... Some of these are actually pretty easy, I tend to let the pile up and then…
  37. …logical errors in the compiler code. For example, here's about the worst rustc crash I've found: https://github.com/rust-lang/rust/issues/21946 . It doesn't even give you an ICE, it terminates with a stack overflow. So no, Rust cannot…
  38. It's not perfect, but https://github.com/rust-lang/rust/issues?page=1&q=is%3Aissue... seems to indicate that we closed 81 issues tagged ICE between 1.0 and now. Not all of those made it into 1.1, bunches are in 1.2, and some of them are…
  39. …an error, not crash). There are currently 207 open issues regarding ICE (Internal Compiler Error): https://github.com/rust-lang/rust/labels/I-ICE
  40. https://github.com/rust-lang/rust/pull/25350 was the PR with the initial support. > The tl;dr; of this change is that there is a new target of the compiler, > x86_64-pc-windows-msvc, which will not interact with the MinGW toolchain at >…
  41. …repositories. Today I was checking out how Rust's HashMap works and I found it quite readable: https://github.com/rust-lang/rust/blob/master/src/libstd/col... You can also look at `mio`, the asynchronous IO library that's popular in Rust:…
    comment by seppo0010 · 2015-06-19 · in Redis re-implemented in Rust
  42. The main places to look are https://internals.rust-lang.org/ , https://github.com/rust-lang/rfcs , https://github.com/rust-lang/rust (for actual implementation), and the Rust IRC channels such as #rust-internals on irc.mozilla.org. IRC is…
    comment by lambda · 2015-06-19 · in Redis re-implemented in Rust
  43. …to return. EDIT: Oh! I forgot that https://github.com/rust-lang/rfcs/pull/1047 got merged recently. https://github.com/rust-lang/rust/issues/25818 implemented it. http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.ht... shows it…
    comment by steveklabnik · 2015-06-18 · in Redis re-implemented in Rust
  44. …on and off. (The immediate impetus for this feature work was to use HeapAlloc() on Windows.) [1]: https://github.com/rust-lang/rust/blob/master/src/liballoc/h...
    comment by pcwalton · 2015-06-18 · in Go has a debugger and it's awesome
  45. ▲ 1
    Change default gender in the dining philosophers project
    story by engintekin · 2015-06-18 · 1 comment
  46. …because of all the APIs that people are clamoring for but that didn't make it to stable for 1.0 ( https://github.com/rust-lang/rust/issues/24028 ). We're also working closely with several dozen companies using Rust to determine what…
    comment by kibwen · 2015-06-14 · in Why Go is doomed to succeed
  47. …work around optimizing linking. There's also work towards parallel codegen coming along nicely ( https://github.com/rust-lang/rust/pull/26018 ) which reports a 30% reduction in compilation time. In the longer run there are plans for…
    comment by kibwen · 2015-06-06 · in Crystal Language
  48. …FreeFull jamii: <N: Iterator<Item = u8>> Equality constraints seem to still be unimplemented ( https://github.com/rust-lang/rust/pull/22074 ) but I can write this instead where N : Iterator<Item=u8> So that whole section of the post is…
    comment by jamii · 2015-06-05 · in Three months of Rust
  49. Note that those guidelines are outdated, superseded by https://github.com/rust-lang/rust-guidelines Note that _those_ guidelines are outdated, superseded by https://github.com/rust-lang/rust/tree/master/src/doc/style and…
    comment by steveklabnik · 2015-05-19 · in A simple UI framework for Rust
  50. …and it initially pissed me off when I discovered it, thanks to Brian Anderson for sharing. https://github.com/rust-lang/rust/issues/13871
    comment by jwiley · 2015-05-15 · in Announcing Rust 1.0