Konstantin8105 / c4go

Transpiling C code to Go code
MIT License
363 stars 38 forks source link

Question: Why only `clang`? #510

Closed texadactyl closed 2 months ago

texadactyl commented 2 months ago

I have nothing against the clang compiler. But, most of the world on Linux and Unix use the Gnu compilers. Are there features required in c4go that gcc/g++ do not support?

Consider expanding your horizons! (:

texadactyl commented 2 months ago

You might find this entertaining: https://www.incredibuild.com/blog/gcc-vs-clang-battle-of-the-behemoths

Konstantin8105 commented 2 months ago

AST (abstract semantic tree). Gcc and clang created are absolutely different AST. So, gcc will not support in future and do not need.

texadactyl commented 2 months ago

I understand. I'll look for another methodology or tool.

My colleagues have been using ChatGPT with about a 90% success rate. They think that's acceptable. Time will tell.

Konstantin8105 commented 1 month ago

That project created preliminary 7 years ago before any ChatGPT. Fell free to use all, if you want.