Comment by uecker

1 month ago

Cool! And I do think the world needs more C compilers. There is so much you could do with this language, but it needs to be disentangled from the C++ compiler behemoths. (yes, I now that there are other small C compilers)

There is the TCC. Adapting that would probably be a faster path to a full featured C compiler on esp32 than building up my xcc700. This is more of an educational sandbox project.

  • I know, and there are chibicc, kefir, etc. .. and I have my own experimental C compiler.

    • I would love to see how you handle variably-modified types, the way I retrofitted them onto chibicc never felt quite right, and I've never seen another non-gcc/clang compiler fully support noplate's VM type patterns.

      3 replies →

What we need is safety improvements in C, we already have enough security exploits in the standard library, strings and arrays, no need for more, without fixing what is broken since 1979 (lint birth year).

  • I am looking forward to your contributions.

    • I have been contributing with C++ code since 1993, with bounded checked collection types in release code, and compiled managed languages since mid 2000's.

      Even Dennis Ritchie and Ken Thompson themselves, went on with Alef, Limbo and Go.

      I have been contributing by reducing my C, and C++ footprint on the planet, and security enforcement at various assignments.

      5 replies →