StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
Lua
ByLuaLua

Lua

#61in Languages
Stacks2.36kDiscussions11
Followers1.02k
OverviewDiscussions11

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 Pros & Cons

Pros of Lua

  • ✓Fast learning curve
  • ✓Efficient memory usage
  • ✓Very easy to embed in C programs
  • ✓Open source
  • ✓Good for game scripting
  • ✓Pretty simple to learn
  • ✓Quick to code
  • ✓Simple Language
  • ✓Supported in most game engines
  • ✓Syntax is amazing

Cons of Lua

  • ✗Nooby
  • ✗Not widespread
  • ✗D
  • ✗Python

Lua Alternatives & Comparisons

What are some alternatives to Lua?

JavaScript

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.

Python

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.

HTML5

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.

PHP

PHP

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Java

Java

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

TypeScript

TypeScript

TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.

Lua Integrations

Corona SDK, MoonScript, Google Code Prettify, Crown, 3Cols and 7 more are some of the popular tools that integrate with Lua. Here's a list of all 12 tools that integrate with Lua.

Corona SDK
Corona SDK
MoonScript
MoonScript
Google Code Prettify
Google Code Prettify
Crown
Crown
3Cols
3Cols
Apache SkyWalking
Apache SkyWalking
OpenGrok
OpenGrok
Crossbar.io
Crossbar.io
Mako Server
Mako Server
Starship (Shell Prompt)
Starship (Shell Prompt)
Devo
Devo
Zed
Zed

Lua Discussions

Discover why developers choose Lua. Read real-world technical decisions and stack choices from the StackShare community.Showing 4 of 5 discussions.

hbagdi
hbagdi

Dec 4, 2018

Needs adviceonPrometheusPrometheusLogstashLogstashNGINXNGINX

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 Golang) 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.

0 views0
Comments
Judith Malnick
Judith Malnick

Developer Marketing Manager at Kong

Dec 4, 2018

Needs adviceonOpenRestyOpenRestyNGINXNGINXLuaLua

Kong is built on OpenResty because it allows us to extend NGINX with Lua scripts through the ngx_lua module. OpenResty bundles this module as well as many others, providing a powerful server for developers to extend.

We could have built a modular reverse proxy on NGINX either by bundling Nginx with our own flavor of 3rd party modules or by developing on top of OpenResty. We admired the work done on OpenResty and thought of a way to build a modulable core, on which plugins could be added. Hence, Kong is mostly a collection of Lua scripts that allow it to execute plugins at runtime for routes and services.

This decision is an adaptation of a Quora answer originally written by Thibault Charbonnier.

0 views0
Comments
papaver
papaver

captain of a starship

Feb 1, 2017

Needs adviceonLuaLua

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

0 views0
Comments
Marc Balmer
Marc Balmer

Mar 24, 2016

Needs adviceonLuaLua

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

0 views0
Comments
View all 5 discussions

Try It

Visit Website

Adoption

On StackShare

Companies
447
9ISNKO+441
Developers
1.12k
BDAFAV+1110