develooper Front page | perl.perl6.language | Postings from August 2000

the C JIT

Thread Next
From:
David L. Nicol
Date:
August 30, 2000 15:50
Subject:
the C JIT
Message ID:
39AD8F7B.92E025A8@kasey.umkc.edu
Dan Sugalski wrote:

> I do want to have a set of C/XS/whatever sources as part of the test suite
> as well--right now perl's test suite only tests the language, and I think
> we should also test the HLL interface we present, as it's just as
> important in some ways.

I want to see Perl become a full-blown C/C++ JIT.  Since Perl is for
a large part a compatible subset of C I don't see this as unrealistic.

Delaying any post-token parsing of barewords until after looking at
what local declarations are in effect is part of it,  dealing with the
one or two differences in operator precedence that exist is another

(Old precedence semantics unless  new-ism like a declared typed bareword
exists in the current or a surrounding block would be the easiest way to do
it I think)

Typed barewords as an available good syntax would please those who find
perl overpunctuated.

XS would become a more proper part of the language, the line would blur
as we could mix Perl and C freely with very little performance loss due
to late binding except in things that are not known at "compile time"
things which by definition cannot be clarified without run-time inputs.



-- 
                          David Nicol 816.235.1187 nicold@umkc.edu

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