I was working with Victor a bit to see how close to JS we could get
WikiScripts syntax to be, and it seemed like it was possible but some
things (like objects) would either be a hack to "fake" in some ways or a
larger job to get working. Not sure if he's got more progress in that way
to show, but subsets are good because you can always add more later. As
(super-set) we have a lot of options in the future. Web standards are
important - we should strive to use them as much as possible.
On Sun, Dec 25, 2011 at 10:08 PM, Dmitriy Sintsov <questpc(a)rambler.ru>wrote;wrote:
* Keisial <keisial(a)gmail.com> [Sun, 25 Dec 2011
On 23.12.2011 18:21, Dmitriy Sintsov wrote:
> I remember that PHP had some outdated and unmaintained sandboxing
however it's unmaintained for a long time.
Dmitry Zenovich applied for maintaining it last year, although little
seems to have been done in the official repo. He seems to have been
working on https://github.com/zenovich/runkit/
I worked with runkit some years ago and it wasn't hard to make it run.
The downside is that you need a threaded php.
Wikimedia has experienced PHP/C developers who probably can maintain and
update such module. Maybe even cross-translation from subset of JS into
PHP (with caching) then executing via runkit could be possible. But
threading is not something that is desirable in current environment. So
maybe it was a bad idea.
Wikitech-l mailing list