View Single Post
Old 05 November 2019, 16:07   #60
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 47
Posts: 3,689
Quote:
Originally Posted by Anubis View Post
Reading first page - question does python exist for Amiga OS, many years ago - people said it does, not new version, tho.
Question answered long ago and now we're OT. Perhaps this should just stop right here.


Quote:
Originally Posted by Anubis View Post
I've already said - you are entitled to your own opinion. (no matter how wrong it is)
I especially like the "no matter how wrong it is".


Quote:
Originally Posted by Anubis View Post
As I have already pointed in previous posts, Python is used by many universities and organizations and is language of choice to teach kids about programming today. I also pointed to class by one of most technical research universities that is using Python and teaching introduction to programming by use of python.
Wait a minute. Isn't this called "argumentum ad populum" ?


Quote:
Originally Posted by Anubis View Post
Now read your response...

How did you response to this? Python is shit??
My response clearly wasn't "Python is shit".
However, yours was "Holly shit, how did we miss this ridiculous statement..."


Quote:
Originally Posted by Anubis View Post
If not trolling, tell me what your response is. Why?
My response is available at post #20. Read again.


Quote:
Originally Posted by Gorf View Post
It I look at your comments below, you would not accept anything I do.
So this would be rather futile.
Your replies were just choosing some lib that remotely looks as if it could do the work...
So i had to be a little more specific.
If we decide to really start the code contest, the rules should be as clear as possible, but why should they be fully specified now as it's likely that nothing will be done ?


Quote:
Originally Posted by Gorf View Post
it is part of the point, as languages like Python can make things easier.
This thread is "python on amiga", not "python at work".


Quote:
Originally Posted by Gorf View Post
because you say so?
No, because it is the thread's topic.


Quote:
Originally Posted by Gorf View Post
You asked for IFF, which is only the container.
I wrote "iff image", which was assumed to mean ilbm.


Quote:
Originally Posted by Gorf View Post
For ILBM you would read the chunks, convert the data and probably your pythons image library "pillow", to display it...

To de-interlieve the image on an classic Amiga might be stupid, so the smarter way would be to get amiga datatypes working on Python and let the system do the job.

You could also try to write the bitplane data directly into chip-ram ... Barry Walker has put up some examples for direct memory access with python for amiga in Aminet.

While all this is possible and Python more powerful and flexibel than AREXX this is NOT the typical use-case, but something, you do ONCE, as part of the system-integration.

usually a user would later just do:
"from Amiga-System import ILBM"
I'd really like to see actual code doing that.

But the situation isn't different with asm (on which it's very easy for me to load and show an iff file due to my existing loading routine), maybe 'xcept on one point : Amiga asm isn't a moving target. It will hardly ever change.
So maybe writing a routine for some task may take longer (NOT for that one, though).
But it will also last longer. A routine for life, instead of a routine that will have compatibility problems when next major version of the language comes out.
What happened to python 2.x programs already when 3.x came out ?


Quote:
Originally Posted by Gorf View Post
it is open source:
https://github.com/cmatsuoka/libxmp

If it does not work for you, why didn't you fix it?
So now i must be doing YOUR work ? Remember, it's YOU who said this lib would do the job !
For me it's a lot easier to use some asm replay routine...


Quote:
Originally Posted by Gorf View Post
It sets up a VM that executes bytecode.


But probably that is more to your liking .. (or not, since I don't seem to understand what you re aiming at...)

https://csl.name/post/vm/
It's indeed closer. And now, by having seen it, it looks simpler to actually do that in asm.
I'm not aiming at something specific.


Quote:
Originally Posted by Gorf View Post
was it?
Or is it just now about it?

You seem to move the target around as soon as I am getting close...
The target wasn't supposed to be clearly defined to start with...
It was just raw idea, and then instead of simply choosing one you throw library names.
What should i have done about it ?


Quote:
Originally Posted by Gorf View Post
again: you did not ask for that specifics

(I really do not see the point in all that ...)
And again, it wasn't supposed to be fully defined either. I just had to be more specific to prevent you from just throwing in some existing function.
Anyway, this was just what my actual asm routine provides...


Quote:
Originally Posted by Gorf View Post
sure - but that is not very flexible, so you will probably never do it.

That is the point: assembler is here the wrong tool form the job, and a shell-script is doing just fine.

Also scripting languages like AREXX and Python do have its place and that is why many people use them for fitting tasks.
It was about saying that while both tools are inappropriate for the task, one is less inappropriate than the other.


Quote:
Originally Posted by Gorf View Post
nope - I did not.
These things can be made unintentionnally.


Quote:
Originally Posted by Gorf View Post
Nobody was trying to force it on you.
You did post in a thread called "Python for Amiga" and started criticizing it.
And now criticizing is forbidden so i should just stop ?


Quote:
Originally Posted by Gorf View Post
still think it is much better than "brainfuck" (and probably many others)
Since when being better than the worse means being good ?


Quote:
Originally Posted by Gorf View Post
AREXX has its quirks and limitations and someone might prefer Python or Lua.

As others prefer C or AMOS over Assembler.
Every language has its warts.
But replacing arexx by python or lua isn't very clever for the simple reason they don't have built-in port to send commands to other programs.
Arexx also does not have big runtime.
Anyway, the point was - once again - it is here all about python on amiga, not python on windows or at work.
meynaf is online now  
 
Page generated in 0.04528 seconds with 11 queries