The new clang constant interpreter
- đ¤ Speaker: Nandor Licker (University of Cambridge)
- đ Date & Time: Wednesday 16 October 2019, 11:00 - 12:00
- đ Venue: GS15, Computer Laboratory
Abstract
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.
Series This talk is part of the Computer Laboratory Computer Architecture Group Meeting series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Computer Laboratory Computer Architecture Group Meeting
- Department of Computer Science and Technology talks and seminars
- GS15, Computer Laboratory
- Interested Talks
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)


Wednesday 16 October 2019, 11:00-12:00