points by spacedcowboy 2 days ago | 0 comments
Whereas this is very impressive, I feel “faster than” should be called out as “faster to compile than”. It’s generated code seems “on a par with”.
[–] vishvananda 2 days ago
[–] spacedcowboy 2 days ago
Oh I appreciate you were totally up-front with the numbers in the post, didn’t mean to imply otherwise. I just think “X is faster” when referring to compilers generally means the resulting executables are faster - maybe that’s just me :)
I use ‘faster’in that sense with my own compiler… https://news.ycombinator.com/item?id=50380978
The breakdown is roughly:
* Compiling a TU (Unoptimized): ~2.5x
* Compiling a TU (Optimized): ~4x
* Generated Code Speed (Unoptimized): ~1.01x
* Generated Code Speed (Optimized): 0.99x