is it faster because it doesn't have much optimization? Most of the slowness of C++ compilers is an extensive search for optimisation opportunities.
is it faster because it doesn't have much optimization? Most of the slowness of C++ compilers is an extensive search for optimisation opportunities.
For reference I blogged about the previous version here which was ahead of gcc in compile time and produced 50% slower compiled code here: https://medium.com/@vishvananda/agentic-c-compiler-redux-5d1... I haven’t updated with the most recent results but the current v5 reference has the perf stated above
It compiles about 7x faster both at -O0 and -O3. My optimization is not quite on par but it is really close. Compiled code is about 5% slower.