Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Perl  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

Prentitious

    Topic Starter


    Rookie

    Perl
    « on: April 12, 2008, 04:18:28 AM »
    I know that Java is based on this principle:
    "Java should allow the same program to be executed on multiple operating systems."

    I know that C++ does not comply with this statement. But does Perl?

    Deerpark



      Egghead
    • Thanked: 1
      Re: Perl
      « Reply #1 on: April 12, 2008, 04:32:13 AM »
      No.
      Java accomplish being cross platform by running its code in a virtual machine called the JVM. In order for Java to run on a given platform a platform compatible JVM must be written.
      Only other mainstream programming framework I know that uses a VM is the .NET framework.
      Any sufficiently advanced technology is indistinguishable from magic.
      Arthur C. Clarke (1917 - 2008)

      Prentitious

        Topic Starter


        Rookie

        Re: Perl
        « Reply #2 on: April 12, 2008, 06:50:11 AM »
        I think that Perl is highly cross-platform though, because you can use GUI interfaces that are made in Windows, exactly the same on a Unix machine...

        ghostdog74



          Specialist

          Thanked: 27
          Re: Perl
          « Reply #3 on: April 12, 2008, 08:27:56 PM »
          I think that Perl is highly cross-platform though, because you can use GUI interfaces that are made in Windows, exactly the same on a Unix machine...
          what one needs is the "interpreter". You can write perl scripts in windows, and bring it to run in *nix and run it with little/minimal changes. Others like Python,Java,Ruby,Php etc are all cross platform, all thanks to the interpreter.