rust-lang/rust
View on GitHub ↗ ★ 121,043 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
-
…take. The point of Rust is to displace this stuff , not be the best at integrating with it. 1: https://github.com/rust-lang/rust/blob/7cb3ee453b829a513749e...
comment by ridiculous_fish · 2019-02-24 · in C++20 Design Is Complete: Modules, Coroutines in C++20 -
…it would have never even been called. But for example, malloc and free are used, not sbrk directly: https://github.com/rust-lang/rust/blob/master/src/libstd/sys...
comment by steveklabnik · 2019-02-18 · in LD_PRELOAD: The Hero We Need and Deserve -
…moved at all, as far as I've been able to tell. You can look at the numbers for the compilers: https://github.com/rust-lang/rust/graphs/contributors?from=2... https://github.com/ocaml/ocaml/graphs/contributors?from=1995... The uptick on…
comment by coder543 · 2019-02-15 · in Moving from Ruby to Rust -
…project. Internally rust stack allocates most local objects, but it's size is unchecked. see eg. https://github.com/rust-lang/rust/issues/48055 2nd rust had memory safety in early 0.x releases with a proper GC, but it was removed. Now you…
comment by rurban · 2019-02-13 · in Rust’s standard library was vulnerable for years and nobody noticed -
…agreed to be a good idea, but is a bit tricky to actually implement[1]. Hopefully some day. [1] https://github.com/rust-lang/rust/issues/15023
comment by TheCoelacanth · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…borrow checkers since NLL is supposed to allow anything that the old borrow checker allows). [1] https://github.com/rust-lang/rust/issues/46908
comment by TheCoelacanth · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…more tolerant. The mode's still called migration mode though, full NLL is to be unleashed later on: https://github.com/rust-lang/rust/issues/57895
comment by est31 · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
Please see the code: https://github.com/rust-lang/rust/blob/68650cacf23c60ee2f346... In edition 2018, migration mode is turned on. I learned myself about this today btw, after I saw this PR: https://github.com/rust-lang/rust/pull/58342 I…
comment by est31 · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…to system(). Also note that Rust has contained a mitigation for that issue for a long time now: https://github.com/rust-lang/rust/pull/24034
comment by pcwalton · 2019-02-08 · in Open-Sourcing ClusterFuzz -
I haven't used it at all, but doesn't Rust have experimental support for coroutines? https://github.com/rust-lang/rust/issues/43122
comment by giornogiovanna · 2019-02-08 · in Coroutines in C (2000) -
…parallel code. I don't think Swift's runtime exclusivity checks give you any of that. [0]: https://github.com/rust-lang/rust/pull/50744
comment by giornogiovanna · 2019-02-05 · in Swift 5 Exclusivity Enforcement -
…available but currently disabled due to a bug in LLVM that can cause incorrect code generation. https://github.com/rust-lang/rust/issues/54878 This is not the first time it has been disabled due to an LLVM bug.…
comment by dodobirdlord · 2019-02-02 · in A Python Interpreter Written in Rust -
…mut` is not always safe even in a single-threaded environment, because of reentrance - see also https://github.com/rust-lang/rust/issues/53639 .
comment by eddyb · 2019-01-31 · in Writing an OS in Rust: Advanced Paging -
…complex trees involving associated types with their own independent lifetimes[1][2][3]. [1]: https://github.com/rust-lang/rust/issues/55756 [2]: https://github.com/rust-lang/rust/issues/54378 [3]: https://github.com/rust-lang/rust/issues/54…
comment by estebank · 2019-01-28 · in Writing an OS in Rust: Advanced Paging -
…true in either C or Rust. There's further discussion[3] on this bug if anybody is interested. [0] https://github.com/rust-lang/rust/pull/54397 [1] https://github.com/rust-lang/rust/pull/48657 [2] https://medium.com/@shnatsel/how-ive-found-v…
comment by Aengeuad · 2019-01-24 · in Fearless Security: Memory Safety -
…indirect) recursive function calls? Recursive calls to async functions will fail to compile: https://github.com/rust-lang/rust/issues/53690 That said, see that discussion; the trait object form will probably eventually work. Heavy…
comment by steveklabnik · 2019-01-22 · in Asynchronous Programming in Rust book -
▲ 1
Rust: await syntaxstory by tosh · 2019-01-21 · 0 comments
-
…those [1][2]. some threads are more than a year old, but it seems to be making progress. [1] https://github.com/rust-lang/rust/issues/45978 [2] https://internals.rust-lang.org/t/pre-rfc-allow-pattern-matc...
comment by vmarsy · 2019-01-09 · in Thoughts on Rust, a few thousand lines in -
…here: https://internals.rust-lang.org/t/standard-library-synchroni... The PR for std is here: https://github.com/rust-lang/rust/pull/56410 Mostly comes to the platform native APIs habing various soundness issues.
comment by the_mitsuhiko · 2019-01-06 · in Rust at speed – building a fast concurrent database [video] -
…adding a new type to a natvis file before I'll finish relinking my project in a lot of cases. https://github.com/rust-lang/rust/blob/master/src/etc/natvis... , while perhaps a bit arcane if you don't know natvis (there are docs), and…
comment by MaulingMonkey · 2019-01-01 · in Comparing Pythagorean triples in C++, D, and Rust -
Ugh, you're right. I got it backwards https://github.com/rust-lang/rust/issues/23818 thank you
comment by steveklabnik · 2018-12-31 · in Comparing Pythagorean triples in C++, D, and Rust -
https://github.com/rust-lang/rust/issues/53487
comment by dralley · 2018-12-27 · in Rust 2019 and beyond: limits to some growth -
As a matter of fact, Rust release infrastructure is using CentOS 5. See https://github.com/rust-lang/rust/blob/master/src/ci/docker/... .
comment by sanxiyn · 2018-12-21 · in Porting Alpine Linux to RISC-V -
This sounds like a use for the everybody-loops compiler flag: https://github.com/rust-lang/rust/pull/19964
comment by jamesmunns · 2018-12-17 · in Rust Analyzer in 2018 and 2019 -
…patch to add stdlib natvis files to MSVC projects, which instead morphed into a better rustc patch: https://github.com/rust-lang/rust/pull/43221 Thanks to this buried gem I stumbled across in a search:…
comment by MaulingMonkey · 2018-12-17 · in Organizational Debt -
This seems to be the bug that's tracking this in rust: https://github.com/rust-lang/rust/issues/49879
comment by pedrocr · 2018-12-16 · in Firefox 64 built with GCC and Clang -
Simply following the unicode recommendations will leave you with some weird issues: https://github.com/rust-lang/rust/issues/4928 https://twitter.com/aisamanra/status/923346798093090816
comment by hyperpape · 2018-12-15 · in Fun with Unicode in Swift -
…wanted to just jump in having never contributed before you could just filter an issue by mentor. https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... Filtering this further by E-easy to get yourself started. This is probably not…
comment by martell · 2018-12-08 · in Do one have to be an exceptional programmer to contribute to opensource projects -
…to be most relevant: https://github.com/nikomatsakis/rust-memory-model/issues/41 Then these ones: https://github.com/rust-lang/rust/issues/36927 https://internals.rust-lang.org/t/c-style-enums-in-ffi-and-a...…
comment by v_lisivka · 2018-12-06 · in Rust 2018 is here, but what is it? -
…since been disabled again, due to a new bug (which was also reproduced in C, on both LLVM and GCC): https://github.com/rust-lang/rust/issues/54878
comment by cesarb · 2018-11-27 · in Fortran is still a thing -
In case anyone else was wondering what this jargon meant, "non-lexical lifetime": https://github.com/rust-lang/rust/issues/43234 Took me a bit of websearching to figure out what people were excited about.
comment by jordigh · 2018-11-27 · in Rust 2018 survey results -
…stack unwinding facilities. It’s since been re-enabled now that the upstream bug has been fixed: https://github.com/rust-lang/rust/pull/50744
comment by johncolanduoni · 2018-11-27 · in Fortran is still a thing -
A `const fn` RFC is accepted and somwhat available when using nightly compilers, also see https://github.com/rust-lang/rust/issues/24111
comment by th0br0 · 2018-11-22 · in Still in love with Rust -
Here's my first PR to Rust: https://github.com/rust-lang/rust/pull/4305 Note that it was rejected because I sent it into the wrong branch (we do use master these days) and so I even had to resubmit it https://github.com/rust-lang/rust/pull/…
comment by steveklabnik · 2018-11-20 · in “The 's' is sad”: 4-year-old submits Linux kernel doc patch (2014) -
…`exec), but it generally prefers `posix_spawnp` (Which also uses PATH). The relevant code is here: https://github.com/rust-lang/rust/blob/7d3b9b1640611c52eb949... . All of this is of course Unix specific, on Windows it uses `CreateProcess`.
comment by johncolanduoni · 2018-11-18 · in Building your own shell using Rust -
…missing something here. [0] : https://play.rust-lang.org/?version=stable&mode=debug&editio... [1] : https://github.com/rust-lang/rust/blob/master/src/libstd/sys...
comment by JoshMcguigan · 2018-11-18 · in Building your own shell using Rust -
For reference, there's a tag on the issue tracker for things that have been blocked on NLL to fix: https://github.com/rust-lang/rust/labels/NLL-fixed-by-NLL Look for the ones that are also tagged "unsound" for the most serious instances.
comment by kibwen · 2018-11-06 · in How to speed up the Rust compiler in 2018: NLL edition -
…has gone no further than https://github.com/rust-lang-nursery/api-guidelines/issues/6... [unix]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys... [windows]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys... [0]…
comment by masklinn · 2018-10-09 · in Rust RAII is better than the Haskell bracket pattern -
…of borrow checking which everyone agrees are minor annoyances, even to experienced users: https://github.com/rust-lang/rust/issues/43234 Judging by that issue thread, some of these issues are about to be fixed.
comment by foldr · 2018-09-28 · in Zig 0.3.0 Released -
…to use. And finally, fallible allocation can be added after the fact. It is being worked on: https://github.com/rust-lang/rust/issues/48043 For now, anyone who wants to use Rust in those situations, but still wants allocation support,…
comment by lambda · 2018-09-19 · in LLVM 7.0.0 released -
…inherent to the language, it's possible to extend the standard library, and folks are doing so. See https://github.com/rust-lang/rust/issues/48043 for support of "fallible allocations".
comment by scottlamb · 2018-09-19 · in LLVM 7.0.0 released -
Looks like it was as of LLVM 6: https://github.com/rust-lang/rust/pull/50744
comment by lambda · 2018-09-19 · in LLVM 7.0.0 released -
According to the "Update to LLVM 7" ticket for Rust ( https://github.com/rust-lang/rust/issues/50543 ), many of the points of interest are in LLD, especially in WASM support: LLD has implemented --gc-sections for wasm LLD has implemented…
comment by lambda · 2018-09-19 · in LLVM 7.0.0 released -
…about bugs, and if you try some stuff and find them, please file them. (We track them via this tag: https://github.com/rust-lang/rust/labels/I-slow ) Embedded can be tricky at times; we've had a working group pushing on making stuff great…
comment by steveklabnik · 2018-09-18 · in Falling in love with Rust -
…incomplete implementation in nightly. It's not going to land in stable until early next year. https://github.com/rust-lang/rust/issues/50547 is the tracking issue.
comment by steveklabnik · 2018-09-13 · in Announcing Rust 1.29 -
…the discussions that I've peeked into). An example of the problem in this GitHub issue: https://github.com/rust-lang/rust/issues/53105
comment by kibwen · 2018-09-13 · in Using Rust for Game Development [video] -
will work; it’s in-progress, but not ready for the big times yet, as far as I know https://github.com/rust-lang/rust/issues/49879
comment by steveklabnik · 2018-09-12 · in Firefox nightly is now built with clang LTO on all platforms -
…don't have that high a tradeoff: https://morepypy.blogspot.com/2015/01/faster-more-memory-eff... https://github.com/rust-lang/rust/pull/45282#issuecomment-33...
comment by masklinn · 2018-09-07 · in Go says Wat -
…seems like a very good idea. They're actually learning from other language's mistakes this time. https://github.com/rust-lang/rust/commit/3d5fef6f3001beeffde...
comment by notriddle · 2018-08-28 · in Go 2 Draft Designs -
…> are also the less than and greater than operators. Rust recently had an small issue with this: https://github.com/rust-lang/rust/pull/53562
comment by platinumrad · 2018-08-28 · in Go 2 Draft Designs