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
-
I couldn't quite remember either, and brson told me that https://github.com/rust-lang/rust/issues/11710 was probably it. Can't seem to find where it was actually finally disabled though.
comment by steveklabnik · 2017-07-10 · in How Rust is tested -
…separate compiler pass whose internals are described imperatively and don't look type-based to me: https://github.com/rust-lang/rust/blob/master/src/librustc_b... If anything, I agree with zzzcpan and disagree with swsieber. Types are nice…
comment by cousin_it · 2017-07-08 · in Where Do Type Systems Come From? -
At least according to https://github.com/rust-lang/rust/issues/28728#issuecomment-... this is a more general issue with clang/llvm -- even e.g. `while(1);` in C is being optimized out.
comment by mnarayan01 · 2017-07-05 · in Undefined Behavior in 2017 -
…then optimizes out code and the unreachable (thus not-compiled) section is reached things explode. https://github.com/rust-lang/rust/issues/28728
comment by the8472 · 2017-07-05 · in Undefined Behavior in 2017 -
…"safe Rust" UB issue (3+ years ago) last had comments 21 days ago and I believe it's still open: https://github.com/rust-lang/rust/issues/10184
comment by jasode · 2017-07-05 · in Undefined Behavior in 2017 -
…undefined behavior in LLVM when compiling safe Rust, but that is considered a bug in the compiler. https://github.com/rust-lang/rust/issues/10184
comment by adrianN · 2017-07-05 · in Undefined Behavior in 2017 -
…take them with a grain of salt. I'd be happy to elaborate further and answer any questions. :) [1] https://github.com/rust-lang/rust/pull/38192 [2] https://github.com/rust-lang/rust/issues/40585 [3] https://github.com/rust-lang/rust/pull/40…
comment by _hrfd · 2017-06-29 · in Pattern-defeating quicksort -
https://github.com/rust-lang/rust/pull/40601 "stable" is a simplified Timsort: https://github.com/rust-lang/rust/pull/38192 "unstable" is a pdqsort
comment by mastax · 2017-06-29 · in Pattern-defeating quicksort -
…out the new stuff, or maybe they didn't know that it was on stable already. 1: EDIT: looks like it https://github.com/rust-lang/rust/pull/42571
comment by steveklabnik · 2017-06-27 · in Get Started with Rust, WebAssembly, and Webpack -
…the blame on "memory-unsafe languages", because Rust is currently vulnerable to the same attack: https://github.com/rust-lang/rust/issues/16012 It looks like the fix is going to involve adding some code to LLVM to probe each stack page…
comment by geofft · 2017-06-20 · in The Stack Clash -
…content.com/dotnet/coreclr/master/src/... https://github.com/catseye/Befunge-93/blob/master/src/bef.c https://github.com/rust-lang/rust/blob/master/src/liballoc/v... https://github.com/oxyc/luaparse/blob/master/luaparse.js Yep. Pretty…
comment by __s · 2017-06-18 · in Attempt to Reverse a $55 Million Ether Heist -
And AVR too: https://github.com/rust-lang/rust/issues/42450
comment by dbaupp · 2017-06-15 · in System programming in Rust: beyond safety -
https://github.com/rust-lang/rust/pull/41469 Whole bunch of perf fixes at once.
comment by Manishearth · 2017-06-08 · in Announcing Rust 1.18 -
What's that jump at Apr 22 [1]? [1]: https://github.com/rust-lang/rust/compare/cb4065b9ce4e2bb2c3...
comment by infogulch · 2017-06-08 · in Announcing Rust 1.18 -
…Forcing people to rewrite any code(esp. complex macros) will not gain Rust any goodwill longterm. https://github.com/rust-lang/rust/issues/39412 > Eventually, I hope we can remove macro_rules!. That will take a long time, and would require…
comment by FrozenVoid · 2017-06-05 · in A Practical Intro to Macros in Rust -
…rust-lang.org/t/rust-release-milestone-pre... For example, one can see that "Macro use and rexport" ( https://github.com/rust-lang/rust/issues/35896 ) that will make macros a part of normal Rust naming and modules is planned for Rust 1.20…
comment by mzl · 2017-06-05 · in A Practical Intro to Macros in Rust -
…library's own `Vec` type is an example of a struct that is generic without traits. See the source: https://github.com/rust-lang/rust/blob/4ed2edaafe82fb8d44e81... . In fact, almost no struct or enum uses traits in combination with…
comment by kibwen · 2017-06-01 · in Rust: A Scala Engineer's Perspective -
…and some parts of the standard library already have been. And some of that work has found bugs too: https://github.com/rust-lang/rust/pull/41624
comment by steveklabnik · 2017-05-14 · in Cyberattacks in 12 Nations Said to Use Leaked N.S.A. Hacking Tool -
…for Watch and appleTV applications. This internal Rust discussion focuses on it for more details: https://github.com/rust-lang/rust/issues/35968 This gist is that Apple is requiring bitcode, but isn't giving easy access to the LLVM version…
comment by bluejekyll · 2017-05-09 · in Making a Game in Rust -
…ylanmckay.io/blog/rust/avr/llvm/2017/02/09/safer-mic... for an overview; 4.0 has been merged, but see https://github.com/rust-lang/rust/issues/37609#issuecomment-...
comment by steveklabnik · 2017-05-09 · in Fearless concurrency in your microcontroller -
…it doesn't, because the `HashMap` implementation just stores everything behind an untyped pointer. https://github.com/rust-lang/rust/blob/master/src/libstd/col... It would be cool to see if the "we'll manage our own pointers, thanks"…
comment by frankmcsherry · 2017-04-16 · in Optimizing Rust Struct Size -
…-- print layout information for each type encountered This is what the output looks like: https://github.com/rust-lang/rust/blob/13fd5e93deb41045c4de8...
comment by eddyb · 2017-04-16 · in Optimizing Rust Struct Size -
…about Rust not having a select() primitive or equivalent functionality in the core language - https://github.com/rust-lang/rust/issues/27800 remains open since Aug 2015 as of my writing this comment, but I don't know if there are any…
comment by i336_ · 2017-04-14 · in Unleashing use-before-initialization vulnerabilities in the Linux kernel [pdf] -
…here... every language other than assembly languages has some amount of runtime. This is Rust's: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... (as you allude to, many people refer to this amount of runtime as "no runtime"…
comment by steveklabnik · 2017-04-07 · in The reference D compiler is now open source -
…incremental compilation[1] is set to be included in the next release[2] at the end of April! [1] https://github.com/rust-lang/rust/issues/2369 [2] https://internals.rust-lang.org/t/rust-release-milestone-pre...
comment by portmanteaufu · 2017-04-02 · in Why I moved from Rust to simpler, cleaner C -
…[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 -
…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 -
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 -
…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 -
…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