[MacRuby-devel] Size of the apps

Daniel Lopes danielvlopes at gmail.com
Thu Apr 15 13:27:03 PDT 2010


Can't agree more with Jordan. I just raised this question to know if I'm
doing something wrong or 32mb is the right size. I already read the sources
of MacRuby and I hope to help in near future (my C and ObjC isn't so good).

On Thu, Apr 15, 2010 at 4:25 PM, Jordan K. Hubbard <jkh at apple.com> wrote:

> Folks, I think everyone needs to also put this into perspective.  We have a
> very finite amount of engineering resources to devote to MacRuby development
> (as anyone who has followed the mailing list for the last year or so already
> knows) and we don't even run Rails yet.  In the grander scheme of things, we
> have a lot more work to do in making MacRuby run *correctly* for all
> reasonable values of correctly before worrying about size and performance.
>  As the old saying goes, "first make it work, then make it work fast [or
> small]".  We're not quite at the stage where MacRuby fully works in all
> scenarios that Ruby 1.8 / Ruby 1.9 does, and that has to take priority here!
>   Simply chiming in with "Me too!  Me too!  Make it smaller!" is not
> particularly helpful here unless you're ALSO volunteering to do the
> engineering work involved.  Who's volunteering? :-)
>
> - Jordan
>
>
> On Apr 15, 2010, at 7:05 AM, robert gleeson wrote:
>
> I agree, 100%, with Dave Baldwin. It would be nice to see the overall size
> of a MacRuby application reduced to somewhere between 5-8MB because of the
> reasons he listed. I don't think MacRuby can be a big player until we can
> distribute smaller apps.
>
> Rob
>
> On 15 Apr 2010, at 09:35, Dave Baldwin wrote:
>
>
> On 14 Apr 2010, at 19:47, Daniel Lopes wrote:
>
> Ops, sorry... small typo == isn't a big issue. Nobody cares for 10mb or
> 30mb today.
>
>
> I disagree strongly.  I have not downloaded apps because their size seems
> way out of kilter with the functionality they offer.  Who wants to support
> gratuitous bloatware?
>
> Download size is important"
> 1.  Not everyone is on broadband.
> 2.  Many people do not download via a landline - i.e. use the mobile or
> cell network
> 3.  Many people have some cap on the amount they can download per month.
> 4.  If I am hosting the sale of an app I don't want to pay pay for more
> bandwidth than needed as there is a per purchase multiplier in there.
> 5.  If MacRuby has any aspirations to running on the iPhone OS then the
> available memory on these devices is limited so 30MB (or whatever) for a
> trivial app is way larger than the current sub MB these type of apps
> currently take.
>
> The size issue will go away if Apple includes MacRuby and its support
> frameworks as standard in the OS(es) but until these become the norm it is
> worth finding solutions to at least minimise the impact.
>
> Dave.
>
>
>
>
>
>
> On Wed, Apr 14, 2010 at 3:45 PM, Matt Aimonetti <mattaimonetti at gmail.com>wrote:
>
>> Daniel, can you explain why you think it's a big issue? Maybe we can help
>> with some temporary solutions.
>>
>> - Matt
>>
>>
>> On Wed, Apr 14, 2010 at 7:13 AM, Daniel Lopes <danielvlopes at gmail.com>wrote:
>>
>>> Thanks Laurent, but I also think the size of apps in Mac dev is a big
>>> issue.
>>>
>>> On Wed, Apr 14, 2010 at 10:35 AM, Gary Weaver <gary.weaver at duke.edu>wrote:
>>>
>>>> Laurent,
>>>>
>>>> Thanks! That is awesome!
>>>>
>>>> Will this reduce the footprint of HotCocoa apps as well?
>>>>
>>>> Thanks,
>>>>
>>>> Gary
>>>>
>>>>
>>>> On Apr 9, 2010, at 8:27 PM, Laurent Sansonetti wrote:
>>>>
>>>> Hi Daniel,
>>>>
>>>> As Matt said, it is possible to trim out your .app bundle to only ship
>>>> what's really needed. If you do not need the standard library and
>>>> extensions, removing them might free some memory. I believe the min. size is
>>>> about 20MB then (I'm not exactly certain though), for both 32-bit and 64-bit
>>>> Intel architectures. Of course removing 32-bit will free another 10MB.
>>>>
>>>> There is an effort for the next release (0.7) to prepare a (much)
>>>> smaller runtime used during static AOT compilation. The resulted binary
>>>> would not contain LLVM code, and some Ruby features would also not be
>>>> available. I estimate the binary size to then be a couple of MBs (maybe
>>>> less), but this is an estimation :-)
>>>>
>>>> Laurent
>>>>
>>>> On Apr 7, 2010, at 8:50 AM, Daniel Lopes wrote:
>>>>
>>>> Hello, this is my first post here and I am new in the Apple Dev/MacRuby.
>>>> I don't know if this the right mailing list, I don't found any other in the
>>>> MacRuby site related to questions about development. So, if this mail isn't
>>>> appropriate here please let me know. Some days ago, in a sample app, I tried
>>>> to embed the MacRuby Framework to distribute the app as a standalone package
>>>> but the size of the app became huge. There is some effort to make the
>>>> embedded framework smaller or any tip/tricks that I should do to get small
>>>> apps? Or all my apps will have 34mb? (It's not a big problem, just to know).
>>>>
>>>> Thanks.
>>>>
>>>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>>> Daniel Lopes  -  Area Criações
>>>> Design, Websites e Sistemas Web
>>>>
>>>> http://www.areacriacoes.com.br/
>>>> http://www.cifrascash.com/
>>>> http://pomodo.areacriacoes.com.br/
>>>> http://egenial.com.br/cursorails
>>>>
>>>> twitter: @danielvlopes
>>>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>>> 55 (31) 3077-4560  /  55 (31) 8808-8748  /  55 (31) 8737-7501
>>>>  _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>>
>>>>
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>
>>>
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100415/4c1db8ac/attachment-0001.html>


More information about the MacRuby-devel mailing list