Hacker GitHub

← All repos

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

Mentions per year 1,825 mentions · busiest year 2023 (167)
20082026
  1. …are a separate issue, which I apparently shouldn't merely summarize for this discussion. Clone https://github.com/rust-lang/rust and run your git GUI client of choice on it. git and gitk (ugly, buggy, and featureless though it may be)…
    comment by MaulingMonkey · 2020-01-07 · in Is Git Irreplaceable? (2019)
  2. …st-lang.org/nomicon/what-unsafe-does.html [1] https://github.com/rust-lang/unsafe-code-guidelines [2] https://github.com/rust-lang/rust/commit/1975b8d21b21d5ede54... [3] https://github.com/rust-lang/rust/commit/1a254e4f434e0cbb9ff... [4]…
    comment by DSMan195276 · 2020-01-07 · in Hobby x86 kernel written with Zig
  3. https://github.com/rust-lang/rust/blob/master/src/libstd/sys... Looks like it’s relying glibc for lock elision. Mind you the parking_lot::Mutex in the article is not the stdlib implementation, documented here:…
    comment by bluejekyll · 2020-01-04 · in Mutexes are faster than Spinlocks
  4. https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Ao... is the list of soundness bugs. They are considered major, but they’re more compiler bugs than something broken in the language itself. They are taken seriously, but bugs will…
  5. …), and did the upstream work in GDB to get it to understand things. (There's also more work to do: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... ) That being said, yes, we see integration into the parent platform as being…
    comment by steveklabnik · 2019-12-29 · in Why are my Go executable files so large?
  6. …for this, I think. It seems like Rust also needs this, either through linker magic or extern C: https://github.com/rust-lang/rust/search?utf8=%E2%9C%93&q=er...
  7. …made (as the > policy notes though, we are inclined to accept such a request). > regards, > Niko https://github.com/rust-lang/rust/issues/53287 This thread in the project's (hyperbola) issue tracker seems silly and needlessly exclusive,…
  8. This proposal has been made in the tracking issue already, yet it hasn't been picked up on yet: https://github.com/rust-lang/rust/issues/44109#issuecomment-...
    comment by est31 · 2019-12-19 · in Rust 1.40
  9. …make such checks possible for #[non_exhaustive] as well but it seems that nothing has happened yet: https://github.com/rust-lang/rust/issues/44109#issuecomment-...
    comment by est31 · 2019-12-19 · in Rust 1.40
  10. …I'm curious about as I really thought it would have segfaulted. It's a signal handler, of course: https://github.com/rust-lang/rust/blob/d8bdb3fdcbd88eb16e1a6...
    comment by saagarjha · 2019-12-19 · in Make CPython segfault in 5 lines of code
  11. …printf line causes everything after it in the file to be recompiled without there being a need: https://github.com/rust-lang/rust/issues/47389
    comment by est31 · 2019-12-11 · in Speeding Up the Rust Compiler
  12. …codegen on the user's computer. But that's still complex, and not necessarily much faster. See https://github.com/rust-lang/rust/issues/38913 .
    comment by GrayShade · 2019-12-11 · in Speeding Up the Rust Compiler
  13. Worth noting that support for custom allocators in standard collections is not finalized yet: https://github.com/rust-lang/rust/issues/32838 The (awesome) bumpalo crate that you link to gets around this by providing ported implementations…
    comment by dunkelheit · 2019-12-09 · in Game Boy Advance “Hello World” Using Zig
  14. …I am still waiting for RFC0066[1] to be fixed. It is from 2014-05-04! Here is its GitHub Issue: https://github.com/rust-lang/rust/issues/15023 . Backstory: I started writing a relatively simple Rust program many years ago when I ran into…
    comment by johnisgood · 2019-12-08 · in GCC-Rust: Rust frontend for GCC
  15. …again ) was found in both LLVM and GCC (they made a C reproducer, so they could test in both). See: https://github.com/rust-lang/rust/issues/54878 (rustc) https://bugs.llvm.org/show_bug.cgi?id=39282 (LLVM)…
    comment by cesarb · 2019-12-08 · in GCC-Rust: Rust frontend for GCC
  16. …is done on collections of objects instead, the problem can be tackled more easily I think. [1]: https://github.com/rust-lang/rust/issues/53488 [2]: http://smallcultfollowing.com/babysteps/blog/2018/04/16/rust...
  17. …like `Pin` would have to have been proven on its own in an ad-hoc way not covered by RustBelt. [0] https://github.com/rust-lang/rust/labels/I-unsound%20%F0%9F%... [1] https://gitlab.mpi-sws.org/iris/lambda-rust/tree/popl18
    comment by lidHanteyk · 2019-11-29 · in Unsoundness in Pin
  18. …I'm not entirely sure yet about the impact of this one, will have to read the thread I guess. [1]: https://github.com/rust-lang/rust/issues/62149#issuecomment-...
    comment by est31 · 2019-11-29 · in Unsoundness in Pin
  19. …not needed any more, but currently support is still in the compiler. This is a PR to remove it: https://github.com/rust-lang/rust/pull/65703
  20. …generally [1] can't be converted to a function pointer as it requires both code and state. [1] https://github.com/rust-lang/rust/issues/39817
    comment by mmastrac · 2019-11-25 · in Neat Rust Tricks: Passing Closures to C
  21. …org/?version=stable&mode=release&edit... [1]: https://doc.rust-lang.org/src/std/f64.rs.html#724-726 + https://github.com/rust-lang/rust/blob/bc0e288ad02ef362b5a6c... Edit: Actually, I can't reproduce the author's situation on godbolt. The…
    comment by Arnavion · 2019-11-12 · in Floating point oddity
  22. An important bugfix in 1.39.0 that wasn't mentioned in the release announcement is probably: https://github.com/rust-lang/rust/pull/63402 It's important because unless rustfmt is available, bindgen would put everything onto one line:…
    comment by est31 · 2019-11-07 · in Rust 1.39
  23. ▲ 97
    Rust async/await hits stable tomorrow
    story by cdbattags · 2019-11-06 · 35 comments
  24. …note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
  25. There is an example of indexed vecteur in the rustc source code https://github.com/rust-lang/rust/blob/master/src/librustc_i...
    comment by likeliv · 2019-11-01 · in Typestates in Rust (2018)
  26. You can see here some discussion of that question: https://github.com/rust-lang/rust/issues/32255 https://github.com/rust-lang/rust/issues/59567
    comment by winstonewert · 2019-10-31 · in Typestates in Rust (2018)
  27. …a particularly "fun" instance of this sort of Makefile weirdness back when we used Make for Rust... https://github.com/rust-lang/rust/blob/efec34a95a76212b2324d... (Discussed on HN: https://news.ycombinator.com/item?id=13655081 )
    comment by steveklabnik · 2019-10-29 · in Evaluating Bazel for building Firefox
  28. …down to -ffast-math, right? Is there an equivalent in Rust? Edit: After some search I found these: https://github.com/rust-lang/rust/issues/21690 https://doc.rust-lang.org/core/intrinsics/fn.fadd_fast.html Writing a wrapper around f64 that…
  29. …of the error, in format file.rs:line:column, eg main.rs:5:10 There are a few example errors here: https://github.com/rust-lang/rust/issues/36611 Are the annotated code snippets after the first line useless with screen readers? I wonder if…
    comment by DougBTX · 2019-10-21 · in Elm 0.19.1
  30. …to Rust's libstd recently for vxworks [0]. Expect it to be a bit buggy until Rust 1.42 or so. [0]: https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%...
  31. ▲ 2
    Rust now has more than 100'000 commits
    story by r0xsh · 2019-10-03 · 1 comment
  32. There is an issue for that: https://github.com/rust-lang/rust/issues/54878
  33. > Too bad it‘s so broken in LLVM :( TBF it wasn't just LLVM: in https://github.com/rust-lang/rust/issues/54878 "nikic" and "comex" provided C test cases which failed in both clang[0] and gcc[1]. Though GCC has since fixed the issue while…
    comment by masklinn · 2019-09-12 · in Why is Rust slightly slower than C?
  34. …defined in Rust. This is even an issue for C, because `while(1) {}` is a valid in C but UB in C++. https://github.com/rust-lang/rust/issues/28728
    comment by CodesInChaos · 2019-09-12 · in Why is Rust slightly slower than C?
  35. …the mix of unrolled loops, inlined functions and restrict annotations which triggers the issue. [0] https://github.com/rust-lang/rust/issues/54462 [1] https://github.com/rust-lang/rust/issues/54878
    comment by masklinn · 2019-09-12 · in Why is Rust slightly slower than C?
  36. …easiest example I can find of this is in the buffered IO code [1], but there have been others [1]: https://github.com/rust-lang/rust/blob/f0b58fcf03391a91f7422...
    comment by shepmaster · 2019-09-11 · in Why is Rust slightly slower than C?
  37. …be communicated. To express this better in the type system, Rust would need an effect system. [1] https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...
  38. …[2] https://kyren.github.io/2018/09/14/rustconf-talk.html [3] https://github.com/rust-lang/rust/pull/45225
  39. …have a very fast SIMD round instruction but its behavior doesn't exactly match libc round. See https://github.com/rust-lang/rust/issues/55107 for a deeper discussion.
  40. …references ever alias. Things have been held up for a while on this LLVM bug, though[0]. [0] https://github.com/rust-lang/rust/issues/54878
    comment by lytigas · 2019-08-27 · in Incrementing vectors
  41. …(LLVM equivalent of __restrict). Unfortunately, this feature is disabled due to an LLVM bug: https://github.com/rust-lang/rust/issues/54878 On the other hand, if you use the more idiomatic `&mut [u8]`, that passes the pointer and size by…
    comment by comex · 2019-08-27 · in Incrementing vectors
  42. …issue that is not being taken seriously I think. I raised the issue about platform size in June: https://github.com/rust-lang/rust/issues/61978 and its actually gotten worse since then, significantly worse. In the 2 months since then the…
    comment by svnpenn · 2019-08-21 · in Thoughts on Rust bloat
  43. ▲ 2
    Stabilize `Async_await` in Rust 1.39.0
    story by wtetzner · 2019-08-21 · 0 comments
  44. ▲ 3
    Rust async_await has been stabilized in 1.39.0
    story by return_0e · 2019-08-21 · 0 comments
  45. Rust platform size has recently increased by 50%: https://github.com/rust-lang/rust/issues/61978 which puts it at over double the size of Go. Worse is seems to be no impetus to fix this. Also notable is Rust still doesnt have a Map…
    comment by svnpenn · 2019-08-15 · in Rust 1.37.0
  46. Depending on your profiency : - you can actually contribute to the compiler itself : https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... - you can contribute to the low-level abstracting graphics library :…
    comment by rvdca · 2019-08-15 · in Rust 1.37.0
  47. Seems like async/await is going to slip into Rust 1.39 instead: https://github.com/rust-lang/rust/pull/63209#issuecomment-52...
    comment by pietroalbini · 2019-08-15 · in Rust 1.37.0
  48. …anyone else is curious, async/await isn't part of this release but should be in the next (1.38): https://github.com/rust-lang/rust/issues/62149
    comment by eyeinthepyramid · 2019-08-15 · in Rust 1.37.0
  49. ▲ 2
    Rust async/await slips by one release to 1.39
    story by clarkmoody · 2019-08-14 · 0 comments
  50. …and secure languages, toolchains, even OS themselves into IoT, IIoT, and even RTOS worlds. [1] https://github.com/rust-lang/rust/pull/61946