06 April 2022, 16:00 | #181 | |
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,295
|
Quote:
It was not. At the same time both of you were pretty OT regarding this specific thread. I just tried to point out, that many subjects besides 68k architecture and assembler are in deed discussed here on EAB - so it was unfair to dismiss Thors's answer as generally OT .... especially while being not really on topic of this specific thread yourself the whole time. |
|
06 April 2022, 16:39 | #182 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
|
|
06 April 2022, 21:42 | #183 | ||
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,581
|
Quote:
Quote:
|
||
07 April 2022, 11:44 | #184 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
|
Quote:
|
|
07 April 2022, 15:46 | #185 | ||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,233
|
Quote:
Quote:
The same can be said to many assembler projects. Hard to update, hard to debug, hard to maintain. It's ok for tiny code, but it scales badly. Perhaps you should have written the code in a portable way to begin with. The code I'm writing here (C++ not C) compiles fine on windows, linux and many other systems. Ok, granted there is a C++ compiler for them. |
||
07 April 2022, 20:50 | #186 |
WinUAE 4000/40, V4SA
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
Could we get a mod to split out all this argument into its own thread in a more appropriate place, so that this thread can get back ON topic?
|
08 April 2022, 04:37 | #187 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
|
|
08 April 2022, 05:11 | #188 |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 822
|
Well, to be honest anything apollo-related was already discussed and that part has ended, this one is basically a rant about different CPU architectures, compilers and hll ... and how asm is better and faster at everything, from output code to project management
|
09 April 2022, 01:10 | #189 |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,581
|
...on any platform, including neural networks running on high-end GPUs. Gotta stuff as much as possible into that straw man!
|
09 April 2022, 07:39 | #190 | |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 822
|
Quote:
|
|
09 April 2022, 08:00 | #191 | |
Registered User
Join Date: Aug 2014
Location: Netherlands
Posts: 695
|
Quote:
I programmed a FIR filter once for it that ran quite fast. However the bulk of programming I did for the Hitachi was of course in C with an IAR compiler. (Got bitten by a nasty compiler feature/trick/oversight-on-my-part once where it would map a large struct across a 64K boundary in external memory. However, in the "small" memory model pointer arithmetic was done with 16bit integers.) |
|
09 April 2022, 08:47 | #192 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Strawman again. We're not saying HLL is useless, it's you who are saying ASM is useless. |
|
09 April 2022, 10:09 | #193 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,233
|
Look, which language you are going to pick is your business, but you will have to deal with the consequences of your decision. Asm as language means that you have projects that will small scale, hard to complete, hard to debug. It is not a very productive environment, and it leads to software that is typically never quite stable and often incomplete.
|
09 April 2022, 10:18 | #194 | ||
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 822
|
@meynaf
Quote:
Quote:
@Mathesar - yes, H8 family. Neat design and ASM I was able to switch instantly after 8051. @Thomas Richter - actually well written asm is rock solid. In any circumstances. While ever growing APIs, protocols, optimizations etc. in HLL makes in vulnerable to some undefined behaviors in certain situations (as you're not the one who wrote big chunks of the code - those were external libraries). So while old asm apps were buggy because were written sloppy nowadays app might crash or do somethings stupid even when written within guidelines. But that's only natural - with growing complexity code is made more vulnerable to something we can't predict or probe effectively during development stage. But... once problem is identified it is easier to narrow down to problematic code and make a patch. Last edited by Promilus; 09 April 2022 at 10:25. |
||
09 April 2022, 10:43 | #195 | ||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,233
|
Quote:
Even more so, persons that refuse to widen their horizon by refusing to looking at anything but asm are probably not those people that can write "rock solid code" in any language, probably not even assembler. That's just fanboy-ism, and that's not a good foundation for writing good code by choosing the right tools for the job. Maybe the reason why those people cannot write high-language code is a lack of skills or knowledge, but not a deficiency of the high-level language. Quote:
The answer is not "write assembler", the answer is "avoid complexity". Unfortunately, depending on what you want to do, it is not always simple, or possible, to avoid complexity. |
||
09 April 2022, 11:14 | #196 | ||||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
And remember you too have to deal with the consequences of your decision. Like wasting 50-75% of your raw cpu power for nothing, making memory hogs, and ultimately software that has potential exploits (and many hidden bugs) because "high level" language did hide something that would have been otherwise obvious in asm. Quote:
Quote:
Quote:
Yes it is more rare today than it used to be, but you have to admit the fact that mainstream machines having very poor asm does not help. I am only telling you that every program can be done in asm and that for someone used to it, it's not as hard as it looks. That not everyone can do it, that you can't do it, that ThoR can't do it, that it's an horror on most cpu families, does not change that fact. Quote:
At least with ASM a port can be made without having the source code. Quote:
Quote:
However, of course, it takes less time in ASM to reach that point. Remember, ASM is "fail early and fail big" environment, where most HLL is "fail silently and keep going". Quote:
I have written code for many platforms, with many languages. It ranges from Pic to C370, with everything in between including pc programs in cpp and web apps in .net. I've been involved in a team that had to build a whole ISP solution. And i did that better than all those guys who didn't have asm knowledge. Quote:
Quote:
But writing assembler is a way to avoid complexity |
||||||||||
09 April 2022, 12:01 | #197 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,894
|
As a V1200 owner my concern is that we will be neglected going forward. For instance, it would be great to see Openlara running on a V2 but there has already been discussion about targeting V4 and Maggie to get the highest quality. Whereas an AGA version for fast Amigas would be more impressive and able to be used by all.
|
09 April 2022, 12:53 | #198 | |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 822
|
@menaf
Quote:
|
|
09 April 2022, 13:50 | #199 | ||||
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,581
|
Quote:
OTOH, when it came to porting this 16 bit Windows program to an ATmega168 with only 16k ROM and 1k RAM, just getting the code to compile at all was a struggle. And you can't seriously suggest that the code for this project should have been written in C rather than assembler, right? Quote:
This website is the English Amiga Board, where we talk about our hobby of playing with machines that traditionally have been programmed in assembler when the best performance was desired. We aren't doing it for a living, so we don't have to bang out code as quickly as possible or pass it on to others who don't have our knowledge. Like many hobbies, the enjoyment is in the doing - so we don't care if it takes longer or is more challenging. That's the nature of a hobby, and nobody can tell us it isn't right. Quote:
Quote:
|
||||
09 April 2022, 14:34 | #200 | |||
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 822
|
Quote:
Quote:
Quote:
|
|||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apollo 1240 missing Mach chip | Benfromnorway | MarketPlace | 3 | 01 June 2016 21:53 |
Apollo 1240@25mhz + 32mb Ram (Mach131 chip so can be upgraded to 060) | fitzsteve | MarketPlace | 4 | 16 August 2010 19:01 |
Gauging interest: Amiga 600HD, Apollo 620, 2MB Chip, 8MB Fast | chiark | MarketPlace | 9 | 25 November 2009 20:18 |
Wanted: MACH131 chip from Apollo 040 or 060 | 8bitbubsy | MarketPlace | 8 | 29 October 2009 15:55 |
Cedric and the lost scepture Demo/Preview-Version | mai | request.Old Rare Games | 3 | 28 March 2008 16:27 |
|
|