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
-
…it. EDIT: Awh, that's sad... s/he deleted the comment.... The issue the individual linked was https://github.com/rust-lang/rust/issues/14875 , an open issue the contributors acknowledged as existing since June 13, 2014. Come on everyone,…
comment by rjshayes · 2015-07-22 · in Five lists of six things about Rust -
Tail call optimization https://mail.mozilla.org/pipermail/rust-dev/2013-April/00355... https://github.com/rust-lang/rust/issues/217 > I'm sorry to be saying all this, and it is with a heavy heart, but we tried and did not find a way to…
comment by riquito · 2015-07-03 · in Things Rust shipped without -
…place to get started, I'd imagine. Hence my suggestion of examples. We also have the A-docs tag: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... Some of these are actually pretty easy, I tend to let the pile up and then…
comment by steveklabnik · 2015-06-26 · in Rust 1.1 Stable, the Community Subteam, and RustCamp -
…logical errors in the compiler code. For example, here's about the worst rustc crash I've found: https://github.com/rust-lang/rust/issues/21946 . It doesn't even give you an ICE, it terminates with a stack overflow. So no, Rust cannot…
comment by n_ham · 2015-06-25 · in Rust 1.1 Stable, the Community Subteam, and RustCamp -
It's not perfect, but https://github.com/rust-lang/rust/issues?page=1&q=is%3Aissue... seems to indicate that we closed 81 issues tagged ICE between 1.0 and now. Not all of those made it into 1.1, bunches are in 1.2, and some of them are…
comment by steveklabnik · 2015-06-25 · in Rust 1.1 Stable, the Community Subteam, and RustCamp -
…an error, not crash). There are currently 207 open issues regarding ICE (Internal Compiler Error): https://github.com/rust-lang/rust/labels/I-ICE
comment by gamegoblin · 2015-06-25 · in Rust 1.1 Stable, the Community Subteam, and RustCamp -
https://github.com/rust-lang/rust/pull/25350 was the PR with the initial support. > The tl;dr; of this change is that there is a new target of the compiler, > x86_64-pc-windows-msvc, which will not interact with the MinGW toolchain at >…
comment by steveklabnik · 2015-06-25 · in Rust 1.1 Stable, the Community Subteam, and RustCamp -
…repositories. Today I was checking out how Rust's HashMap works and I found it quite readable: https://github.com/rust-lang/rust/blob/master/src/libstd/col... You can also look at `mio`, the asynchronous IO library that's popular in Rust:…
comment by seppo0010 · 2015-06-19 · in Redis re-implemented in Rust -
The main places to look are https://internals.rust-lang.org/ , https://github.com/rust-lang/rfcs , https://github.com/rust-lang/rust (for actual implementation), and the Rust IRC channels such as #rust-internals on irc.mozilla.org. IRC is…
comment by lambda · 2015-06-19 · in Redis re-implemented in Rust -
…to return. EDIT: Oh! I forgot that https://github.com/rust-lang/rfcs/pull/1047 got merged recently. https://github.com/rust-lang/rust/issues/25818 implemented it. http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.ht... shows it…
comment by steveklabnik · 2015-06-18 · in Redis re-implemented in Rust -
…on and off. (The immediate impetus for this feature work was to use HeapAlloc() on Windows.) [1]: https://github.com/rust-lang/rust/blob/master/src/liballoc/h...
comment by pcwalton · 2015-06-18 · in Go has a debugger and it's awesome -
…because of all the APIs that people are clamoring for but that didn't make it to stable for 1.0 ( https://github.com/rust-lang/rust/issues/24028 ). We're also working closely with several dozen companies using Rust to determine what…
comment by kibwen · 2015-06-14 · in Why Go is doomed to succeed -
…work around optimizing linking. There's also work towards parallel codegen coming along nicely ( https://github.com/rust-lang/rust/pull/26018 ) which reports a 30% reduction in compilation time. In the longer run there are plans for…
comment by kibwen · 2015-06-06 · in Crystal Language -
…FreeFull jamii: <N: Iterator<Item = u8>> Equality constraints seem to still be unimplemented ( https://github.com/rust-lang/rust/pull/22074 ) but I can write this instead where N : Iterator<Item=u8> So that whole section of the post is…
comment by jamii · 2015-06-05 · in Three months of Rust -
Note that those guidelines are outdated, superseded by https://github.com/rust-lang/rust-guidelines Note that _those_ guidelines are outdated, superseded by https://github.com/rust-lang/rust/tree/master/src/doc/style and…
comment by steveklabnik · 2015-05-19 · in A simple UI framework for Rust -
…and it initially pissed me off when I discovered it, thanks to Brian Anderson for sharing. https://github.com/rust-lang/rust/issues/13871
comment by jwiley · 2015-05-15 · in Announcing Rust 1.0 -
Very, very, very many. https://github.com/rust-lang/rust/blob/master/src/snapshots.... I've still thought about doing it.
comment by steveklabnik · 2015-05-15 · in Announcing Rust 1.0 -
There is actually preliminary support: https://github.com/rust-lang/rust/pull/24777 Making this work well is a very high priority.
comment by steveklabnik · 2015-05-15 · in Announcing Rust 1.0 -
Docs are maintained here: https://github.com/rust-lang/rust/tree/master/src/doc The book is in the "trpl" directory: https://github.com/rust-lang/rust/tree/master/src/doc/trpl The standard library docs are maintained in doc comments in the…
comment by lambda · 2015-05-15 · in Announcing Rust 1.0 -
As per https://internals.rust-lang.org/t/release-channels-git-branc... , there's a branch: https://github.com/rust-lang/rust/tree/beta I don't think we currently have a changelog or anything: we were mostly focusing on this new, stable…
comment by steveklabnik · 2015-05-15 · in Announcing Rust 1.0 -
Bindgen has a compiler plugin too: https://github.com/crabtw/rust-bindgen#macro-usage Also, FYI, https://github.com/rust-lang/rust/issues/10530 covers taking a Rust lib and generating a C header file.
comment by dbaupp · 2015-05-15 · in A Taste of Rust -
This thread may also be interested in this PR, which adds MSVC support to the compiler itself: https://github.com/rust-lang/rust/pull/25350 Windows + Rust has come a long way. It's still not perfect, but it's getting there!
comment by steveklabnik · 2015-05-14 · in Visual Rust 0.1 is out -
Rust also now uses this algorithm, thanks to Kang Seonghoon: https://github.com/rust-lang/rust/tree/master/src/libcore/nu... Rust implementation is heavily commented with beautiful ASCII diagrams.
comment by sanxiyn · 2015-05-14 · in SML and OCaml: Why was OCaml faster? -
I just sent in this PR, is this helpful? https://github.com/rust-lang/rust/pull/25348 Specifically I ended up rewriting most of the enum page: https://github.com/geofft/rust/blob/trpl-fix-enums/src/doc/t... I think there's more that can be…
comment by geofft · 2015-05-12 · in Abstraction without overhead: traits in Rust -
…a reference grammar for testing [1] and the actual implementation is in src/libsyntax, afaik. [1] - https://github.com/rust-lang/rust/pull/21452
comment by carols10cents · 2015-05-12 · in Rust Discovery, Or: How I Figure Things Out -
…The basic libraries use all these features, so you can't restrict their use on a project. [1] https://github.com/rust-lang/rust/issues/24456 [2] https://github.com/rust-lang/rfcs/pull/1066 [3] http://smallcultfollowing.com/babysteps/blog/20…
comment by Animats · 2015-05-02 · in Death to C -
…"no runtime" to mean the class of languages which have very small runtimes. Rust's runtime is here: https://github.com/rust-lang/rust/tree/master/src/rt and https://github.com/rust-lang/rust/tree/master/src/libstd/rt As you can see, it's…
comment by steveklabnik · 2015-05-02 · in Evaluation of C, Go, and Rust in the HPC environment [pdf] -
Three things so far. Two in the parser, one in generated code: - https://github.com/rust-lang/rust/issues/24276 - https://github.com/rust-lang/rust/issues/24275 - https://github.com/rust-lang/rust/issues/21889
comment by steveklabnik · 2015-05-02 · in Death to C -
…link glibc. I don't have the setup to try out the musl stuff, but there's instructions here: https://github.com/rust-lang/rust/pull/24777
comment by steveklabnik · 2015-04-30 · in Nim Programming Language 0.11.0 released -
…memory safety, which the old thread::scoped API was doing. The actual unsafe code is actually here: https://github.com/rust-lang/rust/blob/master/src/libstd/thr... (I myself have been guilty of this same error, of assuming that `unsafe`…
comment by kibwen · 2015-04-27 · in Pre-Pooping Your Pants with Rust -
https://github.com/rust-lang/rust/blob/master/src/liballoc/r...
comment by steveklabnik · 2015-04-27 · in Pre-Pooping Your Pants with Rust -
The 'mem::forget can be written in safe code' meme comes from https://github.com/rust-lang/rust/issues/24456 Which, as you can see, uses Rc, which uses unsafe code in a way that leads to the soundness bug. So that's not strictly true, or…
comment by steveklabnik · 2015-04-27 · in Pre-Pooping Your Pants with Rust -
Yes- https://github.com/rust-lang/rust/pull/15831
comment by Rusky · 2015-04-25 · in Rust once, run everywhere -
…still experimental) support for using musl with Rust code is landing in the compiler as we speak! https://github.com/rust-lang/rust/pull/24777
comment by kibwen · 2015-04-24 · in Rust once, run everywhere -
Oh, look what just popped up: https://github.com/rust-lang/rust/pull/24777
comment by steveklabnik · 2015-04-24 · in Rust once, run everywhere -
…becoming a Rust contributor: My first PR to Rust was actually rejected, due to a procedural error: https://github.com/rust-lang/rust/pull/4305 Nowadays, we follow GitHub norms more closely, so this kind of thing doesn't happen.
comment by steveklabnik · 2015-04-22 · in Cohort analysis of Rust contributors -
…is no silver bullet. We've just started unleasing afl on Rust code, and it can still find issues: https://github.com/rust-lang/rust/issues/24276
comment by steveklabnik · 2015-04-15 · in Finding bugs in SQLite, the easy way -
raw strings: https://github.com/rust-lang/rust/blob/master/src/grammar/ra...
comment by Gankro · 2015-04-10 · in Fearless concurrency with Rust -
…[3]: http://stackoverflow.com/questions/29001667/how-do-i-store-a... [4]: https://github.com/rust-lang/rust/issues/23326 — (I had to follow up in the IRC room here, it's not quite as simple as the answer in the issue. Not only do yo
comment by deathanatos · 2015-04-08 · in Choose Boring Technology -
We merged 473 PRs in Rust last month: https://github.com/rust-lang/rust/pulse/monthly That's roughly one every other hour, so still not quite on the same level. And we do use tooling _in addition_ to GitHub, but reviews are done in PR and…
comment by steveklabnik · 2015-04-07 · in Ten Years of Git: An Interview with Linus Torvalds -
…example is that the borrow checker is currently based on lexical scope. See all the examples in https://github.com/rust-lang/rust/issues/6393 . In general, any kind of analysis like the borrow checker will reject some valid programs, as it…
comment by steveklabnik · 2015-04-06 · in More Rust compared to C++ -
…third be trivial, since thread::sleep_ms takes a u32? Still building beta, but shouldn't this work? https://github.com/rust-lang/rust/pull/24024
comment by callahad · 2015-04-03 · in Announcing Rust 1.0 Beta -
I just submitted a fix for the first, the second I'm not as sure about, and I just opened up https://github.com/rust-lang/rust/issues/24023 for the third. It's non-trivial because Duration isn't yet stable, I thought it might be, so I…
comment by steveklabnik · 2015-04-03 · in Announcing Rust 1.0 Beta -
Ah, thank you! We used to mention it from io's page, and I removed that, but this one slipped. https://github.com/rust-lang/rust/pull/24022
comment by steveklabnik · 2015-04-03 · in Announcing Rust 1.0 Beta -
…and though our resources are finite we'll do our best to address the most common pain points first. https://github.com/rust-lang/rust/issues
comment by kibwen · 2015-04-03 · in Announcing Rust 1.0 Beta -
…of various run-ins with the borrow checker and some details of attempts to reduce the friction: https://github.com/rust-lang/rust/issues/6393 'Both @pcwalton and @zwarich spent some time trying to actually implement this work (with a…
comment by cjcole · 2015-03-27 · in Steam store rendered in Servo -
It's not the case that all wrestling with the borrow checker is about bugs: https://github.com/rust-lang/rust/issues/6393
comment by cjcole · 2015-03-27 · in Steam store rendered in Servo -
…to unsafe (as a lot of rust code does) or stop using rust because the borrow checker is brain dead: https://github.com/rust-lang/rust/issues/6268 https://github.com/rust-lang/rust/issues/6393 Those bugs are 2 years old. And heaven forbid…
comment by mtanski · 2015-03-20 · in OpenSSL Security Advisory -
…subscript checks, although I believe rustc doesn't necessarily drive LLVM in the optimal way, yet: https://github.com/rust-lang/rust/issues/22987 E.g. this has no bounds checks, and is in fact vectorised: pub fn bad_sum(x: &[i32]) -> i32 {…
comment by dbaupp · 2015-03-16 · in The Death of Optimizing Compilers -
…to buildbot (which Rust and Servo both use). https://github.com/barosl/homu Example interaction: https://github.com/rust-lang/rust/pull/23381#issuecomment-80... Docs: http://buildbot.rust-lang.org/homu/
comment by dbaupp · 2015-03-15 · in Please stop breaking the build