6 Comments

Great article Tom. You show that there are always new dynamic realms to discover, not just in cutting edge, but in retro. The problem is keeping up with them all... 😁

Expand full comment
author

Thank you Paul - and yes, keeping up with it all is the difficult part! Hacker News is a great resource for discovering new stuff to get excited about, but it all moves so fast you can blink and miss out on something brilliant!

Expand full comment

This was a nice intro. I want to try this, too. Although I don't know any lua, looks like I can figure it out as I go along.

Expand full comment
author

Cheers :)

I'm sure you'll have no trouble with lua! There are a few unusual differences in syntax for some things when compared to a language like say, C or Java, but nothing too difficult.

Perhaps the earliest "gotcha" you might come across is that arrays in lua (which are actually just "tables") are by convention indexed from 1, not 0! So you *can* create an array with an index 0, but any array in the standard libraries will be indexed from 1:

https://www.lua.org/pil/11.1.html

Expand full comment

That's interesting. Julia also has 1 based indexing.

Expand full comment
author

I've used Julia only a little during the last Advent of Code, I was impressed with how clean it can feel, and I enjoyed it's list / array comprehension syntax!

Expand full comment