4 ms·
Best alternative to C, built with solid foundation to ensure fast compile speed, fast iteration, and easy to maintain code
by Shadonototra 5y ago
Best alternative to C, built with solid foundation to ensure fast compile speed, fast iteration, and easy to maintain code
- mlindner 5y agoI don't understand why people want fast compile speeds so much. My day job is/was writing C on something that requires 30+ minutes for one compilation run. It feels like people want fast compilation speeds because they need to keep running their software for some reason. Fast compilation speeds are a nice to have but basically irrelevant for normal developing of software in my experience.
- hu3 5y agoSorry I may have missed the sarcasm. Your day job project takes half an hour to compile and you don't see the point in speeding that up?
- sanxiyn 5y agoGP did say it is a nice to have.
- hu3 5y agoBut also said that it's basically irrelevant. Hence my confusion.
- mlindner 5y agoIt wasn't sarcasm. My "irrelevant" point meant "it's irrelevant for a factor in picking a language", as in "it doesn't significantly contribute to whether a project is possible in the long term". If compile times are longer you just compile less often and write larger portions of code at a time and you generally keep writing code while it compiles.
- jackosdev 5y agoWorks when you've been using a minimal language like C for over a decade and you're an expert. For people learning a new language they constantly need to be recompiling to check their assumptions are correct, that's why it's so important for the masses.
- mlindner 5y agoIf they're a new developer they're not going to be compiling a massive project over and over I would assume. They'd be writing small toys to learn the language.
- llanowarelves 5y agoFaster feedback loop is a much better development experience.
- kortex 5y agoThe longer the delay between writing some chunk of code, and executing it, the more valuable mental context is lost. I find it way more productive to work in small chunks iteratively, testing as I go along, rather than writing for a long chunk of time, then running tests and figuring out what bugs are making tests fail.
- mlindner 5y agoI only compile a couple of times per day max usually. Sometimes I won't compile at all in a day.
- chrisseaton 5y agoDevelopers have to wait while your compiler runs. You’re paying your compiler at your engineer hourly rate, if you like. That’s very expensive!
- Comevius 5y agoHot code reloading is nice to have, but incremental compilation is essential. Your compiler has forsaken you if you have to wait 30 minutes for changes to compile.
- LAC-Tech 5y agoI like knowing what compiler errors I've made in near real time feedback. Also useful for running tests on save.
- psychoslave 5y agoThat's something of a double edged sword here. Somehow like having live orthographic checker always on while writing some prose: it can't easily distract the mind from focusing on the expression of ideas. And even if you try to ignore all these hints of early micro fixes, the brain is at very least spending resources at filtering avoidable noise. Thus said, as long as this is an option that can easily switched, the possibility to limit notifications of these issues can be isolated into dedicated sessions. I guess it might also greatly depend on each individual, how they appreciate to work, and how it impacts their workflow.