Автор: John Bach, Claudia Alves, Alexander Aronowitz
Издательство: NLN LLC
Год: 2021
Страниц: 385
Язык: английский
Формат: pdf, azw3, epub
Размер: 10.1 MB
Lua is a lightweight embeddable scripting language which is built on top of C programming language. Lua is an open source language which is useful for multiple platforms ranging from large server systems to small mobile applications. This book will cover the basics of Lua and its scope in various applications.
Lua offers something for which C is not good enough: sufficient distance from the hardware go support, dynamic structures, no redundancy and ease of testing and debugging. For these purposes, Lua has safe environment, automatic memory management and good possibilities for working with strings and other types resizable data. Some of Lua's strength comes from its libraries. And this is no coincidence. In the end Finally, one of the main strengths of Lua is extensibility. Many language features contribute to this. Dynamic typing tion provides a large degree of polymorphism. Automatic memory management simplifies interfaces because there is no need to the ability to decide who is responsible for allocating and freeing memory or how to handle overflows. Higher-order functions and anonymous functions allow a high degree of parameterization, making functions more versatile.
The audience:
Lua users generally fall into one of three broad groups: those who use Lua already built into the application, those who use use Lua separately from any application (standalone), and those who use Lua and C together. Many people use Lua built into some application, like Adobe Lightroom, Nmap, or World of Warcraft. These pri- applications use the Lua-C API to register new functions, creating new types and changing the behavior of some operations language by configuring Lua for its area. Often users are whom applications don't even know that Lua is an independent language, adapted for the given area.
Скачать Programming in Lua: The Ultimate Beginner's Guide to Learn Lua Step by Step , Fourth Edition