Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.lisp,comp.lang.c,comp.lang.asm,alt.lang.asm,comp.os.msdos.programmer,comp.lang.misc Subject: Re: Making a C compiler in Rust Date: Fri, 21 Aug 2026 16:48:02 -0700 Organization: A noiseless patient Spider Lines: 13 Message-ID: <87ecfrnih9.fsf@nightsong.com> References: <110a9pp$ckmk$6@dont-email.me> <110nf0q$3vra6$3@dont-email.me> <87y0gg62cx.fsf@nightsong.com> <110rfqf$142ot$1@dont-email.me> <111ne5o$vsm3$3@dont-email.me> <111pbk6$36pi7$1@dont-email.me> <111sb7u$3ua8h$7@dont-email.me> <8fj54lpvg7v6mhi9r9u39tpojbjage8br4@4ax.com> <87mrwdyt0t.fsf@nightsong.com> <1127cho$34rpg$3@dont-email.me> <112o4aa$cpek$2@dont-email.me> <87jyqdtumj.fsf@gmail.com> <87bjbn2nhs.fsf@safunu.org> <114j8kl$34k3s$1@dont-email.me> <8733wtuwti.fsf@gmail.com> <87ik53nnbc.fsf@nightsong.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 21 Aug 2026 23:48:07 +0000 (UTC) Injection-Info: dont-email.me; logging-data="768962"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194drelmQG46rOk4J+UslDA"; posting-host="ff27df348c4ff7eb27209517aac0a427" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:puP8vcVZ0MsYTmQlpxRRLig7+J4= sha1:KT9J9Q0TRG0rj/It7z5VtHOwRMY= sha256:36OdmDsFn7MLnDJwWCTdChPQ10lrNS19LdU0uMPYX0E= sha1:Zc587wyHTIAQbd2GN491WCjSaxE= sha256:Xc5CAXaTVjzoj973LANqTMZ0HLgktrImc5QvC6INBq8= Xref: csiph.com comp.lang.lisp:61526 comp.lang.c:401419 alt.lang.asm:8882 comp.os.msdos.programmer:4575 comp.lang.misc:11816 Johann 'Myrkraverk' Oskarsson writes: > I have indeed read Appel's book in ML, and am currently on a co-course > writing the Tiger compiler in C. He also has an edition in Java, which > I have not read. I'd go for the ML version of that book. He made the apt comment that C is a terrible language for writing compilers in. Lisp is much better, but ML, Haskell, and so on are almost perfectly suited for the purpose. Regarding Lisp, the most interesting dialect these days might be Clojure, if you can stand the stench of the JVM that accompanies it. Its ideas are more modern than those of CL. I haven't tried it myself so far. Again the JVM is to blame.