University of Cambridge > Talks.cam > Computer Laboratory Computer Architecture Group Meeting > The new clang constant interpreter

The new clang constant interpreter

Add to your list(s) Download to your calendar using vCal

If you have a question about this talk, please contact Timothy M Jones.

Constexpr enables C++ to implement NP-complete solutions in constant time at execution time. In order to ensure that programmers do not grow old while such solutions compile, frontends should provide effective constexpr evaluators. clang’s evaluator relies of AST walking to compute constant values: while this is fast enough for simple expressions, performance does not scale well with the complexity of expressions, as loops or function calls are very slow. This talk introduces the new clang constant interpreter, which outperforms the AST walker and lays the groundwork for a scalable and optimisable constexpr evaluator.

This talk is part of the Computer Laboratory Computer Architecture Group Meeting series.

Tell a friend about this talk:

This talk is included in these lists:

Note that ex-directory lists are not shown.

 

© 2006-2019 Talks.cam, University of Cambridge. Contact Us | Help and Documentation | Privacy and Publicity