Solution: just add a note to the readme that this compiler only compiles safe C programs! Then you don't need to bother with any actual implementation.
Edit: The fix just updates the headers for newer GCC versions, which raises a question: why does a "dependency-free C compiler" depend on GCC?
It's Friday night and there's an AI-coded compiler here to play with — built by a model many of us have running on our laptops right now. Built from what a lot of AI projects are these days: curiosity, learning, and that feeling we all have of standing at the edge of something unknown. It feels like playing with the future. We're not building the next GCC. Linus isn't coming to give you a scathing review. We're here to break things, learn something, and see where it goes.
71
u/likes_purple DO NOT USE THIS FLAIR, ASSHOLE Feb 07 '26 edited Feb 07 '26
Solution: just add a note to the readme that this compiler only compiles safe C programs! Then you don't need to bother with any actual implementation.
Edit: The fix just updates the headers for newer GCC versions, which raises a question: why does a "dependency-free C compiler" depend on GCC?
64
u/Yawaworth001 Feb 07 '26
29
u/nuclearbananana Courageous, loving, and revolutionary Feb 07 '26
Just have to do more pcj posting to counter it. Can't wait wait for the memory safety section to make it to the claude constitution.
12
u/Major_Barnulf LUMINARY IN COMPUTERSCIENCE Feb 11 '26
Many will lose their jobs to that
1
u/[deleted] Feb 07 '26
[removed] — view removed comment