File for divorce from LLVM
Some of this reasoning is just wild.<p>1. &quot;We can attract direct contributions from Intel, ARM, RISC-V chip manufacturers, etc., who have a vested interest in making our machine code better on their CPUs.&quot;<p>They are nowhere near popular enough (or used enough by some particularly important customer) for any major architecture vendor to spend any time contributing except as someone&#x27;s random side project. To think otherwise is ... really out there.<p>2. &quot;We can implement our own optimization passes that push the state of the art of computing forward.&quot;<p>There are in fact, no magic bullets.  Once you pass the baseline of optimization capability, the reason these compilers do well is because they&#x27;ve been worked on forever, and made better 0.2% at a time.<p>Also, anything you implement they can implement.  Maybe it takes annotations, or whatever, but that&#x27;s about speed and not capability.<p>3. &quot;Compilation speed is increased by orders of magnitude.&quot;<p>Uh, not if you are doing #2.  Most optimization passes, especially when you are first productionizing research, are quite bad.  It takes a tremendous amount of applied engineering to make them fast.<p>This is what i did on both GCC and LLVM.  Implement and speed up ad nauseum.  I implemented plenty of high-optimization-value, never been productionized before algorithms.  It usually took a few versions and lots of slow-compiler bugs to figure out the best way to implement.  It turns out most researchers are not spending their time working on the compilation speed. At best, they care that it&#x27;s passable.<p>For existing well-productionized algorithms (which don&#x27;t push the state of the art), you will not get orders of magnitude speedup.  You may get some percent depending on how you structure your compiler.<p>There are certainly slow parts of LLVM, but it&#x27;s hubris to believe you are going to make something both better optimizing, and seriously faster, for this kind of language.
There are other languages for which it is true. Zig is super unlikely to to be one of them.<p>The way you gain compilation speed for this kind of language is to optimize less.  Spend as little time processing things into machine code as possible, using as fast of algorithms as possible, and where you can&#x27;t, relying on heuristics and such more to help generate good enough code most of the time.<p>There is more, but man, this feels out there.<p>If they said &quot;we want to get 90% of the performance at 60% of the cost&quot;, sure, maybe.
But saying, basically, we will get &gt;100% of the performance at &quot;orders of magnitude&quot; (their claim) less cost is just, as i said, a wild idea. 
I wish them the best of luck.<p>Everyone who tries to reinvent good infrastructure is doomed to discover why that infrastructure was invented in the first place
.