[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Survey of lua sandboxes?
- From: Ezequiel García <elezegarcia@...>
- Date: Mon, 26 Dec 2011 14:04:16 -0800 (PST)
Hi,
Answering two questions:
1.
You can checkout ginga-ncl (a dtv middleware) here:
http://gingacdn.lavid.ufpb.br/projects/ginga-j/repository/revisions/10b6f31673145133b6e7bfbbf4e993259808ce7b/show/ncl/gingacc-cpp/gingacc-player/src/application/imperative/lua
it's not the most elegant sandbox implementation ever, but it is a good
example of a sandbox. Here the dtv applications can be implemented using lua and therefore the platform must protect itself from unwanted access.
2.
> He says about 4 minutes in that lua is not good for numerical
> computation, which gives me pause. (I'm checking out numlua.)
But you can always code the heavy numerical processing in a C module.
Hope it helps,
Ezequiel.