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. ▲ 1
    Rust: enable parallel codegen by default
    story by robin_reala · 2014-10-22 · 0 comments
  2. This issue on the Rust repo is very relevant: https://github.com/rust-lang/rust/issues/18085
    comment by steveklabnik · 2014-10-19 · in Rust vs. C++ Benchmark Game
  3. …fallacy, but that really doesn't seem very hard. It doesn't even rely on a smart compiler: https://github.com/rust-lang/rust/blob/master/src/libcore/re... The #[inline] attribute is defined as a "standard (though very strong) inline hint"…
    comment by masklinn · 2014-10-17 · in On Error Handling in Rust
  4. …from that yes: Result.map is trivially implemented in terms of match and (almost always) inlined: https://github.com/rust-lang/rust/blob/master/src/libcore/re... and the closure is itself inlined. So the resulting assembly should be the…
    comment by masklinn · 2014-10-17 · in On Error Handling in Rust
  5. …compile to Javascript Never officially , but that doesn't mean an Emscripten backend isn't possible https://github.com/rust-lang/rust/issues/2235 :)
    comment by kibwen · 2014-10-17 · in On Error Handling in Rust
  6. Thanks for noticing that! I filed https://github.com/rust-lang/rust/issues/17999
  7. They are not being ignored. Better versions of those benchmarks exist in-tree: https://github.com/rust-lang/rust/tree/master/src/test/bench (the shootout-....rs). The only reason they're not on the website is licensing problems (which have…
    comment by dbaupp · 2014-10-10 · in Rust 0.12.0 released
  8. …minimalistic? I was interested in the answer to this too. I found these which helped me understand: https://github.com/rust-lang/rust/issues/1273 https://github.com/rust-lang/rust/issues/2643
    comment by nickknw · 2014-10-09 · in Rust 0.12.0 released
  9. Currently, there is no default. This is probably changing back. See https://github.com/rust-lang/rust/issues/15526 and the associated issues. The TL;DR is this: not having a default type makes you consider which size to choose. This is…
    comment by steveklabnik · 2014-10-09 · in Rust 0.12.0 released
  10. …is a longer list of summarized changes below the links in the OP, also reproduced in this file: https://github.com/rust-lang/rust/blob/master/RELEASES.md
    comment by kibwen · 2014-10-09 · in Rust 0.12.0 released
  11. …are some RFCs a bit overwhelming I think, more theoritical than illustrated with examples. [1] https://github.com/rust-lang/rust/wiki/Doc-detailed-release-...
    comment by doe88 · 2014-10-09 · in Rust 0.12.0 released
  12. …required such annotations. The detailed release notes have a more, er, detailed explanation: https://github.com/rust-lang/rust/wiki/Doc-detailed-release-...
    comment by kibwen · 2014-10-09 · in Rust 0.12.0 released
  13. …then does nothing with it whatsoever. In other words, the function body is entirely empty! :) https://github.com/rust-lang/rust/blob/master/src/libcore/me...
  14. Currently, borrows are lexical. We don't want them to be that way forever. https://github.com/rust-lang/rust/issues/6393
    comment by steveklabnik · 2014-10-07 · in Rust means never having to close a socket
  15. …by a do-style notation. The `do` keyword is unused yet reserved for precisely this reason ( https://github.com/rust-lang/rust/blob/master/src/libsyntax/... ).
    comment by kibwen · 2014-10-02 · in A Fresh Look at Rust
  16. …it isn't going to, say, beat RE2/C++ quite yet.) You can take a look at the syntax extension here: https://github.com/rust-lang/rust/blob/master/src/libregex_m... Basically, if CTFE allows you to write functions that produce AST…
    comment by burntsushi · 2014-10-01 · in A Fresh Look at Rust
  17. …[2]: http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te... [3]: https://github.com/rust-lang/rust/blob/master/src/test/bench...
    comment by dbaupp · 2014-10-01 · in A Fresh Look at Rust
  18. …is the relevant issue. [1]: http://doc.rust-lang.org/nightly/std/collections/struct.Hash... [6393]: https://github.com/rust-lang/rust/issues/6393
    comment by dbaupp · 2014-10-01 · in A Fresh Look at Rust
  19. …1: http://en.wikipedia.org/wiki/C%2B%2B#Philosophy 2: http://stackoverflow.com/q/19625115 3: https://github.com/rust-lang/rust/issues/10448
    comment by quacker · 2014-09-18 · in The C++14 Standard: What You Need to Know
  20. …discussion to come out of it; I've also seen how defensive the Rust community can be [2]. [1] https://github.com/rust-lang/rust/wiki/Rust-for-CXX-programm... [2] https://pay.reddit.com/r/rust/comments/2bbeqe/it_started_out...
    comment by pbsd · 2014-09-16 · in The Road to Rust 1.0
  21. https://github.com/rust-lang/rust/issues/15526 <- there's actually a lot of context for this, and depending on how the RFC shakes out, much of this will go away.
    comment by steveklabnik · 2014-09-13 · in Rust Guide
  22. This is good criticism. If you have time, might you consider creating an issue? https://github.com/rust-lang/rust/issues Steve reads all of the ones regarding documentation, and most likely would find it valuable.
    comment by bjz_ · 2014-09-12 · in Rust Guide
  23. Here is the commit responsible for that: https://github.com/rust-lang/rust/commit/51abdee5f1ad9326713... What's the point of adding this very long text?
    comment by RailsUser2014 · 2014-09-12 · in Hidden text inside every compiled Rust program
  24. Seemingly one of 6 possible inclusions: https://github.com/rust-lang/rust/blob/master/src/libgreen/m...
  25. …version. Feedback very welcome. I'll read all this eventually, or just open some issues. 1: https://github.com/rust-lang/rust/pulls?q=is%3Apr+author%3As... 2: https://github.com/rust-lang/rust/pull/17155
    comment by steveklabnik · 2014-09-12 · in Rust Guide
  26. I _believe_ that https://github.com/rust-lang/rust/blob/master/src/librustc_l... is the LLVM wrapper, and that https://github.com/rust-lang/rust/tree/master/src/librustc/m... is what does the actual generation, but frankly, I am quite bad…
    comment by steveklabnik · 2014-09-06 · in Rhine – A Lisp on LLVM
  27. …means -- http://sol.gfxile.net/imgui/ discussion at http://lambda-the-ultimate.org/node/4561 Add to https://github.com/rust-lang/rust/wiki/Community-libraries#g... ?
    comment by mlinksva · 2014-08-29 · in Conrod – A Rust GUI Library
  28. Ah, I see the ones for contains : https://github.com/rust-lang/rust/blob/f66fd2eed1/src/libcol... Thanks for pointing them out.
    comment by akkartik · 2014-08-23 · in On bananas and string matching algorithms
  29. There's a lot of tests: https://github.com/rust-lang/rust/blob/f66fd2eed10de2acacd8a... Testing is something Rust is very big on, e.g. we run the test suite on many architectures/platforms each pull request and merge only if it passes on…
  30. No unit tests for the string library: https://github.com/rust-lang/rust/blob/6843d8ccd5/src/libcor... (That's the hash for tip at the time of this comment.)
    comment by akkartik · 2014-08-23 · in On bananas and string matching algorithms
  31. …TreeMap is better. It demonstrates that these operations can be done fairly naturally with swaps: https://github.com/rust-lang/rust/blob/master/src/libcollect...
    comment by pcwalton · 2014-08-16 · in Option Monads in Rust
  32. …it won't be too deep. But for a performance oriented language, it's make me cry a little. [1]: a) https://github.com/rust-lang/rust/blob/master/src/libcollect... b) https://github.com/rust-lang/rust/blob/master/src/libcollect...
    comment by mackwic · 2014-08-16 · in Option Monads in Rust
  33. …I just recently saw this method as a proposal for an example of Rust's built-in `rand` library: https://github.com/rust-lang/rust/pull/16362
    comment by killercup · 2014-08-10 · in Show HN: Pi Approximation using Monte Carlo
  34. I'm thinking of https://github.com/rust-lang/rust/issues/15363 as one example.
    comment by steveklabnik · 2014-07-16 · in State of Rust 0.11.0
  35. …(May 9) [1] .. and it seems a websocket library with full duplex support is still in the works. [1] https://github.com/rust-lang/rust/issues/11165
    comment by sriku · 2014-07-16 · in State of Rust 0.11.0
  36. …improved performance for another language? I'm curious about what the difference is. [1]: https://github.com/rust-lang/rust/issues/9024
    comment by DCKing · 2014-07-16 · in State of Rust 0.11.0
  37. …i32) -> i32 { x + 1 } #10350 covers actually printing a .h file from Rust code. https://github.com/rust-lang/rust/issues/10530
    comment by dbaupp · 2014-07-16 · in State of Rust 0.11.0
  38. …you don't... But you do, at least for two of them (D doesn't seem to support ARM yet). Here's Rust: https://github.com/rust-lang/rust/wiki/Doc-building-for-ios And here's Go: https://bitbucket.org/minux/goios/wiki/Home Or you could write…
  39. …For why that's a bad idea, consider this example (from the original bug implementing this behavior, https://github.com/rust-lang/rust/issues/3147 ): let {f, g, h, _} = move foo (The `move` keyword is no longer in Rust, but local variables…
  40. …and Lubuntu (13.10 and 14.04) and get errors during the install. I was following these directions: https://github.com/rust-lang/rust/wiki/Note-getting-started-...
    comment by chillingeffect · 2014-07-02 · in Rust 0.11.0 Released
  41. That Google doc has not been updated in a while. Also https://github.com/rust-lang/rust/issues?direction=desc&mile... and https://github.com/rust-lang/rust/issues?direction=desc&labe... , which are the most interesting open questions…
    comment by steveklabnik · 2014-07-02 · in Rust 0.11.0 Released
  42. …http://doc.rust-lang.org/guide.html , and my first task after I finish breakfast is to clean up https://github.com/rust-lang/rust/pull/15229 , which got some review over the weekend. So, you're right (at least about the docs) but I'm on it.
    comment by steveklabnik · 2014-06-30 · in Why Go Is Not Good
  43. The compiler and Mozilla's experimental rending engine Servo: - https://github.com/rust-lang/rust/ - https://github.com/mozilla/servo/ (The 'contributors' graphs suggest that pcwalton has added/removed more than 1 million lines of code in…
    comment by dbaupp · 2014-06-30 · in Why Go Is Not Good
  44. …for running the tests described above). * Formatting Missing at the moment, but very wanted: https://github.com/rust-lang/rust/issues/3195 . (Well, to be precise, the compiler has the '--pretty normal' option, but it's not so good.…
    comment by dbaupp · 2014-06-30 · in Why Go Is Not Good
  45. …end of the year, in fact. You can view the list of backwards incompatible language changes here: https://github.com/rust-lang/rust/issues?labels=P-backcompat...
    comment by pcwalton · 2014-06-29 · in Why Go Is Not Good
  46. ▲ 2
    "Give some context to the message…"
    story by mattmoss · 2014-06-26 · 0 comments
  47. …my contract with Mozilla to write documentation. Today, I'm starting on re-writing the tutorial: https://github.com/rust-lang/rust/pull/15131 (apparently, bors is a bit backed up) The new tutorial will be based around 'real' Rust…
    comment by steveklabnik · 2014-06-24 · in Cargo, Rust's Package Manager
  48. …than the end of a function, in more of a functional style. Here is a representative-ish example: https://github.com/rust-lang/rust/blob/master/src/librustc/m... Personally I think most other things in Rust (namespaces, constant as_slice()…
  49. …is almost/ready for Android and iOS, granted that the language itself is still in a state of flux: https://github.com/rust-lang/rust/wiki/Doc-building-for-andr... More recently: https://mail.mozilla.org/pipermail/rust-dev/2014-June/010323..…
    comment by michaelsbradley · 2014-06-21 · in Go support for Android
  50. …replies explained the situation, but for the curious here's Rust's basic code for slice iteration: https://github.com/rust-lang/rust/blob/master/src/libcore/sl... (unfortunately buried in some macros). `if self.ptr == self.end` is where…