"On Aug 7, 2012 5:11 PM, "Luiz Henrique de Figueiredo" <l...@tecgraf.puc-rio.br> wrote:
>
> > We are proud to announce the next release of Lua for Windows (LfW).
>
> Is there going to be a LfW with Lua 5.2?
>
Yes once LuaDist supports it (and the batteries package). Is there a good list of modules that have been updated to Lua 5.2? I am not sure how many of the binary modules have been updated yet.
I released this because it has been sitting for a while and I think it will be the last release till the package is built off the LuaDist platform.
--
Regards,
Ryan"
No schedule at the moment, just more waiting for more libs & LuaDist.... AGRW
Sorry if this question has been answered before :-)I see the installer package was recently updated.But I also see it's only Lua 5.1Is there any intention of re-doing LFW with 5..2?If so, and schedule?TVMDavid
On Mon, Mar 18, 2013 at 10:47 PM, Andrew Starks <andrew...@trms.com> wrote:That is actually a good point. Lua for Windows was deliberately a
> The number of libraries that someone actually needs, in order to get going
> and call the batteries complete, is actually not that great and all of the
> critical ones are supporting 5.2.
'kitchen sink' distribution because we did not have a mechanism to
easily download new packages. I'm impressed with how luadist can (out
of the box) can make this work very well; it can also be used to
upgrade existing packages, so one can have a rolling release. One
idea would be to take the existing list of packages and ask the
question: does a new user need this _now_? For instance, we have both
IUP and wxLua; personally I'd say, go with wxLua and IUP/CD/IM can be
easily installed (especially if there's a meta-package to pull them
and their example packages in).
> If I'm new to Lua, I want to start on the latest version. My first reactionFair point. Mike P does not help matters with him calling 5.2 the
> is going to be, "Where is the 5.2 version?" If someone tells me that LuaJIT
> is the Ambassador of Lua on Windows, I'm going to start wondering about what
> that means...
'Vista of Lua releases'. Unfortunately ABI compatibilty means you
have to pick one or the other.
Also, new users may be accustomed to the rapid pace of change in other
languages; Lua is not changing fast. I would think that providing the
_fastest dynamic language implementation_ is more exciting than
offering a point release that has a few novelties like _ENV (I'm not a
fan, it's just a more elegant form of the same environment magic which
confuses newbies no end[1])
It boils down to good documentation - doesn't everything? There are
incredible levels of ignorance out there about Lua, e.g.
--
You received this message because you are subscribed to the Google Groups "luaforwindows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to luaforwindow...@googlegroups.com.
As for the 'optimally sized core' (not necessary 'minimal'): I'mlooking at the package list for the Batteries. There are packages
which overlap in functionality (always bearing in mind that any
removed packages will be 'one click away' from being installed)
- yes, IUP is cute, but wxLua is more commonly used and less eccentric
- much as refugees from other languages like them, do we need
'standard' regexp packages when we have lpeg? E.g. lrexlib
- luaex is an interesting package, which was originally meant as an
'executable proposal'. It replicates stuff which is available through
luafilesystem and other packages.
- OIL is marginal, don't think casual scripters would need CORBA support
- there are a number of packages which work with compressed archives
- do we need them all?
- if we have luaexpat, do we need luaxml?
- if we have Lanes, do we need luatask and rings?
- metalua is a very cool project, but does it need to be part of the base?
- do people use luadate? (there's already a pl.Date class in Penlight)
On the other hand, on the Windows side I'd suggest these packages
- winapi (ok, I'm biased ;))
- luacom (not yet available as binary)
And luasql - seems there's a MySQL backend - what about sqlite3 as
well? That's a much more learner-friendly option.
Is there overlap in archive file types? I use .zip and .gz and I think they are in different modules. So I think that if there is no overlap I would keep them all.- if we have luaexpat, do we need luaxml?
I tend to agree, but I have to say that LuaExpat is harder for me to use and I actually switched to using Penlights XML module where you hide it all. I know Penlight uses LuaExpat, so to me LuaExpat is the clear winner.
- if we have Lanes, do we need luatask and rings?This is less clear for me. I have tried Lanes and really would prefer to include ZeroMQ. But I thought rings was native Lua implimentation of "threading" and so I think there is a reason to have Lanes and rings/luatask.
On the other hand, on the Windows side I'd suggest these packages
- winapi (ok, I'm biased ;))Sure, but that module is not as exciting as find the components in a module that is cross-platform, but I guess we could say that luaposix is the unix equivialnt of winapi for Windows. So I guess I talked myself into it :) Put it in there.- luacom (not yet available as binary)
I could see this be put in there is there are tests. I have tried to use this twice and was not successful at all.And luasql - seems there's a MySQL backend - what about sqlite3 as
well? That's a much more learner-friendly option.Here is my biggest sticky point. I believe that database support in the main Batteries is critical and having a module like LuaSQL makes your application more maintainable. What I mean by this is I have many Lua applications written using LuaSQL and I was able to reuse most of the DB stuff and I am using SQLite3, MySQL and Postgress with minimal code changes. That is why I feel like it should be included. Now that being said, it doesn't seem to be very supported these days and at least on the SQLite3 side I had a bug reported with a pull request to fix the binding to allow PRAGMA use and I don't know if it will be released. So I took some time to look at the Lua and database world and found LuaDBI. I actually really like it and it has support, at least for, MySQL, SQLite3, and Postgress. It is in LuaRocks and debian packages it. I am proposing possibly switching to that database wrapper. Thoughts?Also I am not a fan of a different module interface for each DB. I know that it can make more of each database specific functionality usable, but as the base of what should come with Batteries/LfW or LfL I think it should be an opt-in thing to go specific.--Regards,Ryan
Ryan,What are your thoughts on including a small collection of DB packages that are all adapted to the same interface, but have their native ones available if needed? They seem pretty close, already.Without adapting them, I think one is the number for the initial kit, personally. I do love Postgres though.
On Wed, Mar 20, 2013 at 8:59 AM, Ryan Pusztai <rpus...@gmail.com> wrote:You likely missed parts of the grander vision that thus far is
> I worry about what the goal of Lua for [Linux|Windows] should be in this
> case. At it's core I believe that it is just a distribution or collection of
> modules and applications that is easy to install and deploy. We are starting
> to move down a path of creating new software for this distro. Is this
> something we should embrace and become maintainers of new tweaks and
> updates? With a re-written set of documentation that the module authors did
> not write. I am asking not telling so please feel free to tell me the
> thoughts you have. I am also worried about the manpower needed to support
> the LfW/LfL additions that we are all talking about.
scattered across four different Lua-related mailing lists that I
subscribe to, this list, lua-l, and the lists for LuaDist and LuaRocks
. There may be more. :-)
I'll attempt a summary but ask that others provide corrections or fill
the major holes.
There is a move underway, dubbed "SmartLua" by some, to inject some
user-friendliness into the existing Lua chaos involving location,
maintenance, distribution, installation and removal of modules and
libraries. Sufficient consensus has been arrived at amongst those
willing to devote time and energy to the project to identify at least
the following key aspects:
-- LuaDist is embeddable but LuaRocks isn't there yet. LuaDist is also
multi-platform and standardizes building sources with Cmake across all
supported platforms in a compiler-independent manner.
-- LuaDist does not need to have git and Cmake installed on the client
side for distribution/installation of binaries.
-- Participating developers will use git to store their releases along
with rockspecs and LuaDist dist.info manifests, from which LuaDist
will be able to pull binaries, or pull sources and build binaries.
Hisham and Peter are discussing movement to a single manifest format
for both apps.
-- One company (forgot which) is committed to providing 'puters for
the VMs need for the build farm to produce binaries.
-- Installing LuaDist will be the starting point for end users and it
will acquire the ability to handle dependencies.
-- Steve is writing a wxWidgets GUI app for the user interface with LuaDist.
-- LuaDist will be able to install Lua Rocks. (I don't remember if it
already does.)
-- Because of the above changes and LFW integration with LuaDist, LFW
will no longer need to ship all of its binaries with a single
installer; users will be able to install modules at will. At the same
time, because it is the only major all-binary distribution of Lua
*and* batteries, it's the logical beginning focal point for
implementing all of the above. Work to spread the effort to other
platforms comes later.
-- Which brings us back to the present discussion of what binaries
will ship with LFW and which will need to be installed via LuaDist and
Steve's GUI. It will still be Lua for Windows with Batteries but some
batteries will not be included with the installer; they will need to
be installed separately. Hence the effort to identify which batteries
will ship with the installer.
I hope I have captured the essence of the grand collective vision and
have not made too many mistakes. Perhaps the above might provide a
beginning point to massage into a more polished project description
that people could link to in emails?
On Wed, Mar 20, 2013 at 11:28 AM, Peter Drahoš <dra...@gmail.com> wrote:I'm willing to start such a document but am a bit leery of a single
> I think we should keep a document somewhere that
> aggregates links to the related issues and projects.
document approach. One doc becomes two becomes three, etc., and pretty
soon you've got an disorganized mess. Plus I foresee that the grand
vision has a lot of potential to become a project in itself with
subprojects and related projects, its own mailing list, issue tracker,
etc.
Would it make sense to set up a project somewhere that has all the
bells and whistles if needed? E.g., Sourceforge, etc. Other than basic
project setup, we could begin with a single wiki page and tap other
provided tools as needed. And if we never get past using the wiki, the
cost is the same.
Vote for GitHub also.pd--
You received this message because you are subscribed to the Google Groups "luaforwindows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to luaforwindow...@googlegroups.com.
When I wrote a book with Que, I was completely outnumbered by editors
;) The system worked well.
If I was asked to staff a library project, I'd choose a real smart
propeller-head for the library internals, algorithms, etc, a person
that likes communication to design the API, and an even more social
person who is not a domain expert to do the documentation.
> you will. I think this project, done with the goals and approaches I'm
> seeing here, really has the potential to make a Lua a lot more widely known
> and used.
That's totally the idea. How do you feel about being one of the editors? ;)
The biggest (noticeable) difference for newcomers that comes to my mind is a different behavior during debugging.Lua 5.1 only triggers debug.hook on a particular line if the control left that line and then returned to it. But LuaJIT calls debug.hook as many times as you have expressions/statements there.So if you have "print(1) print(2) print(3)", Lua 5.1 will "step" only once, but LuaJIT will do it three times. One may argue that the latter is the more correct way to handle this, but I've seen people being confused by the cursor still staying on the same line during debugging.FWIW, ZBS can use LuaJIT if one replaces lua51.dll with the LuaJIT one: http://studio.zerobrane.com/doc-luajit-debugging.htmlPaul.
If we get less people asking why we index from 1 and that global by default is the source of all evil then is all worth the effort. And dont get me started on the recent nil discussion on the lua-l dist. Lua is just plainly misunderstood language, that needs to change. No better way to do that than through examples and education.pd