3 ms·
hrm... wget http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2 tar -xzf tcc-0.9.27.tar.bz2 cd tcc-0.9.27 ./configure time make gene
by djoldman 3y ago
hrm...
wget http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2
tar -xzf tcc-0.9.27.tar.bz2
cd tcc-0.9.27
./configure
time make
generates:
...
make 5.01s user 0.43s system 95% cpu 5.720 total
so I guess there are some fast c compilers too...
- marosgrego 3y agoAlso git clone https://git.sr.ht/~mcf/cproc cd cproc git submodule init --update time make qbe time make generates: make qbe 0.81s user 0.07s system 97% cpu 0.901 total make 0.83s user 0.07s system 99% cpu 0.902 total
- rurban 3y agoI install mob branch changes automatically via cronjob, and use it as my dev compiler. It's about 10x faster than gcc/Clang with -O0, and thus finds errors much faster. Not many warnigs, but good enough