[MacRuby-devel] [MacRuby] #361: Embed MacRuby Target Adds 60+ MB to .app

MacRuby ruby-noreply at macosforge.org
Thu Oct 1 21:05:08 PDT 2009


#361: Embed MacRuby Target Adds 60+ MB to .app
---------------------------------+------------------------------------------
 Reporter:  dylan@…              |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by lsansonetti@…):

 Are you using 0.4 or 0.5 (trunk)? The rewrite of the new VM in C++ plus
 the static inclusion of LLVM unfortunately grew up the size of MacRuby in
 trunk. The dylib is about 28MB here (which contains code for both i386 and
 x86_64, so it can be cut in half if necessary). Due to heavy STL inlining
 certain object files are very big, this is a shame. We have a plan to put
 some object files on diet and also move the LLVM stuff we need into a
 shared library.

 Also, the Embed MacRuby target embeds everything, including the standard
 library, gems, and so on as you may have noticed. Most programs probably
 only need libmacruby.dylib. The target could potentially be changed to
 allow 2 modes, one that embeds everything and one that only embeds the
 dylib.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/361#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list