Overview
Syllabus
Intro
About me
A little bit of history...
Lua in the wild
Lua is small
The whole language fits into your head
Disclaimer
Hello World!
All functions are lambdas
Replacing functions is trivial
Function Hooking - Counting print calls
Capturing state with function closures
Object Construction
Metatables - Tables describing object properties
Metatables on non-table values
Encapsulation
Reflection
Back to function hooking
Constraining the environment
Integration with C++
The Stack - The needle's eye
Pushing values on the stack (2)
Getting values from the stack
Calling functions
Constraining functions
Sol 2 - An efficient binding library for C+++
Exposing C++ to Lua with Sol 2
From C++ to Lua and back
Wrapping up
Literature
Taught by
code::dive conference