What is more interesting is that while Linux might be a mess, so is everything else. Neither apple nor Microsoft or IBM managed to put something significantly better out-there at a price that was worth it.
One could consider OpenSolaris as something that could have filled that space in alternative future.
Check out Redox OS, it has many cool concept and is written in Rust.