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
-
…not correctly handling certain cases. Is it really that trivial? When looking through https://github.com/rust-lang/rust/blob/master/src/librustc_b... , it is not at all clear that these rules cover everything to me. There are some complex…
comment by bennofs · 2018-02-04 · in RustBelt: securing the foundations of the Rust programming language -
…borrowck rules are sufficient to catch all possible mistakes? For example, does it catch stuff like https://github.com/rust-lang/rust/issues/31287 or https://github.com/rust-lang/rust/issues/38899 ?
comment by bennofs · 2018-02-04 · in RustBelt: securing the foundations of the Rust programming language -
…library, demonstrating that our model of Rust is realistic enough to be useful. The bug was https://github.com/rust-lang/rust/issues/41622 .
comment by chrismorgan · 2018-02-04 · in RustBelt: securing the foundations of the Rust programming language -
…"myriad of features" with each release, and most of those it adds are library stuff, see for 1.23: https://github.com/rust-lang/rust/blob/master/RELEASES.md#ve... And with respect to non-library features currently in-flight, by and large…
comment by masklinn · 2018-01-31 · in C++ and the Culture of Complexity (2013) -
…after all, the very logic that gave us Rust.) [1]: https://github.com/rust-lang/rfcs/pull/1909 [2]: https://github.com/rust-lang/rust/issues/18806
comment by deathanatos · 2018-01-25 · in Unsafe Zig Is Safer Than Unsafe Rust -
…on the topic, but it seems ([0]) that adding `#[no_mangle]` before `panic_fmt` should fix it. [0] https://github.com/rust-lang/rust/issues/38281
comment by red75prime · 2018-01-14 · in Rust in 2018: easier to use -
…and stack cookies), which means that theoretically you could enable this for C and C++ as well. See https://github.com/rust-lang/rust/issues/16012
comment by kibwen · 2018-01-11 · in Spectre and the end of langsec -
…implicitly link the stdlib by default, and the stdlib publicly exports the items in the prelude ( https://github.com/rust-lang/rust/blob/master/src/libstd/pre... ). So in the future when macros are namespaced just like every other item…
comment by kibwen · 2018-01-08 · in Go’s hidden pragmas -
…behavior that is triggered by code outside of unsafe blocks, depending on how a result is used: https://github.com/rust-lang/rust/issues/33813 This basically exposes LLVM's poison semantics (a kind of deferred UB) to Rust code:…
comment by cwzwarich · 2017-12-24 · in Undefined vs. Unsafe in Rust -
…to about 5 total languages. [1] https://marketplace.visualstudio.com/items?itemName=webfreak... [2] https://github.com/rust-lang/rust/issues/45218
comment by mikebenfield · 2017-12-21 · in Rust in 2017: what we achieved -
I've filed a bug to elaborate, thanks! https://github.com/rust-lang/rust/issues/46879
comment by steveklabnik · 2017-12-20 · in Rust vector guarantees -
That memory stuff isn't even part of Rust's runtime; it's compile time stuff. Here's Rust's runtime: https://github.com/rust-lang/rust/blob/master/src/libstd/rt....
comment by steveklabnik · 2017-12-12 · in Re: Moving from PHP to Go and Back Again -
…implements this too. Being in std is a high bar. Beyond that, there are a host of other reasons: https://github.com/rust-lang/rust/commit/454882dcb7fdb03867d...
comment by steveklabnik · 2017-12-06 · in Why I love Go -
Agree. Moreover, Rust compiler contains some dark areas which nobody wants to deal with. See https://github.com/rust-lang/rust/issues/38528 for example. Basically it means that Rust compiler can suddenly take exponential time and space for…
comment by MageSlayer · 2017-12-04 · in Integrating “safe” languages into OpenBSD? -
…traits, indicate certain errors (often in enums), etc. A couple quick examples from the stdlib: https://github.com/rust-lang/rust/blob/1.22.1/src/libstd/syn... https://github.com/rust-lang/rust/blob/1.22.1/src/libstd/col... I recommend…
comment by TheDong · 2017-11-29 · in What's a reference in Rust? -
It initializes stack overflow handling. You can read about what that means here, for Unix: https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...
comment by rhencke · 2017-11-28 · in How Stylo Brought Rust and Servo to Firefox -
…a runtime penalty as Golang does? Rust has the same amount of runtime as C does: very very little. https://github.com/rust-lang/rust/blob/master/src/libstd/rt....
comment by steveklabnik · 2017-11-28 · in How Stylo Brought Rust and Servo to Firefox -
…verbosity caused by the absence of normal exceptions" That doesn't make sense. mic drop [1] https://github.com/rust-lang/rust/pull/24619
comment by topspin · 2017-11-26 · in Criticizing the Rust Language, and Why C/C++ Will Never Die -
…some type of language spec, but it doesn't look like any work is being done on that front [0]. [0] https://github.com/rust-lang/rust/issues/30500 - I apologize for this link being a bit of a rabbit-hole, but I think the whole thing is a…
comment by DSMan195276 · 2017-11-25 · in Announcing Rust 1.22 -
Tracking issue for using it in main: https://github.com/rust-lang/rust/issues/43301
comment by kibwen · 2017-11-23 · in Announcing Rust 1.22 -
…running this in a browser, you might not be able to use the std lib to spawn threads just yet. [1]: https://github.com/rust-lang/rust/pull/46115
comment by killercup · 2017-11-23 · in Announcing Rust 1.22 -
…dereference , that is `unsafe`, as that may blow-up if the value is an invalid memory location. [0] https://github.com/rust-lang/rust/issues/33813 [1] https://play.rust-lang.org/?gist=c9c11545fac3a45550e6810cb57... An example that uses…
comment by DSMan195276 · 2017-11-23 · in Announcing Rust 1.22 -
…And yep, it's in the beta branch. This means it's in 1.23, which'll be released in 6 weeks. [1]: https://github.com/rust-lang/rust/commits/beta
comment by killercup · 2017-11-23 · in Announcing Rust 1.22 -
…which support wasm compilation without emcc. Does anyone know when it is expected in stable? https://github.com/rust-lang/rust/pull/45905
comment by akmittal · 2017-11-23 · in Announcing Rust 1.22 -
…language. Read about it in the originating PR (which was not linked directly from the blog post): https://github.com/rust-lang/rust/pull/41336
comment by kibwen · 2017-11-23 · in Announcing Rust 1.22 -
▲ 2
Refactor type memory layouts and ABIs, to be more general and easier to optimizestory by dmmalam · 2017-11-22 · 0 comments
-
Rust's runtime is basically the same weight as C, that is, crt: https://github.com/rust-lang/rust/blob/master/src/libstd/rt.... What you're talking about is more of dropping the standard library.
comment by steveklabnik · 2017-11-17 · in Speed up your Python using Rust -
…(slightly older but still should work afaik) And the new backend https://github.com/rust-lang/rust/pull/45905
comment by steveklabnik · 2017-11-14 · in WebAssembly support now shipping in all major browsers -
▲ 24
A reimagining of what it looks like to generate WebAssembly code from Ruststory by steveklabnik · 2017-11-10 · 0 comments
-
…in rustdoc for almost a year now: https://internals.rust-lang.org/t/what-to-do-about-pulldown-... , https://github.com/rust-lang/rust/issues/44229
comment by kibwen · 2017-11-07 · in Markdown Here – Write email in Markdown -
…and implementation is actively worked on[2]. [1] https://github.com/rust-lang/rfcs/pull/2133 [2] https://github.com/rust-lang/rust/pull/43690 [3] https://github.com/rust-lang/rfcs/pull/2000 [4] https://github.com/rust-lang/rust/issues/44580
comment by weinzierl · 2017-10-29 · in Why Rust fails hard at scientific computing -
And implemented: https://github.com/rust-lang/rust/pull/43690
comment by mastax · 2017-10-29 · in Why Rust fails hard at scientific computing -
…do not allow you to elide them, but because we use LLVM, we incidentally inherited this behavior: https://github.com/rust-lang/rust/issues/28728 LLVM has since added a new intrinsic: https://reviews.llvm.org/D38336 This will allow us to…
comment by steveklabnik · 2017-10-24 · in C++17 Is Here: Interview with Herb Sutter -
…evil_lincoln is doing, you have to understand very old Rust. Here's the commit that introduced it: https://github.com/rust-lang/rust/commit/664b0ad3fcead4fe4d2... fn evil_lincoln() { let evil <- log "lincoln"; } log was a keyword to print…
comment by steveklabnik · 2017-10-17 · in Zig Programming Language 0.1.1: First beta release -
…the stdlib. We have work on: 1. A trait for allocation, so that allocators can have the same APIs. https://github.com/rust-lang/rust/issues/32838 2. Swapping out that allocator entirely, wholesale. Tor and Firefox both want this.…
comment by steveklabnik · 2017-10-17 · in Zig Programming Language 0.1.1: First beta release -
…the same reason as C#: contextual keywords. union union<'union> { union: &'union union<'union>, } https://github.com/rust-lang/rust/blob/59675d29eb47eb743026d...
comment by steveklabnik · 2017-10-17 · in Zig Programming Language 0.1.1: First beta release -
Oh, I missed that it's an Option. That means that it won't work today, but https://github.com/rust-lang/rust/pull/42526 landed, and is in beta. This means on the next release of Rust, code like this will work: fn try_result_some() ->…
comment by steveklabnik · 2017-10-16 · in Enabling Rust on Embedded Platforms – Linux, RTOS, Bare Metal -
…at RustFest, Oli managed to get Miri integrated into the compiler and bootstrap for the first time. https://github.com/rust-lang/rust/pull/45002 https://github.com/rust-lang/rfcs/blob/1f5d3a9512ba08390a222... is the relevant historic RFC;…
comment by steveklabnik · 2017-10-16 · in Enabling Rust on Embedded Platforms – Linux, RTOS, Bare Metal -
https://github.com/rust-lang/rust/blob/108706f13a7e5e530ba4b... https://github.com/rust-lang/rust/blob/cd93969ec4fb2d0bc2b53... https://fuchsia.googlesource.com/rust_sample_module/ https://fuchsia.googlesource.com/rust_ledger_example/…
comment by steveklabnik · 2017-10-12 · in The Case for Writing a Kernel in Rust [pdf] -
▲ 7
Rust – Non-Lexical Lifetimes RFC Was Mergedstory by cyber1 · 2017-09-29 · 0 comments
-
Interesting that the winning submission exploits a known bug: https://github.com/rust-lang/rust/issues/38899 . Underhanded C submissions don't need to exploit bugs; the C language already has plenty of loopholes!
comment by richdougherty · 2017-09-27 · in 2016 Underhanded Rust contest: the results -
This one for example: https://github.com/rust-lang/rust/issues/17164 There was another one, but I can't find the issue for it. I asked in IRC about it and it was fixed by adding &* before an expression. I didn't understand why ...
comment by jhasse · 2017-09-27 · in Why did we choose Rust to develop TiKV? -
…that my knowledge is out of date: did Rust use something closer to H-M in the past? (Going off of https://github.com/rust-lang/rust/pull/15955 here.)
comment by mrkgnao · 2017-09-21 · in Bootstrapping Urbit from Ethereum -
…curve. They seem important. By the way, you linked to the RFC repo instead of the language repo: https://github.com/rust-lang/rust/commits/master . The language does have a lot of features that make it into the nightly branch, but those…
comment by bluejekyll · 2017-09-18 · in Fuchsia: Google's modular, capability-based, non-Unix operating system -
…blog post: http://dylanmckay.io/blog/rust/avr/llvm/2017/02/09/safer-mic... Tracking bug on GitHub: https://github.com/rust-lang/rust/issues/42450
comment by andrewflnr · 2017-09-16 · in Go vs. Rust? Choose Go -
…this point, and many projects can be compiled with no issues. The issue you linked also links to ( https://github.com/rust-lang/rust/issues/44052 ), which shows that once these bugs are fixed, we can start working on merging avr-rust…
comment by dyl · 2017-09-08 · in LLVM 5.0.0 Release -
…the fact that buildbot (which they think is maintained by mozilla) uses "master/slave" terminology https://github.com/rust-lang/rust-buildbot/issues/2 . Mozilla gives buildbot $15k for changing it https://blog.mozilla.org/blog/2015/12/10/mo…
comment by david-cako · 2017-09-05 · in Rust 2017 Survey Results