Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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.

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://460340]
[robby_dobby]: Likewise! I haven't seen a lot of people with HAs back where I come from, so I figured it might be the same around here too...
[robby_dobby]: Oh, shit -- I was replying to someone, but it wound up here. -_-
robby_dobby is still not used to PM's interface. /o\
[oiskuu]: War. War never changes.
[robby_dobby]: "My cat is a very good mouser" -- that's a great way to identify a Brit among a crowd :-)
thezip looks around to see no one else dancing to Piazzola...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-11-17 19:40 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (272 votes). Check out past polls.