Hacker ApprovedDepartments

LuaJIT

Hacker Approved

The most recommended of 3 lua runtimes

Fast Lua 5.1 implementation with a JIT and easy C FFI, used in production for years. Critics say it is stuck on 5.1 and not fully PUC Lua compatible.

Fast Lua 5.1 implementation with a JIT and easy C FFI, used in production for years. Critics say it is stuck on 5.1 and not fully PUC Lua compatible.

69 people gave an opinion

recommend it
51
criticize it
18
approval share
74%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 51 people recommend itNeeds 10 or more, met.
  • 2.8 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Very fast, near C performance

    “LuaJIT is best in class performance for a scripting language -by a huge margin.”

    Comment from 24 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

    “handles double, strings, and dictionaries at near C level performance”

    Comment from 28 Oct 2026 in “Python's experimental JIT to be removed”

    “LuaJIT is still more performant and more widely used than PUC Lua”

    Comment from 24 Dec 2025 in “Lua 5.5”
  • Easy C FFI integration

    “Fortunately love is built on LuaJIT, which does support integer math through the built-in ffi library.”

    Comment from 19 Apr 2026 in “It's OK to compare floating-points for equality”

    “it's a lot easier to write an API layer in Lua with LuaJIT than it is to do from C”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “using luajit so that the lua runs very fast and has a super easy C FFI”

    Comment from 5 Apr 2026 in “LÖVE: 2D Game Framework for Lua”
  • Used in production for years

    “wrote entire stacks and apps on top in LuaJIT that I got paid for and are running without any problems after many years”

    Comment from 18 Oct 2026 in “Teal – A statically-typed dialect of Lua”

    “LuaJIT is still more performant and more widely used than PUC Lua”

    Comment from 24 Dec 2025 in “Lua 5.5”

    “Luajit is already popular and has plenty of benchmarks online.”

    Comment from 24 Nov 2025 in “Fast Lua runtime written in Rust”
  • Small, simple language core

    “Keeps implementation much simpler and much faster, + it makes you be more careful how you are structuring and writing your code.”

    Comment from 26 Jul 2026 in “Show HN: LuaJIT with Native SIMD”

    “I really liked the idea of the simplicity and size of Lua/luajit”

    Comment from 28 May 2026 in “The Green Side of the Lua”

    “LuaJIT is king because Lua is such a small language”

    Comment from 21 Apr 2026 in “How to Make a Fast Dynamic Language Interpreter”

What people warn about

Each mark is one comment

  • Diverges from PUC Lua

    “Seems like a bad idea to actively diverge from Lua, hostile even, especially without at least a clear change of name.”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “Why not work together with the PUC Lua team to add some of these to both lua versions”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “I don't know why they are diverting from lua spec on other aspects though.”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”
  • Stuck on Lua 5.1

    “From what I've heard it in practice isn't developed anymore and is stuck at Lua 5.1 still.”

    Comment from 23 Dec 2025 in “Lua 5.5”

    “So is LuaJIT resuming active development after a decade or so of only maintenance? Great!”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “LuaJIT has held back the lua ecosystem for over a decade”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”
  • Syntax extensions add complexity

    “It will make everything more complicated as there are now two ways to do everything.”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “I dislike basically everything about these syntax extensions.”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

    “This stuff (especially the ternary) are a step backwards.”

    Comment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

Other lua runtimes people recommend

The two most recommended other lua runtimes, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

LuaJIT compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
LuaJITThis page511874%12—Approved
Luvit60100%3——
TurboLua50100%4——
See all 3 lua runtimes, ranked

What people said

40 of the 84 comments that mention it, newest first. Each links to the original comment.

“handles double, strings, and dictionaries at near C level performance”

RecommendsComment from 28 Oct 2026 in “Python's experimental JIT to be removed”

“wrote entire stacks and apps on top in LuaJIT that I got paid for and are running without any problems after many years”

RecommendsComment from 18 Oct 2026 in “Teal – A statically-typed dialect of Lua”

