The Claude C Compiler: What It Reveals About the Future of Software
I'll cross link the last submission about this:
https://news.ycombinator.com/item?id=47009024
I feel like Chris way, way understates the prior art on C language. It's not just two compilers and some textbooks. That would actually be impressive.
If Internet trained, the training data probably has so much stuff about C compilation in it. Books, step by step articles with code, debugging, StackOverflow answers, mailing lists, blog posts, compiler results... endless. It's one of the most specified and pretrained things in existence for a multi-TB, Internet-trained LLM.
A real test for Claude Code Compiler would be something that had hardly any search results. Then, the few results it had were the language description, some examples, and maybe the existing compiler. Could it output a compiler for that? Can it do ZL (C++ in Scheme), Pony, Mercury, or Cray's Chapel?
Even easier, Lattner should try to have it write a LLVM-compatible compiler for Mojo. Then, lots of multithreaded, SIMD, and GPU implementations of business and ML algorithms in Mojo. That might not only be a good demonstrator but help the business, too.