Главная
Study mode:
on
1
Intro
2
About me
3
A little bit of history...
4
Lua in the wild
5
Lua is small
6
The whole language fits into your head
7
Disclaimer
8
Hello World!
9
All functions are lambdas
10
Replacing functions is trivial
11
Function Hooking - Counting print calls
12
Capturing state with function closures
13
Object Construction
14
Metatables - Tables describing object properties
15
Metatables on non-table values
16
Encapsulation
17
Reflection
18
Back to function hooking
19
Constraining the environment
20
Integration with C++
21
The Stack - The needle's eye
22
Pushing values on the stack (2)
23
Getting values from the stack
24
Calling functions
25
Constraining functions
26
Sol 2 - An efficient binding library for C+++
27
Exposing C++ to Lua with Sol 2
28
From C++ to Lua and back
29
Wrapping up
30
Literature
Description:
Explore Lua programming for C++ developers in this 59-minute conference talk from code::dive 2017. Dive into Lua's history, its widespread use, and its compact design. Learn about lambdas, function hooking, closures, and object construction. Discover metatables, encapsulation, and reflection techniques. Examine Lua's integration with C++, including stack manipulation and function constraints. Introduce Sol 2, an efficient binding library for C++, and learn how to expose C++ to Lua and vice versa. Gain valuable insights into Lua's unique features and its synergy with C++ programming.

Howling at the Moon - Lua for C++ Programmers

code::dive conference
Add to list