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
20082026
-
…[3]: https://os.phil-opp.com/returning-from-exceptions.html [4]: https://github.com/rust-lang/rust/pull/39832
comment by phil-opp · 2017-03-26 · in Writing an OS in Rust: Handling Exceptions -
…for Apple devices (only appleTV and appleWatch require bitcode, it's optional for everything else): https://github.com/rust-lang/rust/issues/35968
comment by bluejekyll · 2017-03-26 · in Why I’m not enabling Bitcode (2015) -
It's macro_export, not export_macro https://github.com/rust-lang/rust/issues/40487 That said, regressions happen, which is why beta exists. If you find them, please file them!
comment by steveklabnik · 2017-03-16 · in Announcing Rust 1.16 -
…or "calling the main thread" problems; do you know if there are issues open? Bitcode is tough, see https://github.com/rust-lang/rust/issues/35968 In general, we'd love to get this into better shape, but need some help from people with the…
comment by steveklabnik · 2017-03-16 · in Announcing Rust 1.16 -
…you. There's also a bunch of API stablilizations around Strings, Vectors etc, complete changelog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... Congratulations to everyone involved on the release!
comment by AsyncAwait · 2017-03-16 · in Announcing Rust 1.16 -
▲ 1
Rust adds support for the x86-interrupt calling conventionstory by JoshTriplett · 2017-03-08 · 0 comments
-
…it's 75% done by chapter count, it's all just kind of working out. Does that all make sense? 1: https://github.com/rust-lang/rust/pull/39633#issuecomment-27... 2: https://github.com/rust-lang/rust/issues/39588
comment by steveklabnik · 2017-02-17 · in Next Iteration of “The Rust Programming Language” Book -
▲ 1
Field Init Shorthand Stabilization Just Landed in Ruststory by hulkaad · 2017-02-16 · 1 comment
-
It is specific to the compiler. https://github.com/rust-lang/rust/tree/master/src/bootstrap It basically consists of: 1. A python script to make sure you have the correct environment, and that kicks off cargo to compile the program used in…
comment by steveklabnik · 2017-02-15 · in Don't remove the $(nop) command below -
…as last week rustc completely moved away from make, deleting all its makefiles in the process: https://github.com/rust-lang/rust/pull/39431 I'm curious how OP even ended up trawling old versions of rustc's makefiles from 2014. I bet…
comment by kibwen · 2017-02-15 · in Don't remove the $(nop) command below -
It was removed here, with a partial explanation: https://github.com/rust-lang/rust/commit/fca66702a44038b14d8... "Adding blank lines means two steps from different defines will not end up on the same line."
comment by Retr0spectrum · 2017-02-15 · in Don't remove the $(nop) command below -
▲ 249
Don't remove the $(nop) command belowstory by tambourine_man · 2017-02-15 · 92 comments
-
…due to a deficiency in LLVM for non-Windows platforms. Here's the bug on the Rust repo tracking it: https://github.com/rust-lang/rust/issues/16012 Its resolution is long-awaited, to say the least, but it requires someone proficient with…
comment by kibwen · 2017-02-10 · in Rustler – Safe Elixir and Erlang NIFs in Rust -
…(It doesn't seem to currently have anything about trait objects, but I'm sure it will soon.) [1]: https://github.com/rust-lang/rust/commit/dbccd70a5736fd2e898... [2]: http://huonw.github.io/blog/2015/01/peeking-inside-trait-obj... [3]:…
comment by dbaupp · 2017-02-07 · in Rust's 2017 Roadmap -
A feature designed as a fix for the second problem is already in nightly: https://github.com/rust-lang/rust/issues/34511 Who knows when it'll be stabilized, though.
comment by comex · 2017-02-07 · in Rust's 2017 Roadmap -
…(such as Iterator) without resorting either to dynamic dispatch or leaking the concrete type. [0] https://github.com/rust-lang/rust/issues/34511
comment by marcosscriven · 2017-02-02 · in Announcing Rust 1.15 -
…fork() (which is not something you can do with the standard rust library AFAIK, so requires unsafe) https://github.com/rust-lang/rust/blob/0c85f2a1bdb01666e74cd... Command::spawn() calls fork(). And you can schedule things to run on the…
comment by cesarb · 2017-01-31 · in Don't setenv in multi-threaded code on glibc -
…the first problem of having a deadlock. [0]: https://doc.rust-lang.org/std/env/fn.set_var.html [1]: https://github.com/rust-lang/rust/blob/51d29343c04a27570a8ff...
comment by roblabla · 2017-01-31 · in Don't setenv in multi-threaded code on glibc -
▲ 4
rust-lang #38899: borrowed referent of a &T sometimes incorrectly allowedstory by jasonhansel · 2017-01-23 · 0 comments
-
…still the odd rustc bug involving LLVM doing something it shouldn’t, but those are just bugs. See https://github.com/rust-lang/rust/issues?q=is%3Aopen%20label... for a couple.) > but you need unsafe code for anything complicated. … what?…
comment by chrismorgan · 2017-01-23 · in Rust sucks because -
I assumed that the claim about channels going away was a reference to this: https://github.com/rust-lang/rust/issues/27800
comment by ameliaquining · 2017-01-20 · in Rust vs. Go -
…10 contributors for the most recent release[0], where as Go has 9 Googlers in its top 10[1].) [0]: https://github.com/rust-lang/rust/graphs/contributors?from=2... [1]: https://rakyll.org/go18cls/
comment by dbaupp · 2017-01-19 · in Rust vs. Go -
In this case, it's https://github.com/rust-lang/rust/blob/b9637f79e261d0b90d23b... So, specifically. Rust has "traits", which, for these purposes, work like Ruby modules. But. Rust has "coherence rules." That is, You can only implement a…
comment by steveklabnik · 2017-01-11 · in Announcing Tokio 0.1 -
I would recommend this link actually: https://github.com/rust-lang/rust/milestones?state=open
comment by computerphage · 2017-01-08 · in The Piston image library is now pure Rust -
…lot of work already done, and more to do on this topic. The best source is the main tracking issue: https://github.com/rust-lang/rust/issues/2369
comment by tupshin · 2017-01-08 · in The Piston image library is now pure Rust -
…because the Read implementation for Stdin does the same locking internally: https://github.com/rust-lang/rust/blob/8f62c2920077eb5cb8132... .)
comment by dbaupp · 2017-01-03 · in Getting Past C -
…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 -
▲ 2
I128 and u128 support merged in Ruststory by achanda358 · 2016-12-31 · 0 comments
-
…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 -
▲ 224
Rust gets a faster sort implementationstory by kzrdude · 2016-12-14 · 20 comments
-
…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 -
▲ 278
Rust: 128 bit integers preparing to be releasedstory by geoffreyiy1 · 2016-12-04 · 162 comments
-
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