~/blog/google-lacks-lua

Google Does Not Use Lua

It’s very very rarely, if ever, used, sadly.

Introduction

Lua is a lovely language. I started scripting in it when I was 11, and it was the first time I ever wrote proper code for actual users.

If you’re not familiar with Lua, it is a neat and weird scripting language. It has:

  • 1-indexed arrays (wtf?)
  • no concept of OOP (double wtf??)
  • one single data structure - a table (triple wtf???)
  • Makes you write end at the end of every function. So your code ends up looking like this
-- loop check if thingys velocity is changed
while wait(1) do
	for x = 1, #descendants do
		if descendants[x].AssemblyLinearVelocity.Magnitude > 10 then
			addScript(descendants[x])
		end
	end
end

This is actual code I wrote when I was 14, by the way.

It is a cute and quirky and easily embeddable language

Lua’s fate

Aside from the fun applications, it would appear we have two main remaining Lua users still active out in the wild:

  1. Roblox Developers
  2. NeoVim plugin authors

lua_users_in_2026

So, it would appear it’s just a subset of NeoVim powerusers, and Roblox developers. So basically, just Roblox.

Ah, Roblox, a platform that was once filled with young pioneers, future engineers, and men destined to go on to do great things. It is currently, slowing, molting into a vibe-coding haven for techbros and pharmers to to create slop for prepubescent iPad kids. Thank you, private equity, for kicking off the beginning of the end of something beautiful! I’m sure that’s never happened before!

Irregardless, Roblox has made a dedicated commitment to stick with Lua, or rather, their fork of the language - Luau.

From their website:

Luau is a modern edition of the language focused on making the language more performant and feature-rich. Luau makes it easier to write robust code through a combination of linting and type checking using a gradual type system.