4 ms·
That, and the more you optimize for runtime performance, the less compile-time performance you have.
by Ygg2 6y ago
That, and the more you optimize for runtime performance, the less compile-time performance you have.
- Gibbon1 6y agoI always keep coming back to code gets compiled a lot more than it gets modified. In C land it's typical to run analysis tools on a codebase as a separate process. Seems doing the sorts of checks Rust does on every compile seriously wastes programmers time. Also a problem that for 95% of code written speed doesn't matter at all. Combine those two and programmers a paying a lot for something that isn't needed. AKA 99% of the time you're compiling a module that hasn't changed. And 95% of the code in those modules speed doesn't matter at all.
- lmm 6y agoRust is a language specifically for the other 5% though. If you don't have extreme performance requirements wouldn't you just use OCaml (which compiles very quickly)?
- Gibbon1 6y agoOf late I feel like I care less about perfect languages and more about ABI compatibility. There is something to be said about most of the time you should be using a safe mildly performant glue language with a fast write/compile/test cycle. The big monkey wrench of course is ABI incompatibility. Which has always left you with C and now Swift as the base language.