04 November 2019, 21:32 | #41 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
|
04 November 2019, 21:44 | #42 | ||||||||||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
Put your examples up! Quote:
Depending on the task it is often more important to archive a results fast, that archiving a fast result ... even if this means bloat. I am no fan and compared to most colleges my code is still dense and efficient ... but I have no problem using all kinds of sugar if it makes my life easier. Quote:
And often enough I had to implement my own libraries or hack others to provide the functionality needed. But in a working environment the code needs to stay manageable by others than myself ... so it is preferred to use what is already there. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
But even if it did: it would not be the appropriate tool for the task. Last edited by Gorf; 04 November 2019 at 22:09. |
||||||||||
04 November 2019, 22:13 | #43 | |||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
But both things would be impractical - that is the point I was trying to make! |
|||
04 November 2019, 22:47 | #44 |
Registered User
Join Date: Dec 2014
Location: germany
Posts: 439
|
Code:
set;print """ MakeDir RAM:ENV Assign >NIL: ENV: RAM:ENV LoadWB EndCLI >NIL;""" (should work with WB 2.1 and above) I totally agree! Last edited by chb; 04 November 2019 at 22:52. |
04 November 2019, 22:50 | #45 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
I have an opinion that I must express. On the internet! I built Python for WarpUP for GemRB and it actually runs pretty well. The slow part is actually the non Python stuff, or maybe it's the Python stuff calling the non-Python stuff. Anyway the GUI is reasonably fast and that's all Python. So, that's the end of my story. In summary, Python is a language of contrasts.
|
04 November 2019, 23:06 | #46 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
As an aside, Python is included with OS4, and it includes an arexx module that lets Python scripts do ARexx-specific things, like sending messages, opening ARexx host ports etc. It's quite neat, and would be nice to see backported to 68k. Also included are amiga, asl, catalog, icon and installer modules that together offer a reasonable level of system integration.
|
04 November 2019, 23:38 | #47 | |
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
https://github.com/scoder/lupa |
|
05 November 2019, 00:30 | #48 | |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Quote:
|
|
05 November 2019, 01:08 | #49 | |
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
There can be more than just one programming language. If you read the posts in this thread, you will realize, that Python is already compiling and running on AmigaOS - a outdated version on 3.x a more up to date version on 4.x Please stop telling people what software they must use or wish for. |
|
05 November 2019, 01:29 | #50 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Quote:
|
|
05 November 2019, 05:15 | #51 |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,544
|
|
05 November 2019, 06:18 | #52 |
Registered User
Join Date: Aug 2002
Location: Nottingham England
Posts: 277
|
It's actually not that old, and compared to Amiga OS it's brand new.
We don't have these things because it takes time and effort. And at the end of it, all they get is crap from people like you and meynaf saying how crap it is, and how it's a waste of time. Apparently, if you don't like it, it can't be good for anyone else either. |
05 November 2019, 07:24 | #53 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
Quote:
I use 68k asm, C++, C, python, with a good level of expertise (check my Stackoverflow profile to see what I'm talking about), and they all complete nicely each other. |
|
05 November 2019, 09:35 | #54 | ||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
And even if they did have AOS support here, they still don't have 68020+ category. Are you afraid to show your Python skills, that you rely on others ? This thread isn't the place to do this. But if i open new thread with a concrete example, will you come in and show working code ? Quote:
Quote:
This is only for reading chunks. It will not display the image. libxmp does not play all mods properly. So you will think it did the job and some user will reports his mods don't play right. Result : miserable failure, as there is nothing you can do about it. Quote:
Only for standard conversions. If you have custom work to do on files, you have to do it yourself and this is what my example was about. Which does not return updated value of "s" to point on next non-numeric character, nor detects if "myatoi" doesn't overflow, nor detects if "s" isn't a number at all. Quote:
And during that time, i could just start single asm-written command in startup-sequence. Ok, it still needs very small script to run it - so i could eventually place the code in custom kickstart to actually replace said startup-sequence... Quote:
Quote:
And now if i just emit some small criticism, i get charged of emitting crap in return... My point was just to say python isn't any better than the others. Quote:
But on Amiga ? |
||||||||
05 November 2019, 12:15 | #55 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
|
you told me I am emotionally involved here?! Look at you friend...
Let's hope your are just trolling... It would be great to have newer version of Python on AmigaOS. |
05 November 2019, 13:20 | #56 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
05 November 2019, 13:56 | #57 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
|
Reading first page - question does python exist for Amiga OS, many years ago - people said it does, not new version, tho.
I've already said - you are entitled to your own opinion. (no matter how wrong it is) 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 best technical research universities that is using Python and teaching introduction to programming by use of python. Now read your response... How did you response to this? Python is shit?? If not trolling, tell me what your response is. Why? Last edited by Anubis; 05 November 2019 at 15:02. |
05 November 2019, 14:12 | #58 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,905
|
A typical case of iterating too long on a done deal.
|
05 November 2019, 14:18 | #59 | |||||||||||||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
So this would be rather futile. Quote:
Quote:
Quote:
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" Quote:
https://github.com/cmatsuoka/libxmp If it does not work for you, why didn't you fix it? Quote:
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/ Quote:
Or is it just now about it? You seem to move the target around as soon as I am getting close... Quote:
(I really do not see the point in all that ...) Quote:
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. Quote:
Quote:
You did post in a thread called "Python for Amiga" and started criticizing it. Quote:
Quote:
As others prefer C or AMOS over Assembler. |
|||||||||||||
05 November 2019, 15:07 | #60 | |||||||||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Quote:
Quote:
Quote:
However, yours was "Holly shit, how did we miss this ridiculous statement..." My response is available at post #20. Read again. Quote:
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:
No, because it is the thread's topic. I wrote "iff image", which was assumed to mean ilbm. Quote:
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:
For me it's a lot easier to use some asm replay routine... Quote:
I'm not aiming at something specific. Quote:
It was just raw idea, and then instead of simply choosing one you throw library names. What should i have done about it ? Quote:
Anyway, this was just what my actual asm routine provides... Quote:
These things can be made unintentionnally. Quote:
Quote:
Quote:
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. |
|||||||||||||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python errors from fs-uae-launcher [Solved] | mocham | support.FS-UAE | 8 | 01 November 2012 19:54 |
Monty Python's Flying Circus | sareks | support.Games | 8 | 10 March 2008 12:23 |
Python 1 joystick | ladybird | Retrogaming General Discussion | 3 | 08 August 2007 15:06 |
Python Joysticks ? | blade002 | MarketPlace | 11 | 18 June 2006 04:48 |
Monty Python | Bueller | request.Demos | 2 | 12 October 2005 16:39 |
|
|