[MonoTouch] App loading times with MonoTouch

Robert Jordan robertj at gmx.net
Wed Dec 8 18:12:21 EST 2010


On 08.12.2010 23:41, David Soto wrote:
> So do the *.dll files inside of the app bundle actually serve any purpose?

They are actually "empty", i.e. they contain only metadata, resources,
etc. but no method bodies.

Robert

>
>
> Code reutilization maybe??
>
>
> On Wed, Dec 8, 2010 at 4:16 PM, Nic Wise<nicw at fastchicken.co.nz>  wrote:
>
>>> 1. Do my library projects in MT get complied to individual ARM libraries
>> or is it one big executable.
>>
>> One big EXE. Well, one big "whatever the iphone calls an EXE".
>>
>> Basically:
>>
>> C# code ->  multiple assembles (based on your project setup) ->  AOT ->
>> one ARM code file.
>>
>>> 2. If they are complied to individual ARM libraries, is it possible to
>> weak-link them. Are weak-linked libraries dynamically loaded by iOS?
>>>
>>
>>  From what I know, no and no. Unless you are apple, then you can do
>> whatever you want.
>>
>>> BTW, Is there a good book or resource for iOS and ARM architecture?
>>
>> Um, I'll defer to Geoff on that one :)
>>
>>
>>
>>
>>
>>
>>>
>>> -----Original Message-----
>>> From: monotouch-bounces at lists.ximian.com [mailto:
>> monotouch-bounces at lists.ximian.com] On Behalf Of Nic Wise
>>> Sent: Wednesday, December 08, 2010 1:02 PM
>>> To: Ash
>>> Cc: Forums, MonoTouch
>>> Subject: Re: [MonoTouch] App loading times with MonoTouch
>>>
>>> What Geoff said.
>>>
>>> Also, I tend to only support current phones, and current -1. (so 4 and
>>> 3GS). Same with OS's. I now only support 4.2, 4.1 and maybe 3.whatever
>>> the last one was. 4.2 runs well enough on a 3G, the iPad can do 4.2,
>>> and from memory, it's an (almost) free upgrade for everyone with a
>>> touch. I'm happy to help users, but I dont have the budget (time or
>>> money) to have a 2G, 3G, 3GS, 4 running 3.x, 4.0, 4.1, 4.2 etc. (that
>>> would be 16 iDevices FFS)
>>>
>>> I have a 3G-equivalent ipodtouch I test on, but I dont expect great
>>> performance on it. If it works on that, I'm done.
>>>
>>> Back on topic: MT doesn't load ANY assemblies, if I understand it
>>> right. It AOT-complies everything into ARM code* during compilation,
>>> and thats your app. The DLL's are included, but i never worked out
>>> why. (debug maybe?)
>>>
>>> But as usual, I defer to the wisdom of the Kanga. :)
>>>
>>>
>>>
>>> * I was using "ARM assembly" here, as in "ARM CPU instructions", but
>>> it's kinda confusing with ".NET assembly" (a dll) vrs "ARM assembly"
>>> (raw CPU code, not a DLL)
>>>
>>>
>>> On Thu, Dec 9, 2010 at 08:57, Ash<Ash at sketchmd.com>  wrote:
>>>> The App load takes less than 10 seconds on a iPhone 3GS, iPad and iPhone
>> 4, so there isn't a issue there. Unfortunately, I can't ask customers to
>> upgrade their phones :-)
>>>>
>>>> My question was more around how MonoTouch loads all the dependent
>> assemblies. Does it load it on startup? Or on Demand? Or does the iOS
>> architecture prevent modules to be loaded dynamically?
>>>>
>>>> Thx,
>>>> Ash
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Nic Wise [mailto:nicw at fastchicken.co.nz]
>>>> Sent: Wednesday, December 08, 2010 11:35 AM
>>>> To: Ash
>>>> Cc: Forums, MonoTouch
>>>> Subject: Re: [MonoTouch] App loading times with MonoTouch
>>>>
>>>> I'd guess you would need tos split your code out somehow. I'm not sure
>>>> you can dynamically load code on the iPhone anyway.... you'd be in
>>>> Obj-C land if you did....
>>>>
>>>> That said, an iPhone 2G? Does it work on a 3G? or a 3GS? You problem
>>>> may be "lack of horsepower".
>>>>
>>>> On Thu, Dec 9, 2010 at 06:31, Ash<Ash at sketchmd.com>  wrote:
>>>>> One of my apps under development is over 15MB and it spends over 10
>> seconds
>>>>> on the loading screen on iPhone 2G and gets killed on the startup
>> screen.
>>>>>
>>>>>
>>>>>
>>>>> Is there a way to do delayed loading of modules/library projects in MT?
>>>>> after the MainWindow is loaded?
>>>>>
>>>>>
>>>>>
>>>>> Thx,
>>>>>
>>>>> Ash
>>>>>
>>>>> _______________________________________________
>>>>> MonoTouch mailing list
>>>>> MonoTouch at lists.ximian.com
>>>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nic Wise
>>>> t.  +64 21 676 418 | @fastchicken | http://www.linkedin.com/in/nicwise
>>>> b. http://www.fastchicken.co.nz/ | http://www.flickr.com/photos/nicwise
>>>> mobileAgent (for FreeAgent): get your accounts in your pocket.
>>>> http://goo.gl/IuBU
>>>>
>>>> Note: We are in New Zealand from Dec 2010 to 19th Feb 2011. UK number
>>>> will work again after that (+44 7788 592 806)
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Nic Wise
>>> t.  +64 21 676 418 | @fastchicken | http://www.linkedin.com/in/nicwise
>>> b. http://www.fastchicken.co.nz/ | http://www.flickr.com/photos/nicwise
>>> mobileAgent (for FreeAgent): get your accounts in your pocket.
>>> http://goo.gl/IuBU
>>>
>>> Note: We are in New Zealand from Dec 2010 to 19th Feb 2011. UK number
>>> will work again after that (+44 7788 592 806)
>>> _______________________________________________
>>> MonoTouch mailing list
>>> MonoTouch at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>>
>>
>>
>> --
>> Nic Wise
>> t.  +64 21 676 418 | @fastchicken | http://www.linkedin.com/in/nicwise
>> b. http://www.fastchicken.co.nz/ | http://www.flickr.com/photos/nicwise
>> mobileAgent (for FreeAgent): get your accounts in your pocket.
>> http://goo.gl/IuBU
>>
>> Note: We are in New Zealand from Dec 2010 to 19th Feb 2011. UK number
>> will work again after that (+44 7788 592 806)
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch



More information about the MonoTouch mailing list