How Can I Grow as a Young Lua Programmer?

103 views
Skip to first unread message

mohammadbagher bidram

unread,
Aug 30, 2025, 8:23:07 AM (8 days ago) Aug 30
to lu...@googlegroups.com

Hi Lua Community,

I’m Mohammad Bagher, but you can call me Bidram. I’m 13 years old, and I’ve found myself really passionate about Lua. Honestly, I’m not even sure why it clicks with me so much, but something about the simplicity and power of Lua just feels right.

I know Lua is sometimes seen as having more limits than languages like Python, but to me, it feels like Lua gives you the tools to create powerful things yourself. Other languages might provide you with a ready-made potion for power, but Lua lets you create your own, step by step. It’s a language that teaches you how to build, not just how to use.

I’m just starting my journey, and I have so much to learn. One of my dreams is to help make Lua even better for future programmers, even though I know that’s a big goal. I’ve been working on a small project called Lua Multi-Threaded (Pure Lua) that’s still a work in progress. I’d love to hear your thoughts on it and any advice you have for improving it.

I’m really excited to learn more from this community and to keep growing with Lua. I know I have a lot to learn, and any feedback or guidance would be incredibly appreciated!

Thanks so much for reading.

Best regards,
Bidram

Sainan

unread,
Aug 30, 2025, 8:33:54 AM (8 days ago) Aug 30
to lu...@googlegroups.com
> I’d love to hear your thoughts on it

I guess a link to the github repo or so would help.

-- Sainan

mohammadbagher bidram

unread,
Aug 30, 2025, 8:40:03 AM (8 days ago) Aug 30
to lua-l
Hey, Thanks for hearing my ideas! Here is the link to the Github : 
again, Thank you soo much!

Sainan

unread,
Aug 30, 2025, 8:52:05 AM (8 days ago) Aug 30
to lu...@googlegroups.com
Some immediate issues I can see is that the Example.txt could be called Example.lua and also needs to be fixed because cthread.lua returns the 'cthread' table directly instead of an API wrapper table as expected.

Otherwise, a bit awkward to busyspin while no coroutines are running. The library itself could use coroutine.yield if it's called inside of a coroutine. There's no os.sleep in PUC Lua iirc, so not much to be done otherwise, I guess.

-- Sainan

mohammadbagher bidram

unread,
Aug 30, 2025, 9:00:14 AM (8 days ago) Aug 30
to lua-l
Oh, thanks for your advice, although this was my first coroutine-based multi-threading ( or tasking? ), but will definitely improve my Idea as you said, and i dont understand what you mean by busyspin, but as you said : " busyspin while no coroutines are running" i think busy spin is a thing that eats CPU while there is no coroutines right? 
I will fix them right away!
Thanks for your advice!
I hope i could make a little space for myself in the Lua community 😅

--Mohammad Bagher [ Or Bidram ]

Hanchin Hsieh

unread,
Aug 30, 2025, 9:43:09 AM (8 days ago) Aug 30
to lu...@googlegroups.com
The README is unreadable as all sentences are crowded together. A better formatting may help others interested to have quick overview on what does happen.

bil til

unread,
Aug 30, 2025, 1:17:28 PM (8 days ago) Aug 30
to lu...@googlegroups.com
Am Sa., 30. Aug. 2025 um 14:23 Uhr schrieb mohammadbagher bidram
<mbbidr...@gmail.com>:
>
> I’m just starting my journey, and I have so much to learn.

I would recommend you strongly to read the book "Programming in Lua"
of Roberto, including its mass of examples, and perhaps try to play
around with the examples which are interesting for you.

... and perhaps try coding examples in web page Codewars, set language
to Lua of course for this training... .

mohammadbagher bidram

unread,
Aug 31, 2025, 5:47:55 AM (7 days ago) Aug 31
to lua-l
Hello, i readed some of the Book Programming In Lua 4th Edition but, i think the real Book makes the learning better and here is my problem, my country dosnt have access to this kind of Book and there is no class for learning Lua Lol. but i learned Lua mostly from Pages and Examples, i had a question, Did Roberto write the Lua manual, the one that i can see in vscode? if yes, why the example's and writings are not clear? and i have problem with Lua's patterns, how can i Learn Them Better? and i wanted to start to learn Lua C API but, i looked for a good IDE, but i used my own CLion i downloaded and, it didnt work. even when i did the cmake file and gave it the Lua headers.

Thanks for your Help
--Bidram

mohammadbagher bidram

unread,
Aug 31, 2025, 5:49:23 AM (7 days ago) Aug 31
to lua-l
I tried to Make the README more clear but the tabs and space's u put wont be visible.

mohammadbagher bidram

unread,
Aug 31, 2025, 5:52:34 AM (7 days ago) Aug 31
to lua-l
typo : and space's I put

Sainan

unread,
Aug 31, 2025, 5:55:22 AM (7 days ago) Aug 31
to lu...@googlegroups.com
Maybe just changing README.md to be README.txt will help.

-- Sainan

mohammadbagher bidram

unread,
Aug 31, 2025, 5:56:45 AM (7 days ago) Aug 31
to lua-l
Oh it worked, thanks

bil til

unread,
Aug 31, 2025, 8:24:20 AM (7 days ago) Aug 31
to lu...@googlegroups.com
Am So., 31. Aug. 2025 um 11:47 Uhr schrieb mohammadbagher bidram
<mbbidr...@gmail.com>:
>
> Hello, i readed some of the Book Programming In Lua 4th Edition...

The book "Programming in Lua" is correct, you find this also as PDF in Internet.

If you have problems to follow the examples there, then I think best
start with coding exercises in C and Lua, put your level to very low
grade (e. g. 15 kyu or so) and then start with excercises in Codewars
homepage.

There you can do simulation run and you get clear error display and
also correct answers, if you want to see them... .
Reply all
Reply to author
Forward
0 new messages