>From 
>https://brrt-to-the-future.blogspot.com/2018/07/perl-6-on-moarvm-has-had-jit-for-few.html

> PS: You might read this and be reasonably surprised that Rakudo Perl 6 is 
> not, after all this, very fast yet. I have a - not entirely serious - 
> explanation for that:

> 1. All problems in computer science can be solved with a layer of indirection.
> 2. Many layers of indirection make programs slow.
> 3. Perl 6 solves many computer science problems for you ;-)

>. In the future, we'll continue to solve those problems, just faster.

Basically, even minor things like adding two numbers together, involve
half a dozen or more layers of indirection.
(The optimizer eliminates some of the needless layers of indirection.)

On Sat, Apr 27, 2019 at 6:53 PM ToddAndMargo via perl6-users
<perl6-users@perl.org> wrote:
>
> On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote:
> > Hi All,
> >
> > One liners are fast, but my own programs are very slow to start.
> >
> > I download
> >
> > https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6
> >
> > To check it out and it also takes ten second to start.
> >
> > What gives?
> >
> > Many thanks,
> > -T
>
>
> For comparison purposes, I do have similar sized Perl 5 programs
> with similar amounts of modules, that start almost instantly.

Reply via email to