YoVDO

Embedding Lua in C++

Offered By: YouTube

Tags

Lua Courses C++ Courses Object-oriented programming Courses Memory Allocation Courses

Course Description

Overview

Dive into a comprehensive 10-hour video playlist exploring the intricacies of embedding Lua in C++ applications using the Lua C API. Learn advanced techniques from building Lua from source to implementing complex features like memory allocation, run-time type information, and object-oriented access. Explore topics such as running Lua scripts, manipulating the Lua stack, calling functions between C and Lua, working with native types and tables, and utilizing metatables and metamethods. Gain insights into advanced memory management techniques, including arena, aligned, and freelist allocations. Master the implementation of run-time type information for seamless integration between C++ and Lua, covering native function calls, parameter passing, and object creation/destruction. Ideal for experienced developers familiar with both Lua scripting and C++ programming looking to enhance their applications with embedded Lua functionality.

Syllabus

Embedding Lua in C++ #1 - Building Lua From Source.
Embedding Lua in C++ #2 - Running a Lua Script.
Embedding Lua in C++ #3 - Explaining Types And The Lua Stack.
Embedding Lua in C++ #4 - Calling A Lua Function From C.
Embedding Lua in C++ #5 - Passing Function Parameters From C to Lua.
Embedding Lua in C++ #6 - Calling Native Functions From Lua.
Embedding Lua in C++ #7 - Using Native Types in Lua.
Embedding Lua in C++ #8 - Tables.
Embedding Lua in C++ #9 - Metatables and Metamethods.
Embedding Lua in C++ #10 - Calling C++ Constructors and Destructors.
Embedding Lua in C++ #11 - Object Oriented Access.
Embedding Lua in C++ #12 - Reading Object Properties.
Embedding Lua in C++ #13 - Writing Object Properties.
Embedding Lua in C++ #14 - User Values.
Embedding Lua in C++ #15 - Memory Allocation.
Embedding Lua in C++ #16 - Arena Memory Allocation.
Embedding Lua in C++ #17 - Aligned Memory Allocation.
Embedding Lua in C++ #18 - Freelist Memory Allocation.
Embedding Lua in C++ #19 - Fallback Memory Allocator.
Embedding Lua in C++ #20 - Upvalues & Light Userdata.
Embedding Lua in C++ #21 - Explaining Run Time Type Information.
Embedding Lua in C++ #22 - Building Run Time Type Information.
Embedding Lua in C++ #23 - Calling Native Functions Using Run Time Type Information.
Embedding Lua in C++ #24 - Passing Parameters Using Run Time Type Information.
Embedding Lua in C++ #25 - Return Values Using Run Time Type Information.
Embedding Lua in C++ #26 - Creating Native Objects Using Run Time Type Information.
Embedding Lua in C++ #27 - Destroying Native Objects Using Run Time Type Information.
Embedding Lua in C++ #28 - Calling Class Methods Using Run Time Type Information.
Embedding Lua in C++ #29 - Class Method Parameters Using Run Time Type Information.
Embedding Lua in C++ #30 - Reading Class Properties Using Run Time Type Information.
Embedding Lua in C++ #31 - Handling User Values Using Run Time Type Information.
Embedding Lua in C++ #32 - Writing Object Properties Using Run Time Type Information.
Embedding Lua in C++ #33 - Calling Lua Functions Using Run Time Type Information.
Embedding Lua in C++ #34 - Refactoring To Support Pass By Reference Parameters.
Embedding Lua in C++ #35 - Passing Parameters By Reference From Native Code To Lua.


Taught by

Dave Poo

Related Courses

C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
لغة البرمجة C++ لمبرمجي اللغة C، الجزء (أ)
University of California, Santa Cruz via Coursera
C Programming for Everybody
University of Michigan via Coursera
Programming Fundamentals: C++
City College of San Francisco via California Community Colleges System
Learn C++: References and Pointers
Codecademy