YoVDO

Howling at the Moon - Lua for C++ Programmers

Offered By: code::dive conference via YouTube

Tags

Code::Dive Courses C Programming Courses Encapsulation Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

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

Related Courses

Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Foundations of Objective-C App Development
University of California, Irvine via Coursera
AP Computer Science A: Java Programming Classes and Objects
Purdue University via edX
Object Oriented Programming in Java
Microsoft via edX
Object Oriented Programming in Java
Udacity