this post was submitted on 12 Feb 2026
59 points (100.0% liked)

Learn Programming

2087 readers
48 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

I don't need something practical. I just need something fun to keep me motivated.

you are viewing a single comment's thread
view the rest of the comments
[–] cerement@slrpnk.net 8 points 2 days ago (1 children)

take a look at one of the “fantasy consoles”, can do quick scripts and see results immediately:

  • TIC-80 – primarily uses Lua but they’ve added in support for Ruby, JS, Moon, Fennel, Scheme, Squirrel, Wren, WASM, Janet, and Python as well
  • uxn – virtual machine using uxntal, a kind of Forth/assembly hybrid

for an actual language, don’t discount Lua – simple, fast, tiny – “real programmers” like to ridicule it, and yet it keeps turning up everywhere from video game scripting to text editor configuration to databases to web servers

  • Learn X in Y Minutes – a good introduction to a lot of languages, gives you a good idea of their look-and-feel
  • Rosetta Code – LOTS of languages with LOTS of code examples
[–] orclev@lemmy.world 5 points 2 days ago (2 children)

Lua to me is the language JavaScript wishes it was. It's super minimal and actually designed reasonably well. It knows what it is and isn't trying to be something else. I wouldn't want to try to write an entire app in it, but for a scripting language embedded in something else there's not a lot of languages I'd rate higher.

[–] ageedizzle@piefed.ca 1 points 1 day ago (1 children)

This might sound silly but why would you not want to write an app with it? Like, what are its limitations? I know very little about Lua

[–] orclev@lemmy.world 2 points 1 day ago (1 children)

Lack of advanced features like generics and a weak type system (although still better than JavaScripts type system). Its library ecosystem is also pretty anemic because it's generally assumed if you're writing Lua it's as part of a script embedded in something else and most of those won't let you pull in random Lua libraries. There are stand alone Lua interpreters that let you run Lua on its own but most people writing Lua code aren't using them and so the community to develop a rich library ecosystem isn't really there like it is in most other languages.

[–] ageedizzle@piefed.ca 1 points 1 day ago

I see. That makes sense, thanks for explaining

[–] cerement@slrpnk.net 2 points 2 days ago

depends on how you define an app – Freewheeling Apps likes to combine Lua and LÖVE to make quick little GUI apps