Software Alternatives, Accelerators & Startups

Lua VS Zig

Compare Lua VS Zig and see what are their differences

Lua logo Lua

Powerful, fast, lightweight, embeddable scripting language

Zig logo Zig

Zig is a general-purpose programming language designed for robustness, optimality, and maintainability.
  • Lua Landing page
    Landing page //
    2023-01-29

We recommend LibHunt Lua for discovery and comparisons of trending Lua projects.

  • Zig Landing page
    Landing page //
    2023-08-19

We recommend LibHunt Zig for discovery and comparisons of trending Zig projects.

Lua videos

Is Lua A Good First Language To Learn?

More videos:

  • Tutorial - Introduction - What is Lua? || Lua Tutorial #1
  • Review - Xerjoff Lua Fragrance / Cologne Review + GIVEAWAY!

Zig videos

UNHYPE: CRAZY COLLAB Braindead x REEBOK ZIG Kinetica II REVIEW

More videos:

  • Review - Reebok ZIG Kinetica REVIEW [Conor McGregor Shoes] - Durable Everyday Training Sneakers
  • Review - Zig Dynamica - Full Review

Category Popularity

0-100% (relative to Lua and Zig)
Programming Language
50 50%
50% 50
OOP
43 43%
57% 57
Generic Programming Language
Medical Practice Management

User comments

Share your experience with using Lua and Zig. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Zig should be more popular than Lua. It has been mentiond 144 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Lua mentions (23)

  • What do I think about Lua after shipping a project with 60k lines of code?
    I would start at https://lua.org/ I'm creating a set of libraries to make Lua into a (still lightweight) application language https://github.com/civboot/civlua. - Source: Hacker News / 6 days ago
  • How Programming Languages Got Their Names
    Lua means 'Moon' in Portuguese, as it is also their logo: https://lua.org. - Source: Hacker News / 4 months ago
  • Where can I learn lua
    The official lua website is a pretty good place to go! As well as lua users & tutorials point has a really good tutorial for lua too! The official site may be hard to understand at time (it was for me at least) but that’s why I gave you the other two. they’ll explain it simpler/better than the official site may sometimes. Hope this helps! Source: about 1 year ago
  • A Weekly Class for PICO-8 Beginners
    1) Who Should Sign Up? - People with no, little, or intermediate skills in programming or PICO-8. 2) What Will We Cover? - Fantasy Console Paradigm: The Full Overview of What PICO-8 can do. - Lua and the uses of its modified API within PICO-8. Programming, 101. 3) What to Expect - A full game all your own! - Brought together in a 4-8 classes, in live teaching sessions in which you can interact with... Source: about 1 year ago
  • data types in function definition
    I have tried a few thins but no luck and found nothing on the web, also looks as if lua.org main forums no longer exist. Source: over 1 year ago
View more

Zig mentions (144)

  • Show HN: I made a better Perplexity for developers
    It's "Zig" not "Zag". https://ziglang.org/ Zig is under heavy development, but there's a single page https://ziglang.org/documentation/0.12.0/ that is a reasonably comprehensive source of truth about the current state of the language. - Source: Hacker News / 29 days ago
  • How to Write a PHP Extension with Zig?
    When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig). - Source: dev.to / about 2 months ago
  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
    NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations. - Source: dev.to / 2 months ago
  • Programming Language Checklist
    You may find Zig interesting: https://ziglang.org. The language is not C compatible but the tooling can compile C and C++ without hassle. - Source: Hacker News / 4 months ago
  • After a day of programming in Zig
    Zig describes itself as "... a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.". Sounds very generic, eh? - Source: dev.to / 5 months ago
View more

What are some alternatives?

When comparing Lua and Zig, you can also consider the following products

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Nim (programming language) - The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.

C++ - Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation

V (programming language) - Simple, fast, safe, compiled language for developing maintainable software.

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

Crystal (programming language) - Programming language with Ruby-like syntax that compiles to efficient native code.