Re: Current vs future Perl 6 binary size

2011-04-22 Thread Patrick R. Michaud
On Fri, Apr 22, 2011 at 05:15:30PM +0200, Moritz Lenz wrote: > After some futher analysis I found that perl6.pbc and the perl6 binary > both are about 11MB in size - and 1.3MB when compressed with gzip. > > So if anybody actually wants to do something about the size, teach > parrot's pbc_to_exe co

Re: Current vs future Perl 6 binary size

2011-04-22 Thread Patrick R. Michaud
On Fri, Apr 22, 2011 at 10:27:47AM -0400, Guy Hulbert wrote: > On Fri, 2011-22-04 at 09:09 -0500, Patrick R. Michaud wrote: > > We can > > actually make the "perl6" executable file itself as small as > > 50K, but the first thing it then does is load a several-megabyte > > Parrot bytecode library.

Re: Current vs future Perl 6 binary size

2011-04-22 Thread Moritz Lenz
After some futher analysis I found that perl6.pbc and the perl6 binary both are about 11MB in size - and 1.3MB when compressed with gzip. So if anybody actually wants to do something about the size, teach parrot's pbc_to_exe compress the pbc, and uncompress into memory upon loading. In the long r

Re: Current vs future Perl 6 binary size

2011-04-22 Thread Guy Hulbert
On Fri, 2011-22-04 at 09:09 -0500, Patrick R. Michaud wrote: > We can > actually make the "perl6" executable file itself as small as > 50K, but the first thing it then does is load a several-megabyte > Parrot bytecode library. > > But overall answer to your question -- yes, we expect that > impro

Re: Current vs future Perl 6 binary size

2011-04-22 Thread Patrick R. Michaud
On Fri, Apr 22, 2011 at 12:33:45AM +0100, gvim wrote: > The Perl 6 binary within the January release of Rakudo Star > is 10Mb on my Snow Leopard system. Do I take it that the > Perl 6 binary is [...] much larger than the current > Perl 5.12 (1.6Mb) or is it simply that the Perl 6 binary > is li

Re: Current vs future Perl 6 binary size

2011-04-22 Thread Moritz Lenz
On 04/22/2011 01:33 AM, gvim wrote: > Do I take it that the Perl 6 binary is, by design, much larger than the > current Perl 5.12 (1.6Mb) No, we didn't design either the language or the compiler with the goal of having a large executable. And I seem to recall we already had a similar discussion

Re: Current vs future Perl 6 binary size

2011-04-21 Thread Jonathan Scott Duff
On Thu, Apr 21, 2011 at 6:33 PM, gvim wrote: > This is not a criticism of anything. I am not a core developer but need to > be aware of what to expect when Perl 6 settles down into a production-ready > state. The Perl 6 binary within the January release of Rakudo Star is 10Mb > on my Snow Leopard

Current vs future Perl 6 binary size

2011-04-21 Thread gvim
This is not a criticism of anything. I am not a core developer but need to be aware of what to expect when Perl 6 settles down into a production-ready state. The Perl 6 binary within the January release of Rakudo Star is 10Mb on my Snow Leopard system. Do I take it that the Perl 6 binary is, by