r/lua • u/391roman • Oct 15 '25
Discussion Programming in Lua, Fourth Edition, E-book Version
print(“Hello Everyone”) —[[ Did anyone here bought the official e-book version of PIL fourth edition? Could you please tell me what is the difference between official version and the free released version? Is there too much missing in free version compared to official version, i have been thinking of buying the official version, to support the creators too, but people said to me that they are almost identical, also i dont really need physical copy at home. ]]— print(“Thanks, and sorry for the cringe format lol”)
207
Upvotes
17
u/weather_isnt_real Oct 15 '25
It's not identical. The online version of PIL is for Lua 5.0, so it's missing sections on integers, Unicode, weak tables, bitwise operators, and probably some other stuff.
2
u/391roman Oct 15 '25
The official from lua org is uploaded on Gumroad by username Feisty Duck, idk why i cannot share the link, and the unnoficial one is if you just google Programming in Lua Fourth Edition PDF
2
u/DeKwaak Oct 19 '25
There is a clear difference between the second+3rd and the 4th edition. I don't recall it exactly, but the fourth has more insight and the elder 2 are more referential. Don't buy your epubs on google books. I had some bad ones where the symbols were replaced with something that made it completely trash, while the printed versions were ok. I bought mine at... eh, don't remember. But they allow you a lifetime to read it on their website while also provide a drm free download (it contains your name though).
1
u/5TP1090G_FC Oct 15 '25
Would it work alongside haiku just asking
4
u/[deleted] Oct 15 '25
I also wanted to know