Lua Programming: Syntax, Concepts, and Examples - 3nd Edition

Автор: literator от 10-01-2021, 15:33, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Lua Programming: Syntax, Concepts, and Examples - 3nd EditionНазвание: Lua Programming: Syntax, Concepts, and Examples - 3nd Edition
Автор: Alexander Aronowitz, John Bach
Издательство: NLN lnc
Год: 2021
Страниц: 385
Язык: английский
Формат: pdf, rtf, epub
Размер: 10.1 MB

Despite being a fast and powerful programming language, Lua is very easy to use and learn. Programmers can easily embed this language into their applications.

The basic purpose of Lua’s development was the creation of an embeddable lightweight scripting language that can be used in a variety of programming activities, such as web applications, image processing, and games.

Lua designed from the beginning to integrate with software software written in C/C ++ and other common strange languages. There are many benefits to this integration. Lua is a tiny and simple language, partly because it doesn't tries to do what C is already good at, such as speed, low-level operations and interaction with third-party programs parties. Lua relies on C for these tasks. 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.

More than an extensible language, Lua is a "glue vayushim" (glue) language . Lua supports a component-based approach to software development when we create an application by gluing together existing high-level components. These components are written in a compiled language with a static typing such as C/C ++; Lua is the glue we use use to arrange and connect these components.

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. For example, many developers Lightroom plugins are unaware of other uses of this language; Nmap users generally view Lua as scripting Nmap language; World of Warcraft players can view Lua as a language exclusively for this game.

Lua is also useful as just an independent language, not only for word processing and one-time small programs, but also for a variety of medium to large sized projects. For the In this way, the main functionality of Lua comes from its libraries. Standard libraries, for example, provide basic new functionality for working with templates and other functions for working with strings. As Lua improves its support libraries, a large number of external packages appeared. Lua Rocks, a system for building and managing modules for Lua, now has over 150 packages. Finally, there are programmers who use Lua as a library flow for C. Such people write more in C than in Lua, although they need requires a good understanding of Lua to create interfaces that are simple, easy to use and well integrated tied with the tongue. This book can be useful to all of these people.

Скачать Lua Programming: Syntax, Concepts, and Examples - 3nd Edition








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.