by amedvednikov · 4y ago · 0 comments
The 200x compile speed up referred to C++ compilers, this was vague and hard to measure, since the languages are so different, and was removed.
The code may not have been perfect at the time of the 0.0.1 release, but it worked. V could compile itself.
Now it's much better and more organized.
No, just because it outputs C it doesn't mean it's as fast as hand-written C. Using that logic, every language that outputs machine code is as fast as assembly, which is obviously not true.
As long as you use the same data structures and algos, you'll get the same perf.
There's stuff like bounds checking, but it can be disabled, and it adds like 5%.