Re: PicoGUI1 and 2

Micah Dowty <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
On Thu, Apr 17, 2003 at 08:33:30PM +0200, Martin Doering wrote:
> Micah Dowty wrote:
> 
> >>If you guys could state the features you need in the programming 
> >>language, then (maybe) we could choose better.
> >>   
> >>
> >
> >It would be nice to consider languages other than C and C++, but C++ is
> >already on the edge of support in the embedded world.
> >
> Hi, Micah!
> 
> Sorry, for beeing pretty new here. ;-)
> 
> The last time I had a look at the LUA language, which is prototyped - 
> prototyped was also the language NewtonScript, which was used especially 
> for the GUI of the newton. There is a website about these thoughts 
> behind all that at (especially the last document):
> 
> http://wsmith.best.vwh.net/works.html
> 
> Reading about LUA I thought, why not simply take LUA's flexibility to 
> hold the GUI elements in it's flexible structures? I think, it would be 
> ideal for that purpose. Do you know LUA? It is at http://lua.org. It can 
> easily be embedded in C. Also using it's structures is one thing. THe 
> other would be, that it could be possible to "script" some things, so 
> that they could be running on the server side, without need to 
> communicate it's states wit hthe client. You would get very flexible 
> that way. Just a thought...

I've seen lua a little before. It seems to have a lot of the same
features as Python. However, it doesn't look like the sort of thing I'd
want to write the core of PicoGUI in. Most of the code in picogui's core
modules will need all the speed it can get.

As for server-side scripting, this could be just another picogui module.
You could have a lua server module (which could be in the same binary as
the other server components) that could run scripts on behalf of
clients. If the capability-based security model was upheld correctly,
sandboxing shouldn't be much of a problem.

--Micah

-- 
"For every problem, there is a solution that is simple, elegant, and wrong."
           -- H.L. Mencken


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.