This tutorial aims at showing how eager execution, scripting and tracing can be implemented. The code might be not ideal, but hopefully it still shows the main components of the design and how different moving parts work together.
The tutorial includes following chapters:
- Implementing eager mode execution
- Introducing IR and implementing scripted mode
- Adding tracing
- Optimization example on IR
- Caching (aka Specialization)