Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4573

Re: Making a C compiler in Rust

From Paul Rubin <no.email@nospam.invalid>
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 2026-08-21 15:03 -0700
Organization A noiseless patient Spider
Message-ID <87ik53nnbc.fsf@nightsong.com> (permalink)
References (16 earlier) <87bjbn2nhs.fsf@safunu.org> <114j8kl$34k3s$1@dont-email.me> <YlabS.636$s8Z7.262@fx09.ams4> <8733wtuwti.fsf@gmail.com> <D1RhS.105827$pS.21221@fx16.ams4>

Cross-posted to 6 groups.

Show all headers | View raw


Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> writes:
> It'll be a good exercise between coding a C compiler in Rust, so I have
> added comp.lang.misc to this discussion, since I am completely unaware
> of a group dedicated to Rust.  How would we make one?

Maybe you wanted comp.compilers.  A compiler doesn't seem like a great
idea of a beginning Rust project though, and Rust IMHO isn't that
attractive for the purpose.  Plus of course C is a terrible language for
which there are plenty of compilers: who needs another?

For a general book about compilers I'll suggest Andrew Appel's "Modern
Compiler Implementation in ML" (1998, if you can count that as modern)
in preference to the older Dragon book ("Principles of Compiler
Design"):

  https://www.cs.princeton.edu/~appel/modern/

I also just saw somewhere (probably here) that Scott Burson's Zeta-C is
now downloadable from somewhere.  It's a C compiler for Lisp machines,
written in Zetalisp, which is fairly close to Common Lisp.  Since this
is still the Lisp newsgroup, maybe that's the most relevant.

Oh yikes, all that cross posting.  Sorry everyone.

Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Making a C compiler in Rust (was: Re: Resources to learn common lisp?) Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-21 13:06 +0800
  Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?) "Kerr-Mudd, John" <admin@127.0.0.1> - 2026-08-21 11:34 +0100
    Re: Making a C compiler in Rust (was: Re: Resources to learn common lisp?) Michael S <already5chosen@yahoo.com> - 2026-08-21 14:13 +0300
      Re: Making a C compiler in Rust Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-22 02:23 +0800
  Re: Making a C compiler in Rust Paul Rubin <no.email@nospam.invalid> - 2026-08-21 15:03 -0700
    Re: Making a C compiler in Rust Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-22 07:24 +0800
      Re: Making a C compiler in Rust Paul Rubin <no.email@nospam.invalid> - 2026-08-21 16:48 -0700

csiph-web