News for hackers. Stuff that matters.
Re:PicoC: a very small C interpreter for scripting by nitrogen on Friday September 03, 2010 @05:52AM (#1659047)
Would this be allowed in an iPhone application, since it's all C?
Re:PicoC: a very small C interpreter for scripting by rw- on Friday September 03, 2010 @06:05AM (#1659071)
AFAIK no programs are allowed which interpret code.
Re:PicoC: a very small C interpreter for scripting by brownleej on Friday September 03, 2010 @09:24AM (#1659454)
Actually, Apple allows interpreted code under certain circumstances. Link provides more details. I'm not sure how helpful it would be in this case, though. My understanding is that the main motivation for having scripted languages as a small part of an app, as this rule allows, is for game engines which have high-performance graphics stuff in C, and some of the application logic in a language like Lua. The use of a scripting language can reduce development time, but if you were using C, you might as well compile it.

http://arstechnica.com/apple/news/2010/06/devs-cautiously-op...

Re:PicoC: a very small C interpreter for scripting by teamonkey on Friday September 03, 2010 @10:56AM (#1659764)
But in theory you could use it to script C in debug mode, then hard compile the script before you send it to Apple.
Re:PicoC: a very small C interpreter for scripting by eru on Friday September 03, 2010 @09:25AM (#1659456)
So no postscript viewer ever? And no browsers? That's a sad state.