Which programming language has the best tooling?

The first time I tried Clang, it was 18 months before I realised it was piggy-backing on top of my gcc installation, to provide include files, linker etc, otherwise it wouldn't have worked. This is a little detail the docs don't mention.

Now it needs Visual Studio to be installed, so basically it's a parasite!

So from that point of a few, a self-contained compiler like Zig is good; it's a 300MB download on Windows, of which zig.exe is 120MB.

0.3GB is a lot smaller than Clang+LLVM+VS, which comes to quite a few GB (but still a couple of magnitudes bigger compared with the stuff I do, or products like Tiny C (a 0.00018GB executable!)

That zig.exe file will not run however if you just copy it somewhere else; it needs its installation directory (some 13,000 files across 1000 folders).

The advantage of an approach like mine is that you can trivially copy the file onto a pen-drive for example, or attach it to an email, and be confident it will work anywhere on any Windows PC. (Actually, it would still fit on a single-sided floppy disk!)

/r/ProgrammingLanguages Thread Parent