Advanced Lua

Course Code



14 hours (usually 2 days including breaks)


Basic knowledge of the Lua programming language


This is an advanced course on Lua, where basic knowledge of the programming language is already assumed. Therefore, this course gives the participant a more profound understanding of Lua internals and the "why" behind the used Lua idioms.

These advanced topics are demonstrated by plenty of examples and in-class exercises.

Course Outline

Advanced tables

  • Tables for queues and stacks
  • Tables describing graphs
  • Matrices as tables
  • Linked lists as tables
  • String buffers

Metatables through examples

  • Proxies
  • Readonly
  • Memoization
  • Dynamic programming with memoization
  • The Fibonacci example


  • Relationship between global variables and environments
  • Free variables
  • The _ENV table and the _G table

More about modules

  • Different approaches to creating modules
  • Modules that change the behavior
  • Module initialization and arguments
  • Using environments to implement safe modules

Advanced iterators and co-routines

  • Producer, consumer, filter
  • Wrapping co-routines to get iterators
  • Stateless iterator for linked lists

Contributing to the Ecosystem

  • Uploading packages to MoonRocks

Functional paradigm in Lua

  • The map function
  • The reduce / fold function

Object-oriented Programming

  • Different approaches to OOP
  • Different approaches to inheritance
  • Examples

A walkthrough of the Lua Standard Libraries



Bookings, Prices and Enquiries

Private Classroom

From 3600EUR

Private Remote

From 3000EUR (4)

Public Classroom

Location Date Course Price [Remote/Classroom]
Kiev, Holosiyvskiy Park 2018-12-03 09:30:003000EUR / 3600EUR
Kiev, Holosiyvskiy Park 2019-01-29 09:30:003000EUR / 3600EUR
Kiev, Holosiyvskiy Park 2019-03-26 09:30:003000EUR / 3600EUR
Kiev, Holosiyvskiy Park 2019-05-16 09:30:003000EUR / 3600EUR
Cannot find a suitable date? Choose Your Course Date >>Too expensive? Suggest your price

Course Discounts

Course Venue Course Date Course Price [Remote / Classroom]
Anti-Money Laundering (AML) and Combating Terrorist Financing (CTF) Kiev, Holosiyvskiy Park Mon, 2018-11-26 09:30 3150EUR / 3750EUR
Activiti for Business Process Designers Kiev, Holosiyvskiy Park Wed, 2018-12-12 09:30 4725EUR / 5525EUR
Business Process Modeling using BPMN and UML Kiev, Holosiyvskiy Park Tue, 2019-04-02 09:30 3150EUR / 3750EUR
Elasticsearch Advanced Administration, Monitoring and Maintenance Kiev, Holosiyvskiy Park Tue, 2019-04-02 09:30 3150EUR / 3750EUR
Statistical Quality Analysis Kiev, Holosiyvskiy Park Thu, 2019-04-11 09:30 1575EUR / 1975EUR

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients

is growing fast!

We are looking to expand our presence in Ukraine!

As a Business Development Manager you will:

  • expand business in Ukraine
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

contact us right away!