3 ms·
I wonder why we do not split up compilation more - especially for web developer. Rust does this a little with "check", C with "-O". I want fast compilation for
by KingOfCoders 3y ago
I wonder why we do not split up compilation more - especially for web developer.
Rust does this a little with "check", C with "-O".
I want fast compilation for my dev cycle or for unit tests, I want slow compilation with optimizations, escape analysis, correctness etc. for production (the distinction between a compiler and linter is also not clear, some compiles do what linters do in other languages).
- jokethrowaway 3y agoWe do, you have profile configuration for dev or for release You can get pretty big differences in terms of compile speed / binary size
- IshKebab 3y agoGiving up entirely on the compile time of "performance" builds can be bad too though, e.g. for people writing games, audio software, etc.
- bluGill 3y agoOnly if you need to test the full game. If you can unit test algorithms and learn something then fast builds matter.