Remix.run Logo
kajman 2 hours ago

The cost of verbose compiler output surely cannot compare to the cost of shipping bugs that would've been caught at build time.

amazingamazing 2 hours ago | parent [-]

Indeed, but is it the case that all bugs you have are those in which would be caught by the compiler? It’s not like rust code inherently is bug free.

kajman 2 hours ago | parent [-]

Of course, there's plenty of bugs in Rust code still. The fact that safe Rust should be able to statically guarantee entire classes of bugs like data races are impossible is a huge deal, though. We're totally free to have different values when it comes to what matters, but compile time and a verbose toolchain are not high costs for that, to me. I personally would first consider other things like the cognitive overhead of learning to work with the borrow checker.