Hi, Sorn. It was me who wrote that commentary. I consider me as beginner. I am interested in help to get other people to program in Lua, because I had bad experiences, as I am going to expose....
My interest is to program for desktop; by now my current main scenario is Windows, x32, but looking for how to get x64. I had made some analysis and conclude that I need: - a notepad: NotePad++; - a database manager: SQLite3; - a graphic library: IUP; - some Lua libraries and modules: Penlight; - a GUI: pend (NotePad++ is not specifically a GUI; Lazarus: I like it; wxFormsBuilder: I like it, but..., Qt --but six gigas no, abs no!!-- I also knew DevC++, wxDevC++, Glade, CodeBlocks,...; Eclipse but LDT or LuaEclipse?). The first four as critical (for me), for starting, and other that I could/should incorporate step by step. Unfortunately I found problems: - When I try to start (maybe 2016) LuaSQLite binary can only be obtained for Lua v5.1 (five point one), when Lua standard version was v5.3.3. - If I would try to change to wxLua, it was a Lua v5.1 clone, and does not advanced with Lua standard. There was no instructions for a "beginner" build/compile wxLua/wxWidgets. - When I saw LuaJIT (supposed very fast), I found it was also a Lua v5.1 clone, and also did not advance as Lua standard. - My goal was (and is) to use the last version of Lua. I found that I can get the IUP binaries for any Lua version that I want. - But I cannot get the Lua SQLite binaries for the Lua version that I want: v5.3 . - When I contacted the LuaSQLite creator, they say me that they did not use Windows SOs, but directed me to use LuaRocks. I was battling with LuaRocks for about three months. My interest is no installing all an ecosystem (VS --which version?--, VB, VC/VC++, C#, DOS Utilities, MinGW, nMake, PreMake, TecMake,...) I decided not to use LuaRocks and discarded it as an utility that I could use in my development with Lua. In the IUP documentation we can find this list: Borland C++ BuilderX Code Blocks DevC++ Eclipse for C++ Microsoft Visual C++ (Visual Studio 2003) Microsoft Visual C++ (Visual Studio 2005) Open Watcom The instructions in the documentation for building/compiling Lua/IUP/CD/IM and some other libraries (used by IUP) *does not run*. As my goal is "*using Lua and IUP and SQLite3*" (not building/compiling them), I do not want to complicate with building/compiling: *I download the binaries and use them*. A colleague kindly published some instructions and put a LuaSQLite binary that can be used in Lua v5.3 . I thanked him and used the binary: all correct. But the instructions are based in LuaRocks. And now that Lua v5.4 has arrived, I would need to build/compile LuaSQLite, but the instructions I have are based in LuaRocks.... I need to understand the difference between static and dynamic.... or only use the one that "run" in Windows. And I also need to understand the difference between vc16, vc15, vc14 y mingw6 (these in x86 and the same in x64). iup-3.30_Win32_mingw6_lib.zip iup-3.30_Win32_vc16_lib.zip iup-3.30_Win32_vc15_lib.zip iup-3.30_Win32_vc14_lib.zip I only need to "use Lua and IUP and SQLite3" in Windows. Which of "static/dynamic" do I need? Which of vc16, vc15, vc14 and mingw6 do I need? If my decision is to *use the last and better of Lua* (last version), is there a problem if I use Lua v5.4, vc16 and mingw6? If there is a group for helping to program in Lua, why is there no "binaries" for using so many libraries/modules for Lua? (SQLite3, zip, LuaSQL --MySQL ¿MariaDB?, SQLite3, Firebird, PostgreSQL, Oracle, Access; automation, LuaCOM, http, ftp, Alien, FFI, LuaSocket, Lpdf, ) IUP can be downloaded for any version of Lua that one wants.... Why the other libraries/utilities do not?.... Supposedly LuaRocks "helps" to build/compile something as LuaSQLite.... The creators of LuaSQLite *could not help* (I repeat it: *could not help*) to get it: it (yes: it, LuaRocks) asked me for several vbles: SQLITE_DIR, SQLITE_ INCDIR and SQLITE_LIBDIR.... but one has to be a genius... pardon me... an expert in building/compiling in VS and C/C++ and C# to understand that. I want to program in Lua with IUP and SQLite3. And share what I can get about that for others to enter to programming in Lua. But how can I surpass the issues? ------------------------------------- What is the problem with this answer from me to you? Cannot a beginner help others? > Hi, Sorn. > I agree with you. > I am a beginner and also have feel what you describe. > I am also interested in help. > I have written (not professionally) some little code (a form) that can be > used in Lua v5.1 and v5.3, showing data from an SQLite database. > I agree with you, Sorn. > See you later. El sáb, 12 de dic. de 2020 a la(s) 11:02, Sorn Županić Maksumić escribió: > Hi! I’m Sorn > The reason I'm sending this email is that I want to make Lua accessible to > everyone, especially beginners. If you’re interested, please continue to > read. > Beginners are most likely not going to join this mailing list. They’re > just not. Especially those who are new to programming in general. As you > already know, Lua is used a lot in game development and mods, which makes > it the first programming language for many. Maybe it was one of your first > programming languages too? It was mine, I got introduced to Lua through > Open Tibia (a game.) > To continue, at least 90% of the traffic the forum is getting is from > beginners searching “Lua forum”, because they need help. The forum has > great SEO (mainly because of the domain name) and the forum always appears > on the first page on Google. But it’s no use in having great SEO if there > aren't enough experts to help the beginners. > Further, technical documentation really scares beginners. Forum posts are > much more welcoming and it allows beginners to reply and ask questions when > something is unclear. This is not possible on luarocks.org (as far as I > know.) It would be great to see what beginners are struggling to grasp, and > once a question has been answered it doesn’t have to be answered again. > This is one of the replies I got on the Lua mailing list: > >> Hi, Sorn. >> I agree with you. >> I am a beginner and also have feel what you describe. >> I am also interested in help. >> I have written (not professionally) some little code (a form) that can >> be used in Lua v5.1 and v5.3, showing data from an SQLite database. >> I agree with you, Sorn. >> See you later. > > LuaRocks is perfect for beginners as it makes package management a breeze, > and this is why I'd love to see rock authors on the forum. Therefore, we've > created a new LuaRocks section <https://luaforum.com/forums/LuaRocks/> where > authors can showcase and discuss their rocks, and we're honored to announce > that Hisham has joined the forum! > The forum can also be a place for experts to share ideas (such as Space/Time > Duality by Gavin > <https://luaforum.com/threads/lua-and-the-space-time-duality.151/>). This > helps beginners to see good coding practice and style. The space/time > duality article is probably the best programming article I’ve ever read. > The things you post on the forum will never be deleted. Running a forum is > cheap, and I have no problem sponsoring it myself forever; everything is > already prepaid until 2025. > To summarize, why join the forum? > > - People new to programming are most likely not going to join a > mailing list > - The forum has great SEO and it’s the first place many beginners look > for help > - Technical documentation can be scary and there's no way to ask a > question > - Experts can share good coding practice and style > - Your posts will never be deleted > - Can be a great place to showcase your rocks > - Making LuaRocks discussions available to beginners will increase the > popularity of the rocks > > *Apologies if you've already received a similar e-mail, I know many of > you've already joined. I didn't realize there was a LuaRocks mailing list, > to broadcast this message, until now.* > I hope you join, but no pressure if you don't. It's up to you. > Best regards, > Sorn > _______________________________________________ > >
_______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers