# rustc

9 Hacker News commenters recommended rustc and 9 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months.

**Verdict:** The official Rust compiler, praised for clear error messages and helpful checks. Critics mainly point to slow compile times and unfixed soundness bugs.

## Why people recommend it

- Excellent diagnostics and user experience (2 comments): "Best in class here is probably rustc, which has incredible UX compared to most compilers." ([source](https://news.ycombinator.com/item?id=48083804)) "rustc produces really good diagnostics" ([source](https://news.ycombinator.com/item?id=48102849))
- Useful checks during name resolution (2 comments): "Having those annotations already meant that bootstrapping the feature to check the aliases during name resolution errors in rustc was almost trivial." ([source](https://news.ycombinator.com/item?id=48225703)) "I’d much rather have it be reviewed by rustc than clang" ([source](https://news.ycombinator.com/item?id=46747080))

## What people warn about

- Slow compile times (4 comments): "It is indeed very slow when compared to a C compiler, or a zig compiler, or even a Java compiler." ([source](https://news.ycombinator.com/item?id=48842185)) "Rustc takes forever to compile, much longer than the time it takes to run the query." ([source](https://news.ycombinator.com/item?id=49409485)) "`rustc` is impressively slow on a translation unit basis" ([source](https://news.ycombinator.com/item?id=48981913))
- Soundness bugs remain unfixed (2 comments): "rustc mistakenly allows the code to assign a reference that is valid until the end of the current scope" ([source](https://news.ycombinator.com/item?id=50073238)) "rustc definitely has soundness issues that haven’t been fixed" ([source](https://news.ycombinator.com/item?id=46389711))

## Alternatives hackers recommend

- [GCC](https://hackerapproved.com/p/gcc.md): 138 recommend
- [Clang](https://hackerapproved.com/p/clang.md): 74 recommend
- [Free Pascal compiler](https://hackerapproved.com/p/free-pascal.md): 38 recommend
- [GraalVM Native Image](https://hackerapproved.com/p/graalvm-native-image.md): 31 recommend
- [.NET Native AOT](https://hackerapproved.com/p/net-native-aot.md): 26 recommend

## Cite as

Hacker Approved, "rustc", https://hackerapproved.com/p/rustc/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
