Comment

Comment by FirTheMouse

Sparkie is correct, and an actually fully working C compiler in GDSL would probably be 12,000 lines or so total, possibly much more. The point in showing this is that so much of the size of these compilers just comes from managing seams, as I discuss in the essays, and by preserving information through the compiler they shrink dramatically. I would encourage you to compare the implementation of GDSL-C's identifiers to GCC, for a good example of how information availability allows me to link and disambiguate in just 80 lines what GCC takes upwards of a thousand spread across many files to do.
parent FirTheMouse 7 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton