Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Practical TMP - A C++17 Compile Time Register Machine

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a conference talk from CppNow 2021 that delves into the practical applications of C++17 compile-time register machines. Learn about the Turing completeness of C++ compile-time programming and its potential for real-world use. Discover how to design and implement a performant compile-time register machine, understand its theoretical foundations, and explore practical applications. Gain insights into debugging techniques, performance considerations, and organizational design principles. Follow along with demonstrations, including baseline cost analysis, naive factorial implementation, and function composition. Understand how this approach can enhance code writing and solve complex problems at compile-time.

Syllabus

Introduction
Theory
Continuation Passing
Nesting Depth Problem
Organizational Design
Debugging
Performance
Demonstrations
Baseline
Cost
Naive Factorial
Print Functions
Naive
Convenience
Nesting Depth
Filtering Function Composition
Compose
Test
Conclusion

Taught by

CppNow

Reviews

Start your review of Practical TMP - A C++17 Compile Time Register Machine

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.