Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2318

Re: a basic bytecode to machine code compiler

From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: a basic bytecode to machine code compiler
Date 2011-04-01 02:05 +0200
References <4j7lp.5204$sS4.1784@newsfe11.iad>
Newsgroups comp.lang.python
Message-ID <mailman.55.1301616327.2990.python-list@python.org> (permalink)

Show all headers | View raw


Rouslan Korneychuk, 01.04.2011 00:33:
> I was looking at the list of bytecode instructions that Python uses and I
> noticed how much it looked like assembly. So I figured it can't be to hard
> to convert this to actual machine code, to get at least a small boost in
> speed.

I think I recall having read about something like this before, but I can't 
quite find it. In any case, you may want to take a look at both Cython and 
Psyco.

Stefan

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

a basic bytecode to machine code compiler Rouslan Korneychuk <rouslank@msn.com> - 2011-03-31 18:33 -0400
  Re: a basic bytecode to machine code compiler Stefan Behnel <stefan_ml@behnel.de> - 2011-04-01 02:05 +0200
  Re: a basic bytecode to machine code compiler Terry Reedy <tjreedy@udel.edu> - 2011-03-31 20:52 -0400
  Re: a basic bytecode to machine code compiler Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-01 12:57 +0000
    Re: a basic bytecode to machine code compiler Stefan Behnel <stefan_ml@behnel.de> - 2011-04-01 17:45 +0200
      Re: a basic bytecode to machine code compiler Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-02 10:04 +0000
        Re: a basic bytecode to machine code compiler Stefan Behnel <stefan_ml@behnel.de> - 2011-04-02 12:30 +0200
          Re: a basic bytecode to machine code compiler John Nagle <nagle@animats.com> - 2011-04-02 12:05 -0700
            Re: a basic bytecode to machine code compiler Paul Rubin <no.email@nospam.invalid> - 2011-04-02 14:32 -0700
            Re: a basic bytecode to machine code compiler Robert Kern <robert.kern@gmail.com> - 2011-04-02 19:12 -0500
  Re: a basic bytecode to machine code compiler Rouslan Korneychuk <rouslank@msn.com> - 2011-04-01 15:31 -0400

csiph-web