logoalt Hacker News

vduprasyesterday at 2:39 AM3 repliesview on HN

I like the spirit of this article, but I find it strange that they open their article by quoting me, but then don't include Dusk OS's C compiler in the list.

Fairly counting SLOC is a tricky problem, but my count is 1119 lines of code for the C compiler (written in Forth of course), that's less than 8x the count of chibicc, described as the smallest.


Replies

fallatyesterday at 4:48 AM

(typing from phone) i simply had not known. it is a great example of a short path to a c dialect then! merci pour votre travaille au dusk et collapse! i will add a paragraph about it to the essay. this took me many days to write and many revisions and still i see it isnt perfect!

note the point of that section was really that anyone using gcc or clang should ack. the real cost when using them.

kragenyesterday at 2:48 AM

That's a good point, thanks. How complete is it?

show 3 replies
entaloneralieyesterday at 2:50 AM

Came here to say exactly that, cc<< blows these numbers out of the water. Strange choice from the author.