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

There are plenty of people on HN who could re-implement a C compiler like this in less than three months. Algorithmically compilers like this are a solved problem that has been very well documented over the last sixty or seventy years. Implementing a small compiler is a typical MSc project that you might carry out in a couple of months alongside a taught masters.

This compiler is both slower than gcc even when optimising (you can’t actually turn optimisation off) & doesn’t reject type incorrect code so will happily accept illegal C code. It’s also apparently very brittle - what happens if you feed it the Linux kernel sources v. 6.10 instead of 6.9? - presumably it fails.

All of the above make it simultaneously 1) really, really impressive and 2) completely useless in the real world. Great for creating discussion though!



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

Search: