On 23/06/2012, at 19:03, Ryan Schmidt wrote:
> 
> On Jun 23, 2012, at 02:37, Jorge wrote:
> 
>> I don't know the answer to your question, but my guess is that many of the 
>> things that node does won't run/can't be done in a sandbox. I believe the 
>> experiments with node on iOS so far have always been in jailbroken devices. 
>> But I may be wrong.
>  
> Certainly, being able to run in a sandbox will be necessary, since Apple will 
> not approve apps anymore that don't. I haven't tried it yet, but why do you 
> think node won't run in a sandbox?

iOS wont't let user code jump into a block of writable (from your app's point 
of view) memory -for security reasons- and it seems that v8's JIT compiler 
requires that: http://code.google.com/p/v8/issues/detail?id=1312

The Nitro JIT in JavaScriptCore in mobile Safari requires that too, but the 
security measure has been conveniently lifted for that particular app :-P

Also it seems that quite a bunch of the usual posix APIs simply aren't there... 
until you jailbreak it and install the things yourself.

Apple wants you to develop your apps using their cocoa APIs not anything else. 
Soon we are going to suffer similar constraints (sandboxes etc) in Mountain 
Lion too. And finally a day will come when nothing but Apple's approved apps 
(that is: from the mac app store) will run in a Mac... "for your security".
-- 
Jorge.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to