Advanced Lua Training Course

Primary tabs

Duration Duration

14 hours (usually 2 days including breaks)

Requirements Requirements

Basic knowledge of the Lua programming language

Overview Overview

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 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

Environments

  • 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

Guaranteed to run even with a single delegate!
Public Classroom Public Classroom
From CA$6600
(90)
Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet. More Information

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Remote
1 CA$6600 CA$4300
2 CA$3750 CA$2525
3 CA$2800 CA$1933
4 CA$2325 CA$1638
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories

Related Courses


Upcoming Courses

VenueCourse DateCourse Price [Remote / Classroom]
BC, Vancouver Park PlaceWed, Jul 12 2017, 9:30 amCA$4300 / CA$6700
BC, Vancouver - World Trade CenterMon, Jul 17 2017, 9:30 amCA$4300 / CA$6700
NL, St. John's WestTue, Jul 25 2017, 9:30 amCA$4300 / CA$7300
NB, Saint JohnWed, Jul 26 2017, 9:30 amCA$4300 / CA$7300
ON, Scarborough – 10 Milner Business CourtWed, Jul 26 2017, 9:30 amCA$4300 / CA$6660

Course Discounts

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