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

Re^2: Best perl compiler??

by afoken (Parson)
on May 27, 2012 at 19:49 UTC ( #972732=note: print w/ replies, xml ) Need Help??


in reply to Re: Best perl compiler??
in thread Best perl compiler??

It can make an executable image for a platform. I haven't done it myself, but the tool can make a Unix image on a Windows platform, etc. (or so I hear).

A single image for all Unixes? I highly doubt that. Building a single image "just" for all Linuxes out there is at least hard, if not impossible. Just look at the various CPUs Linux can run on, not to mention libc versions, processor optimized code, and so on.

Also, ActiveState lists only Windows, Linux, Mac OS X in the free edition, plus Solaris, HP-UX and AIX in the commercial editions. Where are the BSDs? SCO? Minix? All those legacy Unixes?

It might be a fun or research project to write a single executable that can run "just" on all CPUs Linux supports. For some people, it might be even more fun to make that executable run on non-Linux systems. But those won't end in a commercial project, simply because the resulting executable has to be ridiculously large to contain binary code for all the different platforms. See also fat binary, FatELF. Note that ELF is just one of many executable formats, FatELF files won't work on systems that can't execute ELF files.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)


Comment on Re^2: Best perl compiler??

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-08-01 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls