4 ms·
You know what I find amusing about the C compiler? It's about the same size as the kernel in terms of LOC. I don't know why, but that amuses me. This whole p
by Paul-Craft 3y ago
You know what I find amusing about the C compiler? It's about the same size as the kernel in terms of LOC. I don't know why, but that amuses me.
This whole project just really makes me happy. I think it's because it's obviously a labor of love, it's very UNIX-y, yet at the same time, utterly comprehensible. I think this is a nicer environment for just general screwing around than a PDP-11 emulator running real V6. The core looks to be all here, without having to bear the weight of complexity implied by a real implementation.
10/10 will clone and study.
- peter_d_sherman 3y agoAgreed! This C compiler, at ~2297 LOC (this number includes empty lines, actual LOC is less) -- is certainly worthy of being included in the group of small C compilers for study! 9.5/10 for me (could still be smaller and could still be better documented -- as could all other small OS'es/compilers -- so not a criticism -- a global group observation!)... but that being said, kudos to the author for what was no doubt a lot of hard work! Well done!