FreeOrion

Forums for the FreeOrion project
It is currently Fri Oct 20, 2017 5:48 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Sep 21, 2015 12:35 pm 
Offline
Space Krill

Joined: Tue Sep 01, 2015 12:33 pm
Posts: 5
Hi,

Has anyone tried implementing the latest pypy (python jitting compiler) as a drop-in replacement for cpython? (2.6.1 -> 2.7.10)

It's reached a mature and stable stage nowadays - for compute intensive tasks it's easily 6x faster and as long as certain external modules are not used, it works out of the box.

A definite win-win for weaker devices, like the arm ones for example. Probably not applicable here but with many nested calls it even saves memory compared to cpython. (it needs about 50MB more upfront however)

Cheers!

(one game I'd tested on arm using a lua equivalent (luajit) is called ToME)


Last edited by Massa on Fri Sep 25, 2015 12:43 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PYPY 2.6.1
PostPosted: Tue Sep 22, 2015 5:29 am 
Offline
AI Contributor
User avatar

Joined: Tue Jun 24, 2014 9:55 pm
Posts: 444
Massa wrote:
Hi,

Has anyone tried implementing the latest pypy (python jitting compiler) as a drop-in replacement for cpython? (2.6.1 -> 2.7.10)

It's reached a mature and stable stage nowadays - for compute intensive tasks it's easily 6x faster and as long as certain external modules are not used, it works out of the box.

A definite win-win for weaker devices, like the arm ones for example. Probably not applicable here but with many nested calls it even saves memory compared to cpython. (it needs about 50MB more upfront however)

Cheers!

(one game I'd tested on arm using a lua equivalent (luajit) is called ToME)


We use boost python (C++ binding). I did not see any info about support it in PYPY.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: PYPY 2.6.1
PostPosted: Tue Sep 22, 2015 12:37 pm 
Offline
Space Krill

Joined: Tue Sep 01, 2015 12:33 pm
Posts: 5
Cjkjvfnby wrote:
We use boost python (C++ binding). I did not see any info about support it in PYPY.


Judging by this thread it could be made to compile and work already over 18 months ago albeit with stability problems:

http://grokbase.com/t/python/pypy-dev/14199z7eg9/boost-python-and-pypy-status

(the silly comment about pyd is not mine obviously!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group