lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 10/27/2011 11:51 AM, Stefan Reich wrote:
* Distributed computing, with seamless, automatic distribution.
Scripts just travel between machines and settle wherever they find
that enough computing power is available. They could also split
themselves into two or more copies (parts) automatically, each
computing his thing and all parts joining again in the end.
That would definitely be my main usage for something like this. I can see it being especially handy for intensive tasks on low-power devices. My bargain-bucket Droid would tend to agree, provided I ever get around to developing Lua-based apps for it.

Random thought: A different form of remote desktop where instead of just seeing what's on the screen, the application itself is shared.
* Automatic backup. Each script running on a machine forks itself, and
all the copies travel to a backup server.
Didn't even think of this... Ideas!
* Installation. A script on a server forks and the copy travels to
user's machine.

* Trouble-shooting. A faulty script moves or copies itself to the
developer's machine to be tested/fixed.

Or even a combination, where if an installation fails, the developer's machine (or server, more likely) may be able to provide A) an automatically generated solution from previously encountered errors (perhaps even return a state with the fixes plugged in), and/or B) an alternate installation.

Is it enough to get you motivated already? :-))
Absolutely. Even if I can't get to it right away, I'm tagging this thread to keep the spice flowing.
It all hinges on having a simple-to-use, well-constructed mechanism
for forking and travelling. Like a one-button thing that always works.
When you have that, applications will pop up all by themselves as you
will automatically incorporate the ability of sending scripts around
into your thought process.

-Stefan

Simplicity and Lua tend to go hand in hand, as long as the right hands are involved. Give the method some traction and it's not hard to imagine an ecosystem of transient scripts doing some very cool things.