[MacRuby-devel] Size of the apps

Laurent Sansonetti lsansonetti at apple.com
Fri Apr 9 17:27:13 PDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100409/b2b1362d/attachment.html>


More information about the MacRuby-devel mailing list