Hacker News new | ask | show | jobs
by jart 432 days ago
GCC is still marginally superior at both code size and performance in my experience.

The main thing I like about clang is it compiles byzantine c++ code much faster.

Some projects like llama.cpp it's like eating nails if you're not using clang.

So with projects like llamafile I usually end up using both compilers.

That's why my cosmocc toolchain comes with -mgcc and -mclang.