pyvm source code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stelios xanthakis

    #1

    pyvm source code

    Hi.

    pyvm is a program that can run python 2.4 bytecode.
    It can also run the bytecode of the 'pyc compiler' and
    consequently it can run python source code.

    It's written from the scratch and it has only been
    tested on a x86/Linux system. It's not portable yet,
    neither ready for the simple user, not to mention that
    gcc >= 3.4 is required to compile it :)

    What's good about it is that it's small and easier to
    hack and write large scale programs using pyvm as the
    base runtime. On the other hand, pyvm is not compatible
    with python and AFAIC there is no plan doing this as
    a hobby.

    The source code is available under LGPL at:




    Enjoy,

    Stelios


  • EleSSaR^

    #2
    Re: pyvm source code

    stelios xanthakis si è profuso/a a scrivere su comp.lang.pytho n tutte
    queste elucubrazioni:
    [color=blue]
    > What's good about it is that it's small and easier to
    > hack and write large scale programs using pyvm as the
    > base runtime. On the other hand, pyvm is not compatible
    > with python and AFAIC there is no plan doing this as
    > a hobby.[/color]

    I'm sorry I don't get it. Could you please explain it better? What are the
    advantages of this pyvm compared to the 'original' Python? Python is
    available on x86-linux, so it's not an additional platform. Maybe it's
    faster? Has it got a smaller memory footprint? Or what?


    --
    Alan Franzoni <alan.franzoni. xyz@gmail.com>
    -
    Togli .xyz dalla mia email per contattarmi.
    Rremove .xyz from my address in order to contact me.
    -
    GPG Key Fingerprint:
    5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E

    Comment

    • Martin v. Löwis

      #3
      Re: pyvm source code

      EleSSaR^ wrote:[color=blue][color=green]
      >>What's good about it is that it's small and easier to
      >>hack and write large scale programs using pyvm as the
      >>base runtime.[/color]
      >
      > I'm sorry I don't get it. Could you please explain it better? What are the
      > advantages of this pyvm compared to the 'original' Python?[/color]

      I think he said it: it's small(er) and easier to hack. He also
      says it is easier to write large-scale programs with it than
      with CPython, but I find that hard to believe.

      Whether "small and easy to hack" has any value to you depends
      on whether you ever wanted to hack a virtual machine.

      Regards,
      Martin

      Comment

      Working...