Comment by uecker

21 hours 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, and compiled managed languages since 2000's, as the effort to be part of either WG14 or WG21 for security minded developers isn't worth the trouble.

      So in conclusion, I have been contributing by reducing my C, and C++ footprint on the planet.