Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: What defines "Pure Perl"?

by mpeg4codec (Pilgrim)
on Sep 08, 2008 at 18:51 UTC ( #709829=note: print w/replies, xml ) Need Help??

in reply to Re: What defines "Pure Perl"?
in thread What defines "Pure Perl"?

An example of such a platform is Solaris, since Sun wants big bucks for the native compiler. While there are hacks for using gcc to build XS modules, they are just that: hacks. Pure perl is vastly preferred.

Replies are listed 'Best First'.
Re^3: What defines "Pure Perl"?
by Joost (Canon) on Sep 08, 2008 at 19:11 UTC
      At least the last time I compared them, gcc produced code that was quite noticeably slower. Now this doesn't matter if you're writing your code in perl (if speed were all important you'd use C or FORTRAN or some related evil), but it does matter for some XS modules.
Re^3: What defines "Pure Perl"?
by waswas-fng (Curate) on Sep 08, 2008 at 22:49 UTC
    gcc works well (and is even shipped) with Solaris 9 and later. Before that gcc worked well for xs, but you needed to get it from sunfreeware or some other packager. -Waswas

Re^3: What defines "Pure Perl"?
by Corion (Pope) on Sep 08, 2008 at 18:58 UTC

    Actually I believe that the Sun Forté compiler is now available for free for Solaris 10, but I haven't looked closely.

Re^3: What defines "Pure Perl"?
by bingos (Vicar) on Sep 09, 2008 at 08:46 UTC

    $35.00 doesn't strike me as "big bucks"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://709829]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2018-06-21 11:29 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.