logoalt Hacker News

treydyesterday at 1:29 PM2 repliesview on HN

Code is typically run many more times than it's compiled, so this is a perfectly good tradeoff to make.


Replies

embedding-shapeyesterday at 2:01 PM

Absolutely, was not trying to claim otherwise. But since we're engineers (at least I like to see myself as one), it's worth always keeping in mind that almost everything comes with tradeoffs, even traits :)

Someone down the line might be wondering why suddenly their Rust builds take 4x the time after merging something, and just maybe remembering this offhand comment will make them find the issue faster :)

cardanomeyesterday at 1:43 PM

For release builds yes. For debug builds slow compile times kill productivity.

show 5 replies