Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Keep It Simple, Stupid
 
PerlMonks  

Re^3: {Perl6} Macros and native compilation

by chip (Curate)
on Apr 11, 2005 at 14:30 UTC ( #446616=note: print w/ replies, xml ) Need Help??


in reply to Re^2: {Perl6} Macros and native compilation
in thread {Perl6} Macros and native compilation

In a new twist on an old favorite: "Benchmarks welcome." I'm especially interested to know what a full-on native code compiler can do for you that a JIT can't.

    -- Chip Salzenberg, Free-Floating Agent of Chaos


Comment on Re^3: {Perl6} Macros and native compilation
Re^4: {Perl6} Macros and native compilation
by adrianh (Chancellor) on Apr 11, 2005 at 15:24 UTC
    I'm especially interested to know what a full-on native code compiler can do for you that a JIT can't

    Oh I've nothing against JIT. Compilation to native code is compilation to native code (if we ignore all that tedious mucking about with caching and timing of the compiles).

    As for benchmarks take a look at Lisp is slow (NOT!) for an example of CMUCL and SBCL (compiled Lisps) beating out C++ in a benchmark.

    Please don't take this to mean that I think compilation to native code is necessary, or that interpreted VMs are useless and slow. Premature optimisation and all that. I will quite happily use Perl 6 running on an interpreted Parrot and I'm sure it will do all that I need it to do. The domains that I spend most of my time coding in are not CPU bound.

    You just asked "why not just keep the bulk of the code as Parrot" - and speed (for those where it is an actual, rather than an imagined, issue) is one reason.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://446616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-04-16 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls