Shecc: A self-hosting and educational C optimizing compiler
1–10 of 23 posts
Re: Shecc: A self-hosting and educational C optimizing compiler
#2Re: Shecc: A self-hosting and educational C optimizing compiler
#3Re: Shecc: A self-hosting and educational C optimizing compiler
#4Re: Shecc: A self-hosting and educational C optimizing compiler
#5I've been working on a C compiler with the goal of ANSI C compliance, and most of the projects described as a "C compiler" seem to only support an arbitrary subset of C. This project seems to support more than most educational/toy CCs, but I still believe there’s value in implementing full standard C.
Maybe it's legitimate to say "TCC must be a single-file amalgam first and you have to use an external preprocessor".
Re: Shecc: A self-hosting and educational C optimizing compiler
#6I've been working on a C compiler with the goal of ANSI C compliance, and most of the projects described as a "C compiler" seem to only support an arbitrary subset of C. This project seems to support more than most educational/toy CCs, but I still believe there’s value in implementing full standard C.
Re: Shecc: A self-hosting and educational C optimizing compiler
#7Re: Shecc: A self-hosting and educational C optimizing compiler
#8I've been working on a C compiler with the goal of ANSI C compliance, and most of the projects described as a "C compiler" seem to only support an arbitrary subset of C. This project seems to support more than most educational/toy CCs, but I still believe there’s value in implementing full standard C.
What're you thinking of doing with the preprocessor? Accept the complexity and build that too, run a pre-existing one, implement a subset of it, other...
Re: Shecc: A self-hosting and educational C optimizing compiler
#9I'm not writing production software for a large audience, at best tools for myself which a few others might use.
Yet, it also seems a waste to be using what many now regard as out dated tech.
It would be a great thing if a C-2030 could be arranged with a new standard library and a move-semantics compiler mode (say).
Re: Shecc: A self-hosting and educational C optimizing compiler
#10I keep vacillating on whether to use Go or Rust for my next cli or desktop tool (eg., for desktop egui in Rust). However, every time I see C or start to write it, I just see in it too much fun. In Go I see boredem, and Rust, frustration. I'm not writing production software for a large audience, at best tools for myself which a few others might use. Yet, it also seems a waste to be using what many now regard as out da…
Oh, and less undefined behaviors.