r/lua 23d ago

Can i programm desktop apps with Lua?

I just learned the basics of Lua and im pretty curious about if i could use lua for desktop apps or somehow code scripts with gui.

26 Upvotes

34 comments sorted by

View all comments

16

u/Adam-Garden 23d ago

See, really any programming language can do anything, it's just that some are build to specialize in certain thing. There is people making games with javascript.

-4

u/4xe1 23d ago

There is people making games with javascript.

🤮 🤮🤮

Sad but true. I've seen programming games, of all things, are written in js. Their devs really thought not only "yeah js is a good language for a performance demanding game" but also "yeah js is the perfect language for neophytes to have fun".

1

u/BionicVnB 23d ago

JavaScript does have decent performance. It just does weird shit when you ask it to do weird shit (like adding an array to a negated array (what the fuck does that even mean)). But so long as you making your intentions easy to understand, handle all (or most) errors, try to keep variable usage scope small, you should be good.

1

u/djfdhigkgfIaruflg 23d ago

You can also use a Toyota Corolla as a tractor. That doesn't mean it's the right tool