Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: High Performance Perl

by audreyt (Hermit)
on May 25, 2005 at 14:25 UTC ( [id://460340]=note: print w/replies, xml ) Need Help??


in reply to Re: High Performance Perl
in thread High Performance Perl

I do agree that blindly using unboxed types (like Perl 6's int) is a Bad Idea. Actually, all uses of unboxed types, except in very tightly contained and verified places, are potential disasters waiting to happen.

I'd much rather the Perl 6 compiler being able to infer when it is safe to use unboxed types, and only apply unboxing optimisations when it is sound to do so. At least, that is my goal in my work on Perl 6 to Parrot codegen as part of Pugs.

Replies are listed 'Best First'.
Re: High Performance Perl
by jonadab (Parson) on May 26, 2005 at 10:54 UTC
    I'd much rather the Perl 6 compiler being able to infer when it is safe to use unboxed types

    Yeah, that'd be cool. Let me know how you solve the halting problem.

      Sure. You solve it by doing whole-program analysis, and preferably restrict eval "" calls to not able to add ad-hoc bindings to Int.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found