English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   Amiga scene (http://eab.abime.net/forumdisplay.php?f=2)
-   -   Python for Amiga ? (http://eab.abime.net/showthread.php?t=35997)

macce2 14 April 2008 12:39

Python for Amiga ?
 
Does it exist ?
I guess: no- .....?
Could it exist ? :-)

Shoonay 14 April 2008 12:42

This one? :cheese

macce2 14 April 2008 12:51

@5h00n4y

Not that one! :D

Sure, I do mean the python programming language..
but I'll guess it would be practically impossible..

ppill 14 April 2008 14:55

2.0 version on Aminet.

OddbOd 14 April 2008 19:25

AmigaPython Homepage

It's actually linked at python.org but for some reason they have it listed under AROS, perhaps one of us should drop them a note and let them know that AmigaPython and PyAROS are for different platforms.

macce2 21 April 2008 12:03

Fine!
I'm involved in an interesting business now..

Mungo 26 April 2008 00:44

Why bother?

It's shit on every platform. Why port a turd?

matthew 26 April 2008 15:14

Quote:

Originally Posted by Mungo (Post 409928)
Why bother?

It's shit on every platform. Why port a turd?

:shocked

Lisiak4 13 July 2014 09:30

Quote:

Originally Posted by Mungo (Post 409928)
Why bother?

It's shit on every platform. Why port a turd?

Python is in the top ten most used programming languages ​​in the world.

If this is the last version AmigaPyrhon for OS3.x, he is not on Aminet. This version is 2.3.3. Port is from year 2004. Here are the sites:

http://www.monkeyhouse.eclipse.co.uk/amiga/python/

Python is not good for the classic Amiga. For simple programs, but is sufficient.
Python need 2 MB RAM :D.

Thorham 13 July 2014 10:00

I wonder how dog slow that's going to be :D

Quote:

Originally Posted by Lisiak4 (Post 964038)
Python is in the top ten most used programming languages ​​in the world.

So, that makes it good, then? I didn't know that how much something is used determined it's quality.

Lisiak4 13 July 2014 11:27

Thorham:It is difficult to assess the time about how Python is slower, if you understand it. I am an amateur programmer in Python and programs only in Python. One algorithm (convert text to a different character set in the range of 2000 lines) that my PC did in 0.6 seconds - the Amiga, if I remember correctly, I had set the A1200 performance done in 32 seconds. But it was PC vs. Amiga. I know that the speed penalty is extreme. He's also using Python under OS3.x at your own risk! ;).

Here is a small sample of simple animation, first is unleashed under emulation without a speed penalty (A3000 would have already had too handle, A4000 absolutely no problems and then give power to the A1200). Text is Czech.

http://www.youtube.com/watch?v=NOcuVmPOWBo

Amiga was the best computer user, because it was and is a good computer. It is true that the quantity does not determine quality, but success did not come about Python completely without merit as Amiga.

Thorham 13 July 2014 14:40

Quote:

Originally Posted by Lisiak4 (Post 964064)
Thorham:It is difficult to assess the time about how Python is slower, if you understand it.

Python is slow for algorithms with tight loops. A good example would be performing gamma correction on a 24 bit BMP file. Then again, all interpreted languages are slow for this kind of thing.

Quote:

Originally Posted by Lisiak4 (Post 964064)
It is true that the quantity does not determine quality

That's all I was saying, namely that although Python might be good, it's not because of the number of users.

Lisiak4 13 July 2014 18:06

Python is not a good language for the Amiga. I'm never going to say anything else. I only play with it. Can I do a text game. Actually, I'm doing it already slowly. On the Amiga 1200 it will be a lot of slowly retro. The text in the game using the Workbench with proportional font. I have to deal with a carriage return to the position of the text itself. These are extra calculations and display the text on the bare Amiga is not the fastest. Needless to perform any gamma correction to 24 bit BMP file ;).

AlfaRomeo 03 November 2019 15:50

Does anyone tried Amiga Python 2.4.6?

1st time I tried it worked great, 2nd time and others it gives me error importing OS module :confused

jotd 03 November 2019 21:42

I tried it. And it worked. But 2.4 is just too old to be useful. But it's still better than pdksh or amiga shell. You can still open files, process them, write them.

Python is still useful but on Windows. I use it a lot for amiga reverse engineering & handling pictures, conversions... And I saw that Mcgeezer is also using it to prepare data for Rygar.

If you want to script something, use Windows. Don't throw python in a native amiga toolchain...

Bruce Abbott 04 November 2019 10:36

Quote:

Originally Posted by jotd (Post 1356349)
But 2.4 is just too old to be useful.

10 years ago it was the current version, but now it's "too old to be useful"? In what way has the Amiga changed that Python 2.4 is no longer useful?

Perhaps the answer is:-

Quote:

Originally Posted by Mungo
It's shit


gimbal 04 November 2019 10:55

Quote:

Originally Posted by Bruce Abbott (Post 1356426)
10 years ago it was the current version, but now it's "too old to be useful"?

The Python language and platform has changed and improved a lot since then. Nobody wants to go back to such an old version.

Anubis 04 November 2019 13:11

Quote:

Originally Posted by Mungo (Post 409928)
Why bother?

It's shit on every platform. Why port a turd?

Holly shit, how did we miss this ridiculous statement...

All those not so smart people at MIT, NASA, ESA... must be idiots who don't know better, like you do... :cheese

Gorf 04 November 2019 13:17

That is the problem with many programming languages, especially some of the "hip" ones:
They are a moving target.

Combined with the fact, that they are not really self-contained and rely often on bindings to other system libraries (and of course we do want a tight system integration!)

Python is by no means "shit". It is a beautiful language.
And with Cython it can be fast!

But it lacks system integration for AmigaOS and the constant development and changes make it very hard to adapt these things to a new environment.

Maybe MicroPhython would be a good candidate for a 3.x based AmigaPython...
https://micropython.org

An other approach would be "StacklessPython", that might be a good fit for Exec (with some adaptions):

https://github.com/stackless-dev/stackless/wiki

meynaf 04 November 2019 14:26

Quote:

Originally Posted by Anubis (Post 1356460)
Holly shit, how did we miss this ridiculous statement...

It can be ridiculous and still be true. :D


Quote:

Originally Posted by Anubis (Post 1356460)
All those not so smart people at MIT, NASA, ESA... must be idiots who don't know better, like you do... :cheese

They can be smart and still not be programmers, hence doing stupid things. F.e. I've seen code from NIST (who're not supposed to be a bunch of idiots) that really wasn't clever...


Quote:

Originally Posted by Gorf (Post 1356462)
Python is by no means "shit". It is a beautiful language.

If Python is shit, then 99% of programming languages in the world also are. Which is perfectly possible :p


Quote:

Originally Posted by Gorf (Post 1356462)
And with Cython it can be fast!

If "fast" means "not crawling down to completely unusable speeds" then yes.


All times are GMT +2. The time now is 05:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.05609 seconds with 11 queries