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
20082026
-
Associated types mainly: https://github.com/rust-lang/rust/issues/17307
comment by bjz_ · 2014-11-15 · in A high-performance, bindless graphics API for Rust -
…you can definitely ask on #rust-gamedev on irc.mozilla.org or even the rust_gamedev subreddit. [1]: https://github.com/rust-lang/rust/wiki/Computer-Graphics-and... [2]: http://www.reddit.com/r/rust_gamedev
comment by dbaupp · 2014-11-15 · in A high-performance, bindless graphics API for Rust -
…current task (thread/process), not the whole program, and has in fact been renamed panic! recently: https://github.com/rust-lang/rust/pull/17894
comment by masklinn · 2014-11-08 · in Rust and Go -
…are thin layers above the low-level C functionality). [0]: https://github.com/carllerche/mio [1]: https://github.com/rust-lang/rust/wiki/Computer-Graphics-and...
comment by dbaupp · 2014-11-07 · in Rust and Go -
I wonder what actor library the author is using with Rust. Given the status of github issues like https://github.com/rust-lang/rust/issues/3573 I thought there weren't any real options.
comment by toomanymike · 2014-11-07 · in Rust and Go -
…the size is part of the type signature and each size would need to be implemented separately. https://github.com/rust-lang/rust/issues/7622 Though the Coord solution you implemented is in my opinion better for a typed language.
comment by kaoD · 2014-11-02 · in Learning Rust -
…where clauses have helped alleviate this though. [0]: https://github.com/bjz?tab=repositories [1]: https://github.com/rust-lang/rust/graphs/contributors [2]: http://www.reddit.com/r/rust/comments/2ejxk6/minutes_from_la... [3]:…
comment by bjz_ · 2014-10-31 · in Stability as a Deliverable -
…benefit to Rustifying them because C/C++ compilers are needed for the other things anyway) [1]: https://github.com/rust-lang/rust/tree/master/src/rt (the 'rt' = runtime name is a holdover from when the runtime was not written in Rust)
comment by dbaupp · 2014-10-29 · in A taste of Rust for C/C++ programmers -
…describing a Rust library (since C headers are the lingua-franca of FFI libraries, in many ways), https://github.com/rust-lang/rust/issues/10530 . And, being a young language, it's not too hard to be doing something no-one else has ever…
comment by dbaupp · 2014-10-26 · in Don't run 'strings' on untrusted files -
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 -
…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 -
…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 -
…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 -
Thanks for noticing that! I filed https://github.com/rust-lang/rust/issues/17999
comment by dbaupp · 2014-10-13 · in Why your first Rust FizzBuzz implementation may not work -
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 -
…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 -
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 -
…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 -
…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 -
…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 -
…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...
comment by kibwen · 2014-10-07 · in Rust means never having to close a socket -
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 -
…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 -
…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 -
…[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 -
…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 -
…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 -
…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 -
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 -
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 -
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 -
Seemingly one of 6 possible inclusions: https://github.com/rust-lang/rust/blob/master/src/libgreen/m...
comment by baxter001 · 2014-09-12 · in Hidden text inside every compiled Rust program -
…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 -
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 -
…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 -
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 -
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…
comment by dbaupp · 2014-08-23 · in On bananas and string matching algorithms -
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 -
…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 -
…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 -
…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 -
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 -
…(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 -
…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 -
…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 -
…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…
comment by rsynnott · 2014-07-14 · in Why Apple’s Swift Language Will Instantly Remake Computer Programming -
…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…
comment by Jweb_Guru · 2014-07-13 · in Rust for C++ programmers – Part 8: destructuring -
…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 -
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 -
…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