3 ms·
> GCC and Clang are state of the art optimizing compilers for C/C++ and it's interesting that all the effort to optimize compilers is for those languages. The
by Denvercoder9 4y ago
> GCC and Clang are state of the art optimizing compilers for C/C++ and it's interesting that all the effort to optimize compilers is for those languages.
The optimizers from GCC and Clang aren't usable just for C/C++. Both compilers have frontends for different languages that share the optimization pipeline. For example, GCC has a D frontend, and the Zig compiler has a LLVM backend.
- chubot 4y agoYup, rust swift Julia and I think crystal use LLVM. Zig used it to bootstrap too LLVM has definitely enabled more language diversity!