Lua logo
Powerful, fast, lightweight, embeddable scripting language

What is Lua?

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
Lua is a tool in the Languages category of a tech stack.
Lua is an open source tool with 1.3K GitHub stars and 437 GitHub forks. Here’s a link to Lua's open source repository on GitHub

Who uses Lua?

Companies
55 companies use Lua in their tech stacks, including Shopify, Close, and Thumbtack.

Developers
22 developers use Lua.

Why developers like Lua?

Here’s a list of reasons why companies and developers use Lua
Lua Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose Lua in their tech stack.

Chris McFadden
Chris McFadden
VP, Engineering at SparkPost · | 7 upvotes · 18.5K views
atSparkPost
Lua
OpenResty
nginx

We use nginx and OpenResty as our API proxy running on EC2 for auth, caching, and some rate limiting for our dozens of microservices. Since OpenResty support embedded Lua we were able to write a custom access module that calls out to our authentication service with the resource, method, and access token. If that succeeds then critical account info is passed down to the underlying microservice. This proxy approach keeps all authentication and authorization in one place and provides a unified CX for our API users. Nginx is fast and cheap to run though we are always exploring alternatives that are also economical. What do you use?

See more
Go
Lua
OpenResty
nginx
Logstash
Prometheus

At Kong while building an internal tool, we struggled to route metrics to Prometheus and logs to Logstash without incurring too much latency in our metrics collection.

We replaced nginx with OpenResty on the edge of our tool which allowed us to use the lua-nginx-module to run Lua code that captures metrics and records telemetry data during every request’s log phase. Our code then pushes the metrics to a local aggregator process (written in Go) which in turn exposes them in Prometheus Exposition Format for consumption by Prometheus. This solution reduced the number of components we needed to maintain and is fast thanks to NGINX and LuaJIT.

See more
papaver
papaver
captain of a starship at electronic dreams · | 1 upvotes · 747 views
Lua

used lua as gameplay glue while at insomniac. one my favorite wins was integrating table support. it took walking the source code in a debugger to figure it out, still remember being at work at 3am when i got it working finally. (no google back then to make such things simple.) Lua

See more
Marc Balmer
Marc Balmer
at micro systems · | 1 upvotes · 733 views
atmicro systems
Lua

Lua is used as the programming language for all extensions and the main business logic. Lua

See more
AdamFrisby
AdamFrisby
| 1 upvotes · 730 views
atSine Wave Entertainment
Lua

We use Lua as our primary scripting language for third party developers - it's fast, the runtime can be quite small and fits into everywhere it needs to go - from mobile to web. Lua

See more

Lua Alternatives & Comparisons

What are some alternatives to Lua?
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Arduino
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives

Lua's Stats