News for hackers. Stuff that matters.
Re:Ask HN: Going low-level – what to learn next? by latenightcoding on Tuesday June 04, 2024 @04:10AM (#40571903)
an optimizing Lua or Lisp compiler
Re:Ask HN: Going low-level – what to learn next? by boffinAudio on Tuesday June 04, 2024 @04:22AM (#40571983)
Yes: +1, this.

Learning Lua is a great way to get introduced to a lot of low-level concepts, from bytecode to VM's to language design and beyond.

Re:Ask HN: Going low-level – what to learn next? by visil on Tuesday June 04, 2024 @06:28AM (#40572732)
Ironically, I've been avoiding learning Lua for quite some time for some reason. I guess it's finally time to give it a try!
Re:Ask HN: Going low-level – what to learn next? by boffinAudio on Wednesday June 05, 2024 @03:41AM (#40582370)
Lua is one of the most amazing bits of programming tech you can use... I have done all sorts of crazy things with it, from applications-with-databases to realtime scientific analysis, games engines and games ahoy, simple automation tooling for devops, and more. I recently decided to sit down and organize a few hundred directories, each with more than 20,000+ files in them, and I've now built a system that my colleagues are asking about installing for themselves..

Its just such a great tool, please don't deny yourself this wonderful experience. Get the VM, put it in something - or find a VM somewhere in something already, and have a lot of fun. And don't forget to make sure you know what a sparse array is, and why pairs() and why ipairs() .. you'll be glad you did!

PS - don't fall for the hype, you can do someTable[0] = "first", someTable[1] = "second" all you like .. :)