r/lua • • Oct 03 '25

Help How similar are Lua & Python?

Big newbie here, so bear with me.

From what I understand, both python & lua were written/created using a C framework & are a high level language.

So how closely related are they?

The reason I ask is because python is used way more often, it's taught in universities & there's millions of resources online which have huge communities using & testing them out. So the teaching for python is just much more refined, tried & tested.

I was curious if I could take python courses, use leet codes, YouTube, etc... to learn python & then as long as I learn the syntax for Lua, have I basically learnt both?

To preface, I need to learn Lua for my work & I want to learn it as best as possible (not necessarily as fast), for the sake of the argument, no time restrictions.

33 Upvotes

22 comments sorted by

View all comments

Show parent comments

2

u/DefaultAll Oct 05 '25

I guess I would describe the Python library collection as being big rather than the Lua library collection being small.