Real Time Logic has released the first public version of Barracuda Lua Server Pages, or LSP for short. LSP follows the PHP syntax, and the server side HTML tags start with “<?lsp” and ends with “?>”. LSP is very fast when for example compared to PHP. LSP can also handle multiple concurrent requests.
LSP is a plugin to the Barracuda Embedded Web Server. The server is specifically designed to be run in embedded devices, but can also be run on host computers. Lua is designed as a script language to embed in other programs. The implementation is extensible. LSP pages can be maintained with commonly available HTML/XML tools.
On top of all of the great reason why Lua is good non-embedded, it has a straightforward license for embedding, few dependencies, unobtrusive API, a small binary footprint, and very readable/modifiable source code. The Lua core depends lightly on the ANSI C runtime library. It requires only a few simple runtime library functions and basic C standard library functions.
Another feature that is nice for embedded applications that have limited memory is that the larger parts of the Lua core (lexer, parser, and code generator) can be very easily removed, and still leave a fully functional Lua, which of course can only run precompiled programs.
The new LSP plugin is included in our free BarracudaDrive server. The server targets home users and comes with many features that are useful for remote PC management. BarracudaDrive is free for PC, Mac, and Linux.
Links of interest: