develooper Front page | perl.perl6.internals | Postings from October 2005

Re: Tcl - compiling

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
October 4, 2005 02:10
Subject:
Re: Tcl - compiling
Message ID:
1db12aa46cb35f7ca35cdafe45374ef6@toetsch.at

On Oct 4, 2005, at 3:52, Will Coleda wrote:

> On Oct 3, 2005, at 6:34 PM, Leopold Toetsch wrote:
>

>> I don't see the point. Your compiler can emit, e.g.:
>>
>>   "while"(test, body)
>>

> That's actually how things work right now (very similar to the 
> interpreter from previous versions).

Not quite:

$ find lib -name '*.pir' | xargs grep 'sub.*while'
lib/commands/while.pir:.sub "&while"

You obviously have to mangle the subname first, before you can call it.

> Is the argument that inlining will not (even theoretically) provide a 
> speed boost?

No, not at all, that's fine. I just wanted to mention that there are 
still a lot of code pieces left over from the interpreter.

> Regards.

leo


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About