Interestingly it takes around 1.8s to run CMake, generate Ninja files then to build my project with GNU assembler, my assembler, and TinyCC, then run my tiny example code. Changing that from TinyCC to GCC takes 4 seconds. Clang takes 6.
@jookia Are you using -O1? -O2? Something else?
@koz_ross Debug mode, so no optimization at all
@jookia Intriguing. It seems GCC and Clang both optimize (or analyze) even there to a more considerable degree. I'd be curious to see the disassemblies in each case, sans the crt code.
@koz_ross I think it might just be overhead of a big complex compiler.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!