August 25, 2019, 12:19:42 AM

Author Topic: python 3 vs pypy  (Read 308 times)

Offline Pfaber11

  • Full Member
  • ***
  • Posts: 210
python 3 vs pypy
« on: May 22, 2019, 07:57:59 AM »
Has anybody tried pypy which for those who don't know is a version of python that runs at about 7.5 time the speed of cpython . just wondered if anybody had tried both and could tell me if pypy is any good and is the syntax the same as cpython 3.7 . 

Offline Pfaber11

  • Full Member
  • ***
  • Posts: 210
Re: python 3 vs pypy
« Reply #1 on: May 22, 2019, 06:24:26 PM »
 Well pypy looks great but just can't get it to install . if anybody knows how this is done in simple terms please let me know I have spent all day trying to do this installed python 3.6 and got the right pypy file for it . tried several . oh well . Had a look at cyphon but not my cup of tea. I've downloaded the pypy and it says click on the setup file but there isn't one and I tried a couple of them also they did have a file pypy3 and a pypy3w not sure what they're all about but they didn't run either .

Offline LineOf7s

  • Jr. Member
  • **
  • Posts: 63
    • LineOf7s Entertainment
Re: python 3 vs pypy
« Reply #2 on: May 23, 2019, 01:38:32 AM »
Learn Python (if that's your plan).  Come back to this once you have.  Don't distract yourself with unnecessary complexity.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1923
Re: python 3 vs pypy
« Reply #3 on: May 23, 2019, 06:03:38 PM »
Quote
Learn Python (if that's your plan).  Come back to this once you have.  Don't distract yourself with unnecessary complexity.

I agree.  Stop procrastinating and comparing other similar languages.  Python is well known and respected, if there's a variation out there you'll only confuse yourself because you don't know the language that pypy is based on.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspbian Buster, pi4 4Gb RAM,1.5Ghz

Offline Pfaber11

  • Full Member
  • ***
  • Posts: 210
Re: python 3 vs pypy
« Reply #4 on: May 24, 2019, 08:11:37 AM »
Yes  agreed wasted two days of my life trying to get pypy to work but there you go . The later versions are supposed to run pygame but that wasn't my experience . Plus things like the debugger don't work when using it . Decided I'm going to give it a miss for now and stick with python 3.7.3  .

Offline Pfaber11

  • Full Member
  • ***
  • Posts: 210
Re: python 3 vs pypy
« Reply #5 on: May 25, 2019, 08:55:19 AM »
Well I've woken up with a right dirty headache such is life . If anybody does get pypy3 to work with pygame give me a shout and let me know how you did it all the ins and outs . It's a shame the official python people don't do a JIT interpreter that works with all the modules . I guess they have thought about it maybe too many problems. Enjoy your Saturday. Bonjour.