[LLVMdev] Using C++'11 language features in LLVM itself
Konstantin Tokarev
annulen at yandex.ru
Thu Jan 10 02:43:09 PST 2013
09.01.2013, 04:11, "Chris Lattner" <clattner at apple.com>:
> It's seems like a quiet and peaceful day, lets stir things up a bit :)
>
> How crazy would it be for us to start using basic C++'11 language features (but not C++'11 library features) in LLVM:
> things like auto
It can make code less readable because of missing types. When compiler can deduce type, it doesn't always mean that human do it easily when reading the code.
> rvalue-refs
It is not very helpful when compiler can do return value optimization.
> lambdas
May significantly degrade readability when used lightly.
What is the purpose of these changes then? Just to use brand new kinds of syntactic sugar?
--
Regards,
Konstantin
More information about the llvm-dev
mailing list