Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...


Also

  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


I 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: