473,408 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Psyco on PowerPC?

Is anyone aware of any effort in bringing Psyco onto other platforms,
esp. PowerPC (Mac OS X)? I checked the website but it's still stated as
X86 only.

Thanks,

Ben

Jul 18 '05 #1
3 1413
Hi Ben,

Directly from Armin

http://codespeak.net/pipermail/pypy-...q3/002219.html

Haven't try it myself though.

Please post here any success/failure you may experience in Mac OSX.

Hope this helps.

--roberto

Han Benjamin <bh**@andrew.cmu.edu> wrote in message news:<30**********************************@andrew. cmu.edu>...
Is anyone aware of any effort in bringing Psyco onto other platforms,
esp. PowerPC (Mac OS X)? I checked the website but it's still stated as
X86 only.

Thanks,

Ben

Jul 18 '05 #2
Ok here is what I did

1. pulled the latest CVS
2. did a "python setup.py install"
3. ran this testing program:

-- CUT --
#!/usr/bin/env python

import time
import psyco

def f (x):
p1=p2=ret=0
for i in xrange(0,x+1):
if i==1:
p1=ret=1
else:
ret=p2+p1
p2=p1
p1=ret

return ret

startTime=time.time()
print f(100000)
endTime=time.time()
print '* Elapsed time =',endTime-startTime

fastF=psyco.proxy(f)
startTime=time.time()
print fastF(99)
endTime=time.time()
print '* Elapsed time =',endTime-startTime
-- CUT --

The result (on my PowerBook G4):

2597406.... (big number)
* Elapsed time = 2.41602706909
Fatal Python error: psyco: out of memory
Abort trap
I have 1 GB memory. Maybe it's still in the early development stage?

Thanks,

Ben
On Sat, 23 Jan 2004, Roberto Lopez-Gulliver wrote:
Hi Ben,

Directly from Armin

http://codespeak.net/pipermail/pypy-...q3/002219.html

Haven't try it myself though.

Please post here any success/failure you may experience in Mac OSX.

Hope this helps.

--roberto

Han Benjamin <bh**@andrew.cmu.edu> wrote in message news:<30**********************************@andrew. cmu.edu>...
Is anyone aware of any effort in bringing Psyco onto other platforms,
esp. PowerPC (Mac OS X)? I checked the website but it's still stated as
X86 only.

Thanks,

Ben


---
Benjamin Han (http://www.cs.cmu.edu/~benhdj)

Language Technologies Institute, School of Computer Science
Carnegie Mellon University
Jul 18 '05 #3
On Sat, 24 Jan 2004, Benjamin Han wrote:
Ok here is what I did

1. pulled the latest CVS
2. did a "python setup.py install"
3. ran this testing program:
{...}
The result (on my PowerBook G4):

2597406.... (big number)
* Elapsed time = 2.41602706909
Fatal Python error: psyco: out of memory
Abort trap
I have 1 GB memory. Maybe it's still in the early development stage?


As its not part of a public psyco release, I think that would be a safe
assumption.

--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullseye.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: KefX | last post by:
Hey...as for what I'm doing with Python, look at my post "Strange Hotshot problem". To make a long story short, I'm embedding Python in order to write a plugin to a freeware music program; the...
10
by: William S. Perrin | last post by:
I'm a python rookie, anyone have and suggestions to streamline this function? Thanks in advance..... def getdata(myurl): sock = urllib.urlopen(myurl) xmlSrc = sock.read() sock.close() ...
0
by: Jeremy Sanders | last post by:
Hi - I'm trying to build a Psyco rpm on Fedora 1. I try the command xpc5:~/psyco-1.1.1> python setup.py bdist_rpm this fails with: .... copying dist/psyco-1.1.1.tar.gz ->...
7
by: Ivan Voras | last post by:
I have this simple *dumb* benchmark-like program: #import psyco #psyco.full() d = 0.0 for i in xrange(1000000000): d += i print d
3
by: Dick Moores | last post by:
psyco is acting a bit psycho for me. Please see my spinForWeb.py at <http://www.rcblue.com/Python/spinForWeb.py> When psyco is in use, entering an integer somewhere between 2000 and 2500...
5
by: Fausto Arinos Barbuto | last post by:
Hi All; I have Psyco (on Windows XP) and now I want to install it on Linux, too. I FTP'd the tarball (tar.gz) from Psyco's site but can't get it compiled. First, I tried the usual "python...
3
by: nightolo | last post by:
Hi all, after all I have to say that I'm not a native english speaker so I pray you to excuse for my poor english. I got a trouble writing an application in a powerpc enviroment, that's the...
6
by: danmcleran | last post by:
I'm not seeing much benefit from psyco (only 5-10% faster). Maybe this example is too trivial? Can someone give me some pointers as to what kind of code would see a dramatic benefit? Here's the...
3
by: a | last post by:
hi i tried psyco+webpy here is the error that i got please let me know if any of you has success run psyco+webpy thanks import web, psyco urls = ( '/', 'view', '/add','add'
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.