← Back to context

Comment by DrNosferatu

2 years ago

My feeling is that if Zig drops C++ support, there seems to be enough momentum on the C++-dependent users, that they will just fork Zig...

Can't LLVM be optional, and have unit tests guarantee that it works as before?

The above, or - as mentioned elsewhere, implement a C++ compiler in Zig: quickly, and before making any breaking changes - quite a tall order.

Or bring into Zig an existing pure-C, C++ compiler.

...TinyC/libtcc? PCC? LCC? (wild guesses)

...wild guesses as in extending them, that is.

Of course, GCC could be brought in, and compiled with Zig ;)