“LuaJIT (which is comparable to or faster than V8 performance-wise”

RecommendsComment from 22 Sep 2026 in “The JavaScript Midlife Crisis”

“The most well known implementation is probably LuaJIT.”

MixedComment from 29 Aug 2026 in “Indirect Calling of Nested Functions on GCC Without Executable Stack”

“Keeps implementation much simpler and much faster, + it makes you be more careful how you are structuring and writing your code.”

RecommendsComment from 26 Jul 2026 in “Show HN: LuaJIT with Native SIMD”

“you can also get LuaJIT and SDL (2 or 3, probably should use 3) to work without it”

RecommendsComment from 9 Jul 2026 in “I coded a shoot 'em up alone at 18 after learning Lua in a single week”

“it's a lot easier to write an API layer in Lua with LuaJIT than it is to do from C”

RecommendsComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“Why not work together with the PUC Lua team to add some of these to both lua versions”

MixedComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“I default to using LuaJIT, and have never had an issue with the actual code.”

RecommendsComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“This stuff (especially the ternary) are a step backwards.”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“I don't know why they are diverting from lua spec on other aspects though.”

MixedComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“LuaJIT has held back the lua ecosystem for over a decade”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“it will help with the adoption of the JIT, but the whole language could have been syntax modernized as a result”

MixedComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“In aggregate this looks like a godsend, but there are some examples (like foo?.:method) that looks atrocious.”

MixedComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“I dislike basically everything about these syntax extensions.”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“Seems like a bad idea to actively diverge from Lua, hostile even, especially without at least a clear change of name.”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“It will make everything more complicated as there are now two ways to do everything.”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“It's not fully compatible with PUC Lua (the reference implementation)”

CriticizesComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“So is LuaJIT resuming active development after a decade or so of only maintenance? Great!”

MixedComment from 25 Jun 2026 in “LuaJIT 3.0 proposed syntax extensions”

“The language implementation that is faster than (!) C and almost as flexible as Lisp is called LuaJIT.”

RecommendsComment from 14 Jun 2026 in “Human Routers of Machine Words”

“Luajit and SBCL are very much performance competitive with the JVM?”

RecommendsComment from 4 Jun 2026 in “Elixir v1.20 released: now a gradually typed language”

“I really liked the idea of the simplicity and size of Lua/luajit”

MixedComment from 28 May 2026 in “The Green Side of the Lua”

“LuaJIT is a version of Lua 5.1 which is an incredibly fast scripting language”

RecommendsComment from 14 May 2026 in “CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq”

“has plugins that improve the performance of strings and tables”

RecommendsComment from 27 Apr 2026 in “Lua can be a cool HTML templating engine”

“LuaJIT is king because Lua is such a small language”

RecommendsComment from 21 Apr 2026 in “How to Make a Fast Dynamic Language Interpreter”

“Fortunately love is built on LuaJIT, which does support integer math through the built-in ffi library.”

RecommendsComment from 19 Apr 2026 in “It's OK to compare floating-points for equality”

“You don't even need to go all V8, you could just build something like LuaJIT and get most of the way there.”

MixedComment from 14 Apr 2026 in “GitHub Stacked PRs”

“due to LuaJIT's great FFI you can just write whatever”

RecommendsComment from 6 Apr 2026 in “LÖVE: 2D Game Framework for Lua”

“Luajit is a whole other beast. I'd argue it's superior to anything in JS/JAVA/C# land”

RecommendsComment from 6 Apr 2026 in “LÖVE: 2D Game Framework for Lua”

“using luajit so that the lua runs very fast and has a super easy C FFI”

RecommendsComment from 5 Apr 2026 in “LÖVE: 2D Game Framework for Lua”

“it lets you create metaclasses around C objects, which is much easier than messing with the Lua stack from C”

RecommendsComment from 5 Apr 2026 in “LÖVE: 2D Game Framework for Lua”

“The JIT is also the real deal, with millisecond cold start execution delays”

RecommendsComment from 19 Feb 2026 in “Lilush – LuaJIT static runtime and shell”

“Lua, especially with LuaJIT, is nearly as fast as C.”

RecommendsComment from 14 Feb 2026 in “Vim 9.2 Released”

“LuaJIT is still more performant and more widely used than PUC Lua”

RecommendsComment from 24 Dec 2025 in “Lua 5.5”

“LuaJIT is best in class performance for a scripting language -by a huge margin.”

RecommendsComment from 24 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

“LuaJIT’s C FFI integration is super useful in a scripting language”

RecommendsComment from 24 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

“From what I've heard it in practice isn't developed anymore and is stuck at Lua 5.1 still.”

CriticizesComment from 23 Dec 2025 in “Lua 5.5”

“extremely high CPU performance for a scripting language”

RecommendsComment from 23 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

“the compiler needs to do very little work and can hide the true cost of using something like Lua (LuaJIT)”

MixedComment from 20 Dec 2025 in “Programming language speed comparison using Leibniz formula for π”

“Luajit is already popular and has plenty of benchmarks online.”

RecommendsComment from 24 Nov 2025 in “Fast Lua runtime written in Rust”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.