lua as scripting language (and alternative to POSIX sh)

This page summarizes the projects mentioned and recommended in the original post on /r/suckless

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Wren

    The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.

  • If speed is really a concern (seldomly it is, since most of the time is spent executing the programs in shells, not the scripting part) you can use Wren or LuaJIT, Wren is a faster language but it's not as compatible as Lua (it uses some tricks like NaN-tagging which needs IEEE 754 double precision floating point type, and it needs a C99 compiler which is, while still widely available, not present on every system unlike a C89 compiler) and LuaJIT is even less compatible (it's compatible with most major platforms, tho) but if you use its builtin FFI, you may even get more-than-C speeds! LuaJIT is also only Lua 5.1 compatible unfortunately.

  • LuaJIT

    Mirror of the LuaJIT git repository

  • If speed is really a concern (seldomly it is, since most of the time is spent executing the programs in shells, not the scripting part) you can use Wren or LuaJIT, Wren is a faster language but it's not as compatible as Lua (it uses some tricks like NaN-tagging which needs IEEE 754 double precision floating point type, and it needs a C99 compiler which is, while still widely available, not present on every system unlike a C89 compiler) and LuaJIT is even less compatible (it's compatible with most major platforms, tho) but if you use its builtin FFI, you may even get more-than-C speeds! LuaJIT is also only Lua 5.1 compatible unfortunately.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts