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


Groups > comp.lang.python > #2473

Re: Python CPU

From "BartC" <bc@freeuk.com>
Newsgroups comp.lang.python
Subject Re: Python CPU
Date 2011-04-02 23:06 +0100
Organization A noiseless patient Spider
Message-ID <in86nc$3d4$1@dont-email.me> (permalink)
References <01bd055b-631d-45f0-90a7-229da4a9a362@t19g2000prd.googlegroups.com>

Show all headers | View raw



"Brad" <hwfwguy@gmail.com> wrote in message 
news:01bd055b-631d-45f0-90a7-229da4a9a362@t19g2000prd.googlegroups.com...
> Hi All,
>
> I've heard of Java CPUs. Has anyone implemented a Python CPU in VHDL
> or Verilog?

For what purpose, improved performance? In that case, there's still plenty 
of scope for that on conventional CPUs.

The Java VM is fairly low level (I would guess, not being too familiar with 
it), while the Python VM seems much higher level and awkward to implement 
directly in hardware.

I don't think it's impossible, but the benefits probably would not match 
those of improving, say, Cpython on conventional hardware. And if a Python 
CPU couldn't also run non-Python code efficiently, then on a typical 
workload with mixed languages, it could be much slower!

However, wasn't there a Python version that used JVM? Perhaps that might run 
on a Java CPU, and it would be interesting to see how well it works.

-- 
Bartc 

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


Thread

Python CPU Brad <hwfwguy@gmail.com> - 2011-04-01 08:38 -0700
  Re: Python CPU jkn <jkn_gg@nicorp.f9.co.uk> - 2011-04-01 08:59 -0700
  Re: Python CPU Nobody <nobody@nowhere.com> - 2011-04-01 17:52 +0100
    Re: Python CPU Stefan Behnel <stefan_ml@behnel.de> - 2011-04-01 19:00 +0200
    Re: Python CPU geremy condra <debatem1@gmail.com> - 2011-04-01 10:12 -0700
  Re: Python CPU Emile van Sebille <emile@fenx.com> - 2011-04-01 11:28 -0700
  Re: Python CPU Emile van Sebille <emile@fenx.com> - 2011-04-01 11:35 -0700
    Re: Python CPU John Nagle <nagle@animats.com> - 2011-04-01 12:18 -0700
  Re: Python CPU "BartC" <bc@freeuk.com> - 2011-04-02 23:06 +0100
    Re: Python CPU Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-03 04:03 +0000
  Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-03 12:10 +1200
    Re: Python CPU Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-03 04:01 +0000
      Re: Python CPU John Nagle <nagle@animats.com> - 2011-04-03 00:16 -0700
        Re: Python CPU Paul Rubin <no.email@nospam.invalid> - 2011-04-03 01:59 -0700
          Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-04 19:41 +1200
        Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-04 19:47 +1200
          Re: Python CPU Paul Rubin <no.email@nospam.invalid> - 2011-04-04 02:23 -0700
            Re: Python CPU Terry Reedy <tjreedy@udel.edu> - 2011-04-04 13:14 -0400
            Re: Python CPU Terry Reedy <tjreedy@udel.edu> - 2011-04-04 14:58 -0400
              Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-05 09:59 +1200
          Re: Python CPU geremy condra <debatem1@gmail.com> - 2011-04-04 09:36 -0700
            Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-05 10:05 +1200
          Re: Python CPU John Nagle <nagle@animats.com> - 2011-04-04 12:56 -0700
            Re: Python CPU Paul Rubin <no.email@nospam.invalid> - 2011-04-04 13:20 -0700
              Re: Python CPU Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-05 10:11 +1200
    Re: Python CPU Werner Thie <werner@thieprojects.ch> - 2011-04-03 17:44 +0200
      Re: Python CPU John Nagle <nagle@animats.com> - 2011-04-03 10:15 -0700
        Re: Python CPU Nobody <nobody@nowhere.com> - 2011-04-03 22:37 +0100
          Re: Python CPU Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-04-03 22:59 -0700

csiph-web