[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Introducing luavm - Lua Version Manager
- From: Peter Aronoff <telemachus@...>
- Date: Wed, 25 May 2016 09:48:26 -0400
On Wednesday, May 25, 2016 at 04:03PM, Peter Melnichenko wrote:
> Perhaps luavm could use hererocks for build step to avoid having to run
> 'eval `luarocks path --bin`' and to exploit some of its options, like
> choosing compat flags, building without readline, etc.
I'm glad you brought this up. I wanted to suggest something similar, but
I wasn't quite sure how to put it.
During the years I wrote Ruby, I used and contributed to several
environment managing tools (rvm, rbenv, ry, rbfu, and
chruby). Although not *everyone* agrees on the best approach, I think
it's not an accident that over time these tools became simpler and smaller.
In particular, after rvm, most Ruby version managers stopped bundling
installation and environment changing into one tool. (Most use either
ruby-build or ruby-install for the installation job.)
It might make good sense to use hererocks as a Lua install tool and then
only have luavm manage environment changing. There are a lot of potential
advantages to keeping tools smaller and more focused, both for users and
for the people maintaining them.
As for the name, I bet chlua isn't taken. ;)
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System