3 ms·
In what language or toolset can you compile a project like Chromium faster? Big projects take a while to compile. Nobody has broken this rule yet so why are we
by dcow 4y ago
In what language or toolset can you compile a project like Chromium faster? Big projects take a while to compile. Nobody has broken this rule yet so why are we fixated on it being problematic? Obviously, we could not compile the project and eschew all the optimizations we get, but then the end user would be unhappy. I don't know, I've always found the tradeoff to be quite understandable and inoffensive: if I want faster development (among other things), I use an interpreted scripting language. If I want a fast end product (among other things) I compile and optimize to machine code beforehand (obviously it's not that simple, but you get the point).
- vegerot 4y agoSomething to stress is that the article is not just about compile times. It’s about compile+test times. If Chrome were written in Python it’d be hella slower iteration times
- netr0ute 4y ago> In what language or toolset can you compile a project like Chromium faster? Go is super duper fast, so there's that.
- camel-cdr 4y agoTcc was able to compile an older linux kernel on a single core 2.4 GHz Pentium 4 in under 15 seconds. [0] [0] https://bellard.org/tcc/tccboot.html https://bellard.org/tcc/tccboot.html
- strager 4y ago> if I want faster development (among other things), I use an interpreted scripting language. If I want a fast end product (among other things) I compile and optimize to machine code beforehand I want both. I was hoping Rust would give me both, but it doesn't.
- dcow 4y agoI would hardly call Rust slow especially for the kind of things you’d use a scripting language for, though.