???? Hardware-accellerated python ????
Armin Steinhoff
Armin at Steinhoff_de
Wed Aug 9 03:29:16 EDT 2000
In article <DW4k5.118428$1h3.1883630 at news20.bellglobal.com>, "Olivier says...
>
>If the dictionary lookups are hash-based, there isn't very much improvement
>to be done, as hash tables are usually O(1). I'd say the best accelerator
>for Python is RAM. You can buy more RAM (at your local computer hardware
>store) and add it to your computer and EVERYTHING will go faster!
>
>The nature of an interpreted language (and many other features of python)
>makes it hard to put it on a chip (or to compile). At least, that's how I
>understand it. Maybe I'm wrong?
You are wrong ... tokens processed as machine code ist just faster.
Armin
>
>--
>----------------------------------------------------------------------
>Olivier A. Dagenais - Carleton University - Computer Science III
>
>
>"Francesco Bochicchio" <fbochicchio at galactica.it> wrote in message
>news:87u2cv7xy8.fsf at galactica.it...
>>
>> This is most probably a mid-summer night dream, but ...
>>
>> did anybody thought of any hardware feature which could
>> accellerate the execution of python programs ?
>> As I see it ( admittedly, without having read a single
>> line of Python's interpreter code ), the most performed
>> operation should be the lookup in the object (or module)
>> dictionary.
>> So any hardware or special instruction which accellerates
>> this, would do a lot of good to the execution of python
>> programs ...
>>
>> Truly, it would raise portability issues, but ...
>>
>> --
>> FB
>
>
More information about the Python-list
mailing list