Live data from Hacker News

Chibicc: A Small C Compiler

github.com

41–48 of 48 posts

Re: Chibicc: A Small C Compiler

#41

Oh man I used to be a die hard fan of the author's 'turing complete fm[1]' podcast. It seems like he has stopped publishing new episodes, wonder what happened. [1] https://turingcomplete.fm/

Nothing in particular has happened to me, but producing a high quality podcast episodes takes time, and I didn't have enough time for doing that.

Re: Chibicc: A Small C Compiler

#42

maybe the author can verify, from what I could see it generates assembler files that one should save to a .S file and then can be run with gcc's `cc -o executable file.S`.

It produces a .S file if `-S` flag was given. By default, it produces a .S file in a temporary and assemble it with `as` and write its output object file (an .o) file is produced as an output from the compiler.

Re: Chibicc: A Small C Compiler

#43

Awesome project! > When I find a bug in this compiler, I go back to the original commit that introduced the bug and rewrite the commit history as if there were no such bug from the beginning. This is an unusual way of fixing bugs, but as a a part of a book, it is important to keep every commit bug-free. Ooo la la! "Chibicc Vol. II, The Bugs" !? In all seriousness, a book about the bugs would be (IMO) even more fun to…

I would read that book.

Re: Chibicc: A Small C Compiler

#44
post #24
post #19

https://bellard.org/tcc/ Probably best know and with loooong beard...

https://en.m.wikipedia.org/wiki/Small-C This is what I think of when I see Small C as a proper noun.

Me as well, that was my introduction to C, before I eventually had access to Turbo C 2.0 for MS-DOS.

Re: Chibicc: A Small C Compiler

#45
post #41

Oh man I used to be a die hard fan of the author's 'turing complete fm[1]' podcast. It seems like he has stopped publishing new episodes, wonder what happened. [1] https://turingcomplete.fm/

Nothing in particular has happened to me, but producing a high quality podcast episodes takes time, and I didn't have enough time for doing that.

Oh I see, thank you for your response. I'm glad that you intend to continue the podcast, can't wait for the next episode :)

Re: Chibicc: A Small C Compiler

#46

Oh man I used to be a die hard fan of the author's 'turing complete fm[1]' podcast. It seems like he has stopped publishing new episodes, wonder what happened. [1] https://turingcomplete.fm/

Hard to tell. Maybe some die hard fan could shed some light

I follow him on Twitter and I haven't seen any 'official' info reading the podcast. But Mr.Rui did confirm in this thread that he would be continuing the podcast so seems like it will continue :)

Re: Chibicc: A Small C Compiler

#47

Oh man I used to be a die hard fan of the author's 'turing complete fm[1]' podcast. It seems like he has stopped publishing new episodes, wonder what happened. [1] https://turingcomplete.fm/

Looks like it's a Japanese podcast? Or is there an English version?

Oh, yes the podcast is only in Japanese.

Re: Chibicc: A Small C Compiler

#48

Awesome project! > When I find a bug in this compiler, I go back to the original commit that introduced the bug and rewrite the commit history as if there were no such bug from the beginning. This is an unusual way of fixing bugs, but as a a part of a book, it is important to keep every commit bug-free. Ooo la la! "Chibicc Vol. II, The Bugs" !? In all seriousness, a book about the bugs would be (IMO) even more fun to…

Relevant: Knuth's paper "The Errors of TeX"

https://yurichev.com/mirrors/knuth1989.pdf

Post reply on HN