←back to thread

302 points Bogdanp | 1 comments | | HN request time: 0.791s | source
Show context
adastra22 ◴[] No.44390813[source]
As a former C++ developer, claims that rust compilation is slow leave me scratching my head.
replies(5): >>44390867 #>>44390918 #>>44391177 #>>44395299 #>>44403069 #
MobiusHorizons ◴[] No.44391177[source]
Things can still be slow in absolute terms without being as slow as C++. The issues with compiling C++ are incredibly well understood and documented. It is one of the worst languages on earth for compile times. Rust doesn’t share those language level issues, so the expectations are understandably higher.
replies(3): >>44392236 #>>44392850 #>>44403086 #
const_cast ◴[] No.44392850[source]
Rust shares pretty much every language-level issue C++ has with compile times, no? Monomorphization explosion, turing-complete compile time macros, complex type system.
replies(1): >>44393362 #
1. steveklabnik ◴[] No.44393362[source]
There's a lot of overlap, but not that simple. Unless you also discount C issues that C++ inherits. Even then, there's subtleties and differences between the two that matter.