Python/Parrot still alive?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Berlin Brown

    Python/Parrot still alive?

    Is there going to be a python parrot release. I looking on the web and
    seeing stuff, stilly pending. That would be cool to see application
    servers, via python(I think that could only be with a virtual machine).
    Could be wrong of course.

  • Martin v. Löwis

    #2
    Re: Python/Parrot still alive?

    Berlin Brown wrote:[color=blue]
    > Is there going to be a python parrot release. I looking on the web and
    > seeing stuff, stilly pending. That would be cool to see application
    > servers, via python(I think that could only be with a virtual machine).
    > Could be wrong of course.[/color]

    If you believe that application servers require Parrot because it
    has a virtual machine, you are certainly wrong:
    - Python does have a virtual machine even without Parrot.
    - Applications servers do not fundamentally require virtual
    machines.

    Regards,
    Martin

    Comment

    • Paul Prescod

      #3
      Re: Python/Parrot still alive?

      Martin v. Löwis wrote:
      [color=blue]
      > ...
      >
      > If you believe that application servers require Parrot because it
      > has a virtual machine, you are certainly wrong:
      > - Python does have a virtual machine even without Parrot.
      > - Applications servers do not fundamentally require virtual
      > machines.[/color]

      It is interesting how interpreters have been rebranded as "virtual
      machines." Python people still use the word "interprete r" and that is
      probably not great from a marketing point of view.

      Paul Prescod



      Comment

      • Martin v. Löwis

        #4
        Re: Python/Parrot still alive?

        Paul Prescod wrote:[color=blue]
        > It is interesting how interpreters have been rebranded as "virtual
        > machines." Python people still use the word "interprete r" and that is
        > probably not great from a marketing point of view.[/color]

        I personally make a distinction between an interpreter and a virtual
        machine. A virtual machine is one that has a "machine code", i.e. a
        set of abstract instructions, operating on machine state. In Python,
        the abstract set of instructions is the Python byte code, and the
        abstract state is the collection of frame objects, etc.

        Some interpreters don't have virtual machines, e.g. Tcl did not
        have one until Tcl 8 or so. OTOH, not all virtual machines are
        interpreted, e.g. MS .NET is always compiled to native code
        ("just in time" :-) instead of being interpreted.

        Regards,
        Martin

        Comment

        • Lothar Scholz

          #5
          Re: Python/Parrot still alive?

          "Martin v. Löwis" <martin@v.loewi s.de> wrote in message news:<c068ah$o0 p$00$1@news.t-online.com>...
          [color=blue]
          > Some interpreters don't have virtual machines, e.g. Tcl did not
          > have one until Tcl 8 or so. OTOH, not all virtual machines are[/color]

          So Ruby is an interpreter and not a virutal machine ?

          Comment

          • Martin v. Löwis

            #6
            Re: Python/Parrot still alive?

            Lothar Scholz wrote:[color=blue][color=green]
            >>Some interpreters don't have virtual machines, e.g. Tcl did not
            >>have one until Tcl 8 or so. OTOH, not all virtual machines are[/color]
            >
            >
            > So Ruby is an interpreter and not a virutal machine ?[/color]

            I don't know how Ruby is implemented.

            On the language level, there are not interpreted or compiled
            languages - there are only interpreters and compilers, and they
            are on the level of language implementation. So your question
            would be only valid for "Ruby 1.8.1" or some other specific
            version. However, I could not answer the question for any Ruby
            version.

            Regards,
            Martin

            Comment

            • Peter Hansen

              #7
              Re: Python/Parrot still alive?

              Lothar Scholz wrote:[color=blue]
              >
              > "Martin v. Löwis" <martin@v.loewi s.de> wrote in message news:<c068ah$o0 p$00$1@news.t-online.com>...
              >[color=green]
              > > Some interpreters don't have virtual machines, e.g. Tcl did not
              > > have one until Tcl 8 or so. OTOH, not all virtual machines are[/color]
              >
              > So Ruby is an interpreter and not a virutal machine ?[/color]

              Does Ruby have a "byte code" such as Python and Java have?

              Comment

              • Lothar Scholz

                #8
                Re: Python/Parrot still alive?

                Peter Hansen <peter@engcorp. com> wrote in message news:<4027ECDE. AB5BE4B6@engcor p.com>...[color=blue]
                > Lothar Scholz wrote:[color=green]
                > >
                > > "Martin v. Löwis" <martin@v.loewi s.de> wrote in message news:<c068ah$o0 p$00$1@news.t-online.com>...
                > >[color=darkred]
                > > > Some interpreters don't have virtual machines, e.g. Tcl did not
                > > > have one until Tcl 8 or so. OTOH, not all virtual machines are[/color]
                > >
                > > So Ruby is an interpreter and not a virutal machine ?[/color]
                >
                > Does Ruby have a "byte code" such as Python and Java have?[/color]

                No. It keeps the parse tree in memory and traverse it during
                evaluation. Same as all lisp interpreters(?! ?!).

                Comment

                • Jeremy Fincher

                  #9
                  Re: Python/Parrot still alive?

                  llothar@web.de (Lothar Scholz) wrote in message news:<6ee58e07. 0402091917.13fd aa8e@posting.go ogle.com>...[color=blue]
                  > Peter Hansen <peter@engcorp. com> wrote in message news:<4027ECDE. AB5BE4B6@engcor p.com>...[color=green]
                  > > Lothar Scholz wrote:[color=darkred]
                  > > >
                  > > > "Martin v. Löwis" <martin@v.loewi s.de> wrote in message news:<c068ah$o0 p$00$1@news.t-online.com>...
                  > > >
                  > > > > Some interpreters don't have virtual machines, e.g. Tcl did not
                  > > > > have one until Tcl 8 or so. OTOH, not all virtual machines are
                  > > >
                  > > > So Ruby is an interpreter and not a virutal machine ?[/color]
                  > >
                  > > Does Ruby have a "byte code" such as Python and Java have?[/color]
                  >
                  > No. It keeps the parse tree in memory and traverse it during
                  > evaluation. Same as all lisp interpreters(?! ?!).[/color]

                  Definitely not the same as Lisp. In actuality, a Common Lisp
                  implementation that compiles to bytecode rather than native code is
                  uncommon; the majority of quality (i.e., complete) implementations
                  compile to native code.

                  Jeremy

                  Comment

                  • Michael Hudson

                    #10
                    Re: Python/Parrot still alive?

                    tweedgeezer@hot mail.com (Jeremy Fincher) writes:
                    [color=blue]
                    > llothar@web.de (Lothar Scholz) wrote in message news:<6ee58e07. 0402091917.13fd aa8e@posting.go ogle.com>...[color=green]
                    > > Peter Hansen <peter@engcorp. com> wrote in message news:<4027ECDE. AB5BE4B6@engcor p.com>...[color=darkred]
                    > > > Lothar Scholz wrote:
                    > > > >
                    > > > > "Martin v. Löwis" <martin@v.loewi s.de> wrote in message news:<c068ah$o0 p$00$1@news.t-online.com>...
                    > > > >
                    > > > > > Some interpreters don't have virtual machines, e.g. Tcl did not
                    > > > > > have one until Tcl 8 or so. OTOH, not all virtual machines are
                    > > > >
                    > > > > So Ruby is an interpreter and not a virutal machine ?
                    > > >
                    > > > Does Ruby have a "byte code" such as Python and Java have?[/color]
                    > >
                    > > No. It keeps the parse tree in memory and traverse it during
                    > > evaluation. Same as all lisp interpreters(?! ?!).[/color]
                    >
                    > Definitely not the same as Lisp. In actuality, a Common Lisp
                    > implementation that compiles to bytecode rather than native code is
                    > uncommon; the majority of quality (i.e., complete) implementations
                    > compile to native code.[/color]

                    Well, yeah, but I think what happens to stuff you type into the repl
                    of e.g. CMUCL could be described as traversing the parse tree. CMUCL
                    has a bytecode compiler and a native compiler *as well*, but I think
                    you have to ask for them. SBCL (and some others: Corman, MCL)
                    compiles absolutely everything to native code, I think.

                    Cheers,
                    mwh

                    --
                    If i don't understand lisp, it would be wise to not bray about
                    how lisp is stupid or otherwise criticize, because my stupidity
                    would be archived and open for all in the know to see.
                    -- Xah, comp.lang.lisp

                    Comment

                    Working...