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
-
It was https://github.com/rust-lang/rust/issues/41646 It was about changing the name of a lint from "bad-style" to "non-standard-style". I still don't understand what this change has anything to do with social politics. Nor was this really…
comment by Manishearth · 2017-09-05 · in Rust 2017 Survey Results -
…a breaking change that had an “acceptable count” of GitHub issues cross-referencing it is this one: https://github.com/rust-lang/rust/pull/42496 .
comment by Ruud-v-A · 2017-09-05 · in Rust 2017 Survey Results -
…that resulted it in no longer inferring types in circumstances where rustc 1.17 did infer types. https://github.com/rust-lang/rust/issues/42545
comment by khuey · 2017-09-05 · in Rust 2017 Survey Results -
…): - Patching up soundness holes causing previously-unsound code to error ( https://github.com/rust-lang/rust/pull/43651 is an example) - Changing inference in a way that may require new annotations - Adding types and things to module
comment by Manishearth · 2017-09-05 · in Rust 2017 Survey Results -
…could look like. Currently they are available via a module, and they are implemented like above: https://github.com/rust-lang/rust/blob/master/src/libcore/nu...
comment by whyever · 2017-09-01 · in Announcing Rust 1.20 -
…I'm really missing in Rust right now is specialization in generics, which is being worked on here: https://github.com/rust-lang/rust/issues/31844 .
comment by jmcomets · 2017-08-31 · in Announcing Rust 1.20 -
▲ 111
Rust – Coroutines support mergedstory by adelarsq · 2017-08-28 · 39 comments
-
…really, thank you! I've opened a (a bit vague for now) issue so at least I don't forget about it: https://github.com/rust-lang/rust/issues/44041 As for phase ordering - someone did show me recently VSDG, which claims to solve at least part…
comment by eddyb · 2017-08-22 · in How JavaScript works: inside the V8 engine -
…because of the huge size of the runtimes. Rust has a comparable amount of runtime as C, here it is: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... wasm/asmjs does bring in some stuff, because it's mostly in a "it works"…
comment by steveklabnik · 2017-08-15 · in Rust for the Web -
…how addition is implemented. fn add(mut self, other: &str) -> String { self.push_str(other); self } https://github.com/rust-lang/rust/blob/master/src/liballoc/s... Of course, upfront sizing is still advantageous, but you avoid the…
comment by Veedrac · 2017-08-13 · in Pony Performance Cheatsheet -
…is a choice between tangly handling of nested errors or verbose attempts to early-exit. [1]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys...
comment by Veedrac · 2017-08-12 · in Typed nils in Go 2 -
…the external https://crates.io/crates/alias and even an approved RFC for adopting it into std: https://github.com/rust-lang/rust/issues/43038 .
comment by dbaupp · 2017-08-01 · in Rust: Not So Great For Codec Implementing -
…about it due to this commit enabling it by default (on supported platforms) in the Rust compiler: https://github.com/rust-lang/rust/pull/43170
comment by kibwen · 2017-07-26 · in RELRO: a (not so well-known) memory corruption mitigation technique (2009) -
…difficult, see e.g. this longstanding UB bug related to how LLVM translates certain numeric casts: https://github.com/rust-lang/rust/issues/10184 ).
comment by kibwen · 2017-07-26 · in Defining the Undefinedness of C (2015) [pdf] -
…backends. So they can suffer from just the same UB if the language itself does not prevent it. https://github.com/rust-lang/rust/issues/28728
comment by the8472 · 2017-07-26 · in Defining the Undefinedness of C (2015) [pdf] -
▲ 3
Stack overflow checking for x86/x86_64 for Rust just landedstory by jerheinze · 2017-07-24 · 0 comments
-
…for Rust [1]. It is not too complex once you understood but annoying enough to derive again. [1] https://github.com/rust-lang/rust/blob/f8d485f/src/libcore/n...
comment by lifthrasiir · 2017-07-22 · in Converting floats to strings -
…accepted to change the behavior but it has not been fully implemented. Here's the tracking issue: https://github.com/rust-lang/rust/issues/27060
comment by bbatha · 2017-07-14 · in Redis on the Raspberry Pi: Adventures in unaligned lands -
…explanatory comments where they can help. The rustc borrow checker is another example that I like: https://github.com/rust-lang/rust/tree/master/src/librustc_b... . What is now README.md used to be somewhat shorter (though still long and…
comment by chrismorgan · 2017-07-11 · in Writing Good Code Is a Lot Like Writing Prose -
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 -
▲ 1
Rust: floating point to integer casts can cause undefined behaviourstory by luu · 2017-05-08 · 0 comments
-
▲ 1
Rust performance audit, Spring 2017story by robin_reala · 2017-04-26 · 0 comments
-
▲ 1
LLVM 4.0 Upgrade in Ruststory by afshinmeh · 2017-04-25 · 0 comments
-
…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