4 ms·
The REAL answer is still the same as in 2016: the language is not mature yet. It will be fixed, in time, after other things that matter more. Binary size has l
by ncmncm 8y ago
The REAL answer is still the same as in 2016: the language is not mature yet. It will be fixed, in time, after other things that matter more.
Binary size has less priority than important goals such as feature completeness, compiler speed, optimization performance, target platform coverage, performance tooling support, library coverage, and myriad others. Memory has become cheap enough that excess binary size is not typically the limiting factor preventing deployment, where that happens.
As the language matures, numerous impediments to industrial deployment will fall, one at a time. The language and its ecosystem are maturing with impressive, even stunning rapidity, but it will still be ten years before the language is an obviously safe choice for any random project -- if it gets there at all. Historically, odds are against that, but the only real risks for Rust are whether its adoption rate can be grown fast enough to retain relevance, and whether its development jumps some unforeseen shark not easily recovered from.