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
-
…problems with this statement: - index checks aren't intrinsic for all cases where it is done, e.g. https://github.com/rust-lang/rust/blob/8f62c2920077eb5cb8132... - being intrinsic is absolutely not required for the checks to be removed.…
comment by dbaupp · 2017-01-03 · in Getting Past C -
…bounds checking for vectors? That's another common performance sink in numeric computing. [1] https://github.com/rust-lang/rust/issues/217
comment by keldaris · 2016-12-30 · in Rust is mostly safety -
That's a known bug: https://github.com/rust-lang/rust/issues/32670 This bug was posted on April 1st, being a bit more ha-ha-only-serious than the emoji-based error handling one that the core team put on. AFAIK, it's the only WONTFIX safety…
comment by notriddle · 2016-12-29 · in Rust is more than safety -
…an analogous one for prudent asynchronous object sharing practices and Rust's data race safety. [1] https://github.com/rust-lang/rust/issues/26215 And a related article on safer asynchronous object sharing in C++ (shameless plug):…
comment by duneroadrunner · 2016-12-29 · in Rust is more than safety -
…Of course this is probably correct, but still not 100% guaranteed. Edit: Relevant discussion - https://github.com/rust-lang/rust/issues/9883
comment by michaelmior · 2016-12-28 · in Rust vs C Pitfalls -
…I can think of outside of Niko Matsakis' blog ( http://smallcultfollowing.com/babysteps/ ) would be https://github.com/rust-lang/rust/blob/master/src/librustc/i...
comment by eddyb · 2016-12-25 · in Channels in Golang -
…that came up, people migrated to it, and it works well. 22 days ago, it was to be reviewed: https://github.com/rust-lang/rust/issues/35900#issuecomment-... However, two things happened: one, the Mozilla all-hands in Hawaii, which shook…
comment by steveklabnik · 2016-12-22 · in Announcing Rust 1.14 -
…that the triples match what's used for GCC prefixes and clang's --target, that would be way nicer. https://github.com/rust-lang/rust/issues/33147
comment by glandium · 2016-12-22 · in Announcing Rust 1.14 -
…same size, so it can't elide the bound checks for the rhs. However, there's a trick. Take a look at https://github.com/rust-lang/rust/commit/6a7bc47a8f1bf4441ca... where the Rust developers had the same issue, and managed to avoid the…
comment by cesarb · 2016-12-22 · in Four years with Rust -
We do have https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... It is unclear if there ever will be a Rust 2.0. Even those that want it agree that unless it's incredibly easy to upgrade to from Rust 1.x, it's a non-starter.
comment by steveklabnik · 2016-12-21 · in Four years with Rust -
…to be the case for SipHash, XXHash, and Fnv). And indeed, u128 continues this tradition in the PR: https://github.com/rust-lang/rust/pull/37900/files#diff-2327...
comment by Gankro · 2016-12-04 · in Rust: 128 bit integers preparing to be released -
About this many: https://github.com/rust-lang/rust/blob/235d77457d80b549dad3a... (This file is no longer in master because the compiler bootstraps from the previous stable release; too lazy to accurately isolate the last time it was…
comment by Gankro · 2016-12-03 · in Reflections on Rusting Trust -
…too much difficulty. 1.0's alpha was nearly 2 years ago. The github repo goes back to mid 2010: https://github.com/rust-lang/rust/graphs/contributors
comment by Groxx · 2016-12-01 · in 15 Years of Concurrency -
…just handle this for you (you change a call from iter() to par_iter() and you're done). 1: https://github.com/rust-lang/rust/blob/f8614c397313db00e4b46... So yeah. I'm in agreement with the paper that the language needs to do _some_ kind…
comment by steveklabnik · 2016-12-01 · in 15 Years of Concurrency -
…BTreeMap::range still has an UB bug from trusting the caller! I literally asked you to fix it! https://github.com/rust-lang/rust/issues/33197 Bugs happen man.
comment by Gankro · 2016-11-29 · in SeaHash: A fast, portable hash function in Rust -
…prototyping and tooling (e.g. at facebook). Rust's compiler was originally written in Ocaml: https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216... . Compared to Rust it compiles much faster, offers an interactive shell and is…
comment by patrec · 2016-11-26 · in Typed, modular macros for OCaml -
…(both in value and type). Since this is quite a common scenario, quadratic complexity is bad. [0] https://github.com/rust-lang/rust/issues/36481#issuecomment-...
comment by danieldk · 2016-11-25 · in Rust Standard Hash Table Could Go Quadratic -
…forest for the trees though, that's just an easy trigger case, the point is not cloning maps. [0] https://github.com/rust-lang/rust/issues/36481 [1] and the hashmap is mostly a pointer to a big holding the keys, values and hashes, which…
comment by masklinn · 2016-11-25 · in Rust Standard Hash Table Could Go Quadratic -
Rust discussion of a similar feature: https://github.com/rust-lang/rust/issues/6676
comment by mkesper · 2016-11-21 · in What is “:-!!” in C code? -
https://github.com/rust-lang/rust/issues/27694 GPG signatures do exist for the tarballs, though, see https://static.rust-lang.org/dist/rustc-1.13.0-src.tar.gz.as... for the source, for example, or https://static.rust-lang.org/dist/rustc-1.1…
comment by steveklabnik · 2016-11-11 · in Announcing Rust 1.13 -
…the gaps of lack of inheritance)? I.e. this: * https://github.com/rust-lang/rfcs/issues/349 * https://github.com/rust-lang/rust/issues/31844 Is it something coming soon, or it's pretty far still?
comment by shmerl · 2016-11-10 · in Announcing Rust 1.13 -
…is a severe limitation. Indeed, it is a limitation that the team recognises and is working on: https://github.com/rust-lang/rust/issues/31844 (Parts of which are already available in the nightly releases.)
comment by dbaupp · 2016-11-04 · in 2016 Rust Commercial User Survey Results -
…like ADL. > And there is no specialization, which is a severe limitation. There is now [1]. [1]: https://github.com/rust-lang/rust/pull/30652
comment by pcwalton · 2016-11-04 · in 2016 Rust Commercial User Survey Results -
…blind-person-only teams at blind-person-only companies. 0: My most notable Rust PR is this monster: https://github.com/rust-lang/rust/pull/36151 1: https://github.com/camlorn/libaudioverse
comment by camlorn38 · 2016-10-29 · in Ask HN: Any other blind devs interested in working on dev tools for the blind? -
https://github.com/rust-lang/rust/issues/37300
comment by iopq · 2016-10-20 · in Introducing Rust Language Server -
It might have been due to either https://github.com/rust-lang/rust/pull/31319 or an LLVM upgrade. But stuff like looking at the values of basic integer types, the fields of structs, tuple fields, thin pointers, and even many enums works…
comment by retep998 · 2016-10-19 · in Introducing Rust Language Server -
…Go [1], and Rust [2]. [0] https://github.com/scala/scala/ [1] https://github.com/golang/go/ [2] https://github.com/rust-lang/rust/
comment by 0xmohit · 2016-10-18 · in The state of the Scala website and documentation -
…[2] https://doc.rust-lang.org/std/option/enum.Option.html [3] https://github.com/rust-lang/rust/issues/31436 [4] https://hoverbear.org/2014/08/12/option-monads-in-rust/
comment by Animats · 2016-10-06 · in The cost of forsaking C -
…an increased interest in removing jemalloc by default, which will cut down on that initial size. https://github.com/rust-lang/rust/issues/36963
comment by steveklabnik · 2016-10-05 · in Why is a Rust executable large? -
…[2] https://www.reddit.com/r/rust/comments/3totkg/dybuk_the_elml... [3] https://github.com/rust-lang/rust/issues/35233
comment by computerphage · 2016-09-29 · in Announcing Rust 1.12 -
…is really going to start meeting the road: middle-end optimizations that operate on the MIR (i.e. https://github.com/rust-lang/rust/pull/36388 ); outright removing old trans (which remains in 1.12 via a compiler flag) which allows us to…
comment by kibwen · 2016-09-29 · in Announcing Rust 1.12 -
…certainly not as clear as it could be. you're right. ( For reference, this implementation is here: https://github.com/rust-lang/rust/blob/master/src/libcore/fm... note that this is in a macro to do this for all of the traits at once...)…
comment by steveklabnik · 2016-09-19 · in My experience rewriting Enjarify in Rust -
…And alpine: http://pkgs.alpinelinux.org/packages?name=rust*&branch=&repo... https://github.com/rust-lang/rust/issues/31322#issuecomment-... is the latest news on the subject. It's not impossible, but we're not sure _how_ we want to ma
comment by steveklabnik · 2016-09-19 · in My experience rewriting Enjarify in Rust -
…in Rust pre-1.0, there's a lot of outdated material out there, and so it can confuse people. https://github.com/rust-lang/rust/issues/14954 specifically was a huuuuge headache for a long time. This is slowly changing, of course, the…
comment by steveklabnik · 2016-08-30 · in Ruminations on D: An Interview with Walter Bright -
…think it's an oversight; the implementation calls `checked_add` and `checked_mul` explicitly -- https://github.com/rust-lang/rust/blob/1744c46e47434d8c0b63a...
comment by pbsd · 2016-08-18 · in Announcing Rust 1.11 -
https://github.com/rust-lang/rust/issues/35807
comment by steveklabnik · 2016-08-18 · in Announcing Rust 1.11 -
…world" cdylib is 7.2K while the same dylib is 2.4MB, which is some nice size savings!" [1] 1. https://github.com/rust-lang/rust/pull/33553#issue-154141126
comment by kenOfYugen · 2016-08-18 · in Announcing Rust 1.11 -
…and there weren't any major regressions, at least. Some small improvements are there. For example: https://github.com/rust-lang/rust/pull/34096#issuecomment-22...
comment by steveklabnik · 2016-08-18 · in Announcing Rust 1.11 -
…like ergonomic "impl Trait" [1], incremental compilation, or even the beginnings of Gc [2]. [0]: https://github.com/rust-lang/rust/pull/35764 [1]: https://github.com/rust-lang/rust/issues/34511 [2]: http://manishearth.github.io/blog/2016/08…
comment by nercury · 2016-08-18 · in Announcing Rust 1.11 -
Additionally, 1.13 removes the [old AST backend]( https://github.com/rust-lang/rust/pull/35764 ) so MIR will be on by default.
comment by tiles · 2016-08-18 · in Announcing Rust 1.11 -
The version hosted on docs.rust-lang.org is the current edition of the book, whose source is in-tree. https://github.com/rust-lang/rust/tree/master/src/doc/book In order to not trash the book while we're doing the re-write, we've moved it…
comment by steveklabnik · 2016-08-15 · in What’s New with “The Rust Programming Language”? -
…the book in the Rust repo[0]. Feel free to send some pulls with the content you'd like to see! [0] https://github.com/rust-lang/rust/tree/master/src/doc/book
comment by saysjonathan · 2016-08-15 · in What’s New with “The Rust Programming Language”? -
…to be merged this week" we mean that this initial prototype implementation will land in nightly: https://github.com/rust-lang/rust/pull/35091 . It's not being stabilized this week.
comment by kibwen · 2016-08-11 · in Zero-cost futures in Rust -
Not even in nightly yet - follow https://github.com/rust-lang/rust/pull/35091 for updates (we're trying to land it this week).
comment by eddyb · 2016-08-11 · in Zero-cost futures in Rust -
Well, if you love this kind of bug reports, please take a look at the one I filed a while ago :) https://github.com/rust-lang/rust/issues/11724 Thanks!
comment by ckarmann · 2016-08-11 · in Shape of errors to come -
https://github.com/rust-lang/rust/issues/32650
comment by steveklabnik · 2016-08-10 · in Shape of errors to come -
…because it's everywhere, and it's already a dependency of the build process (LLVM needs it). [0]: https://github.com/rust-lang/rust/tree/b30eff7ba72a78e31acd6... [1]: https://github.com/rust-lang/rust/blob/b30eff7ba72a78e31acd6...
comment by dbaupp · 2016-08-06 · in Mozilla Awards $585k to Nine Open Source Projects -
It is a build system written in Rust: https://github.com/rust-lang/rust/tree/master/src/bootstrap There is only one Python file: https://github.com/rust-lang/rust/blob/master/src/bootstrap/... Its job is to download the previous Rust…
comment by eddyb · 2016-08-06 · in Mozilla Awards $585k to Nine Open Source Projects -
…say otherwise. New standard library APIs are stabilized at a steady clip with every new release: https://github.com/rust-lang/rust/blob/master/RELEASES.md
comment by pcwalton · 2016-07-28 · in The Rust Platform -
Here's the Rust binary search source: https://github.com/rust-lang/rust/blob/27e766d7bc84be992c8dd... I don't know much about formal methods. I was surprised by this: > Indeed, if you like at the prelude, you may notice that currently…
comment by millstone · 2016-07-22 · in A Formal Verification of Rust's Binary Search Implementation