Welcome, Guest. Please login or register.

Author Topic: How compliant is Python on the Amiga?  (Read 1787 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Pat the CatTopic starter

How compliant is Python on the Amiga?
« on: February 20, 2021, 04:41:32 PM »
I know very little about Python. I can barely existing programs written with it on Linux and that's about all.

I realize that downloadable Amtinet versions are legacy now, but how compatible were they?

I'm vaguely interested  to see how easy it would be to port old legacy applications with them onto "big" memory Amigas (32Mb plus)

I understand that such applications would not be quick even with 32 bit Amigas, my question is, should I bother trying?
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline NinjaCyborg

Re: How compliant is Python on the Amiga?
« Reply #1 on: February 20, 2021, 06:38:44 PM »
OS4 or OS3?
 

Offline Pat the CatTopic starter

Re: How compliant is Python on the Amiga?
« Reply #2 on: February 20, 2021, 11:28:28 PM »
Drat. I meant 3.x. Could have sworn I put that in.

I'm getting old.

Anything that I tried to port would be the same version or earlier (2.3?), that's not really the issue.
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline NinjaCyborg

Re: How compliant is Python on the Amiga?
« Reply #3 on: February 21, 2021, 02:11:18 PM »
OK well on OS3 you've got Irmen de Jong's original 2.0 port which is pretty complete and robust but obviously stuck at Python 2.0 so it's unlikely to work with much recent existing code and packages even those for Python 2.7. Then there's my own update of 2.0 to 2.3.3 which was half baked but might be of some use. I had 2.4 running on my Amiga of 2005 but not in a stable enough form to release, I was attempting to merge Irmen's Amiga add-ons into 2.4 whilst also switching the toolchain to GCC and clib2 instead of SAS/C and Irmen's own POSIX functions library. Alternatively I was also looking at using VBCC and it's PosixLib. But in the end I switched to porting it to Symbian OS instead.

Around this time the OS4 port begun, and the current OS4 version is 2.5.6, which is about 4 years behind the current 2.7 baseline. But I imagine it can be used for most things without much difficulty. It supports libdl stuff so a lot of addon packages that have native dependencies can be used especially PIL. It doesn't have all the neato Amiga integration tricks Irmen's version had though. Some random person has also released a build of Python 2.4 for OS3 on Aminet, apparently built using the OS4 sources, and I would really like to know where they got them, because all of my approaches to collaborate on backporting it to OS3 over the years were aggressively rebuffed, then and now.

As for Python 3 ports, there's a guy who's done a recent port of that as a pure POSIX version, no Amiga-isation, on OS4 using GCC and his own fork of clib2. I've heard rumours of other Python 3 ports too. There's a thread about that on amigans. He hasn't released it yet.

Currently I'm discussing a collab with a bunch of guys about doing a new set of Python2 and Python3 ports for OS3, OS4, MorphOS and AROS sharing a mostly common codebase.
 

Offline Pat the CatTopic starter

Re: How compliant is Python on the Amiga?
« Reply #4 on: February 21, 2021, 08:57:52 PM »
Thanks for that. It's given me a neat frame over my expectations.

I think maybe 2 applications I had in mind fit into it, might seem trivial but it's saved me years in wasted false expectation.

Candidates are Pronterface (looks feasible) and skeinforge (EEK you better have lotsa RAM)
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline kolla

Re: How compliant is Python on the Amiga?
« Reply #5 on: February 22, 2021, 01:06:41 AM »
logging.error(_("WX >= 4 is not installed. This program requires WX >= 4 to run."))

(good luck with that)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline giZmo350

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 2055
  • Country: 00
  • Thanked: 29 times
  • Gulfport, Miss
    • Show only replies by giZmo350
Re: How compliant is Python on the Amiga?
« Reply #6 on: February 22, 2021, 02:36:51 AM »
logging.error(_("WX >= 4 is not installed. This program requires WX >= 4 to run."))

(good luck with that)

Beer came out my nose!   :o
A500: 2MB Chip, 8MB Fast, IndiECS, MiniMegi, IDE4ZorroII on Z-500, KS1.3/KS3.1, WB3.1&BWB
 
A2000HD: 2MB Chip, 128MB Fast, P5:Blizz 2060@50MHz, PCD-50B/4GBCF, XSurf100, RapidRoad, IndiECS, Matze RTG, MiniMegi, CD-RW, SunRize AD516, WB3.9
 
A1200: 2MB Chip, 64MB Fast, 4GBCF, GVP Typhoon 030 @40MHz w/FPU, Subway USB, EasyNet Ethernet, Indi AGA MKI, FastATA MK-IV, Internal Slim CD/DVD-RW, WB3.5

Surfing The Web With AMIGA Is Fun Again!
 

Offline Pat the CatTopic starter

Re: How compliant is Python on the Amiga?
« Reply #7 on: February 22, 2021, 08:04:24 AM »
Happily the Legacy versions of Pronterface I was thinking about don't requiire wx Python 4. Unlikw the current version. I wasn't being that ambitious.

Anyway, a port would be more  a case of getting prosole to work. The GUI as laid out wouldn't fit on a classic Amiga display anyway..
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi