久久综合色88_欧美激情国产日韩精品一区18_午夜精品一区二区三区在线观看 _自拍日韩亚洲一区在线

課程目錄:Comprehensive Lua培訓(xùn)
4401 人關(guān)注
(78637/99817)
課程大綱:

  Comprehensive Lua培訓(xùn)

 

 

 

Introduction to Lua
A bit of history
Lua's goals, features and non-goals
Resources of Lua documentation and tutorials
Installing the Lua interpreter
Setting up and using LuaRocks
Basic syntax and semantics
Identifiers
Comments, block comments
Global variables and enforcing of strictness
Local variables
Standalone programs, program arguments
Compilation units, chunks, expressions, semicolons
Data types and data structures
Basic types: nil, boolean, number, string
Object types: function, userdata, thread, table
References/objects vs. basic values
The importance of tables in Lua
Introduction to tables and their versatility
Tables as an associative array
Tables as numeric arrays, sequences
Basic control structures
The if then elseif else end
The while loop
The repeat loop
The simple for loop
Error handling
Return values vs exceptions
Converting a return value to an exception
Converting an exception to a return value
Error levels
Example programs
Polynomial evaluation
Breadth first search
Additional exercises
More about functions
Named arguments
Object-oriented calls
Closures
Currying
Tail calls
Multiple assignment and return
Varargs
Iterators and co-routines
The generic for loop
Stateless vs stateful iterators
Differences between iterators and co-routines
Metatables and metamethods
The set example
The __tostring metamethod
Arithmetic metamethods
The __index, __newindex metamethods
The __len metamethod
Modules and packages
Using modules
Creating modules
Organizing modules into packages
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
Compilation
Compilation
Eval
Relationship with the environment
Binary chunks
Garbage collection
Weak tables
Finalizers, the __gc meta-method
Lua bytecode and virtual machine
Generating bytecode from source code
Reading and analyzing bytecode
Quick tour of the source code of the Lua VM
C modules
Calling C from Lua
Search path and loading of C modules
Calling Lua from C
The Stack
Error handling
Continuations
Handling Lua values and types from C
Arrays
Strings
Userdata
Metatables
Object oriented calls
Light userdata
Memory management
Allocators
GC API
Threads in Lua
Co-routines vs threads
Real multi-threading and Lua states

主站蜘蛛池模板: 岛国一区二区三区高清视频| 日韩免费av片在线观看| 日本一区二区黄色| 久久久国产精品免费| 国产日韩亚洲欧美在线| 亚洲一区二区三区在线观看视频| 秋霞久久久久久一区二区| 97久久精品视频| 日本欧美一二三区V| 久久国产精品视频在线观看| 亚洲日本一区二区三区在线不卡| 色妞一区二区三区| 国产精品免费观看久久| 国产精品视频免费一区| 91国产精品91| 99视频在线免费观看| 日韩视频在线免费播放| 日韩在线三区| 国产日韩欧美在线播放| 久久99久久久久久| 99视频在线| 国产精品视频999| 日韩精品 欧美| 国产精品免费观看久久| 日韩少妇中文字幕| 久久99亚洲精品| 国产精品三级一区二区| 日本黄网免费一区二区精品| 高清视频一区| 国产精品福利观看| 欧美韩国日本精品一区二区三区| 国产日本欧美在线| 日韩国产精品一区二区三区| www.xxxx精品| 国产精品久久久久av| 国产精品一区av| 精品无码av无码免费专区| 日韩精品视频一区二区在线观看| 九九热精品视频| 欧美成人精品在线| 国产成人精品在线播放|