|
From: | lowly coder |
Subject: | Re: [Chicken-users] IPhone |
Date: | Thu, 9 Apr 2009 22:46:25 -0700 |
On Thu, Apr 9, 2009 at 7:15 PM, lowly coderIt's an embedded platform that they have strict control over, they can
<address@hidden> wrote:
> Wait ... the Apple Developer Agreement has strict requirements against GC?
> Where? I've never had a dev agreement say what technical things you can and
> can't do. Are they going to ban linked lists, maps, and my hand rolled
> memory allocator too?
disallow anything they want, and GC doesn't fit well within the
allocation profile of the phone, GC apps will likely cause the kernel
to kill it often, which is a crash to the user, too many apps do that
and users have bad perception of the phone as a whole.
I don't know if the agreement is public but you can try this link:
http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_for_iphone_os_2.2.1__9m2621a__final/iphone_sdk_agt_ea0495.pdf
Looking through that I can't find anything that explicitly disallows
GC, but you should still watch out for you're allocations:
http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/DevelopingSoftware/DevelopingSoftware.html#//apple_ref/doc/uid/TP40006556-CH5-SW12
But going through the agreement another point to be brought up at
section 3.3.2 which disallows the use of the interpreter, so you will
probably want to disable eval, but that shouldn't be too difficult.
afaik, zbigniew mantains this, I figure he just hasn't gotten around
> I tried building a basic Chicken 4 app on Mac OS X ... looks like the objc
> egg is not ported over yet. Anyone know what's holding it up?
to porting it yet.
I agree that a statically linked app probably won't be a problem. But
> I was going to just have a gigantic statically linked app. Why not? The iPod
> Touch has HDs in the Gigs. It's not like people who want to be entertained
> will care. At worst, they may have to erase a trashy music video. :-)
keep in mind the size problem isn't in relation the HD space, but
rather in active memory, without any swap space on the IPhone you're
entire app and all statically linked libs will have to be in memory,
giving GC less room to work within.
Indy
[Prev in Thread] | Current Thread | [Next in Thread] |