Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: High Performance Perl

by audreyt (Hermit)
on May 25, 2005 at 14:25 UTC ( #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.


Comment on Re^2: High Performance Perl
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
Node Status?
node history
Node Type: note [id://460340]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-09-22 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls