The quality of a language also comes from its compiler. Clang 3.3 will have this inside:

http://embed.cs.utah.edu/ioc/

To use it you have to compile with "-fsanitize=integer":

http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation

It slows down the code, but it's optional, it's meant mostly to debug programs, where some slowdown of the program is acceptable.

GCC is not coping with Clang development speed.

Is is possible to use ioc from LDC2? D language should enjoy all the nice things they keep adding to LLVM, otherwise C++ risks becoming more modern than D.

Bye,
bearophile

Reply via email to