Hacker News new | ask | show | jobs
by IshKebab 2334 days ago
> The translation from C and compile being 25x faster than just compiling C seems nearly impossible.

It's easy to make a language that compiles faster than C. First get rid of the C preprocessor, and fix the syntax so it is easier to parse (e.g. `name: Type` rather than `Type name`). You can go even further and make it possible to parse each line independently (I think Zig does this?).

Second use a simple modern code generator that doesn't do much optimisation.