by cs702 · 13y ago · 0 comments
As far as I know, something like this has not been tried by anyone else at this scale before.
Quoting from the original post: "Anyone can write a chunk of code to be included in an article that will be seen by millions of people, often without much review. We are taking our 'anyone can edit' maxim one big step forward."
The debug lib, allowing to take control of the whole program, is disabled in most sandboxed environments including wikipedia's.
However, bytecode instruction and line changes both are poor metrics to measure time, cpu or any other kind of resource usage. Measuring process time is relatively easy and much more accurate.
I don't think that's quite true. MediaWiki templates are now more powerful, but I'm not sure even that counts as interactive. This makes editing easier, but the reader isn't going to interact with a Wikipedia page any more than they did last week.
If one thing can be said about Lua, it is that embedding Lua is a solved problem, and not something dangerous to be worried about.