Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Assembler (Re: What's Wrong with ARP!!!!) Message-ID: <7104@sugar.hackercorp.com> Date: 21 Nov 90 13:19:05 GMT References: <114.273F7E66@myamiga.UUCP> <1990Nov14.034507.19784@hoss.unl.edu> < <7039@sugar.hackercorp.com>> <90318.162021DXB132@psuvm.psu.edu> <1990Nov20.045016.8678@phoenix.pub.uu.oz.au> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 41 > >Assembler is a minus ? What are you getting at ? Assembler programming > >certainly is the best and most taxing way of programming for programmers. Most taxing, yes. Best, NO! I just downloaded a program into my Amiga 3000. It came with source and the readme file went on and on about how great it was that this program was in assembler and how cool his programming style was and how mad he was that his boss was making him program in Aztec C, so he was doing this in his spare time... Crashes most beautifully on the 3000. See, there are these differences between the 68000 and the 68030. You can't see them from C, but in assembly... Coding in assembly, other then for runtimes and in critical routines, is just a waste of time. Even if your assembly code is 10 times as fast as compiled code (unlikely) your program is spending most of its time in the Amiga runtime waiting for events... If a program is written in assembly, I tend to put it back on the shelf. > C has only one good use for real programmers, and that is that it is portable. And it's easier to code, and you can spend your time writing code for the user instead of for yourself. > So all you lowclass programmers who > can only program in one language (especially if you can only code in C) Who? Where? I write programs in the language best suited for the job, and the highest level language that allows for enough efficiency is that language. When needed I code in assembly (for any of a dozen CPUs), C, Fortrash, PL/M, Forth, any of half a dozen interpreted languages, and even COBOL. Programming in a lower level language out of machismo is just plain stupid, and is the source of much of the bad software out there. -- Peter da Silva. `-_-' .