🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7033

Re: Assembler Programming - Costs versus Benefits

#7033
From: Hans Dolfing
Date: Wed, 28 Nov 1990 10:56
28 lines
1963 bytes
>In article <7139@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes:
>>In article <1990Nov25.233007.19698@cs.umu.se> dvljhg@cs.umu.se (J|rgen Holmberg) writes:
>>> Try and write a fast shoot'em up in C or higher level languages.
>>
>>I've done it. Tracers is 100% C. And it runs faster than I can keep up with.

>You can write a fairly complex, fast game in C. If you want to program
>something like the what psygnosis, bitmap brothers, random access, factor5
>and others are putting out, with large bobs and lots of other stuff taking
>raster-time you will have to go assembly at least for part of the code.

>Jorgen

That's what this whole discussion is about. It seems better to write almost the
whole program in C for
	- Readability
	- Maintainability
	- Portability
	- Less bugs (on the average)
reasons. If it is unavoidable to use assembler for speed or other reasons, than
write parts of your code in assembler. Otherwise, !please! don't. Nobody is
interested in unreadable assembler programs that are 5% faster than a
(hopefully better readable) C equivalent.

--------------------
	Hans Dolfing (dolfing@cs.utwente.nl)
	"The human mind is superior to machine logic because it can either use or
	 reject the logic and its formal systems."
Technical Details
Message-ID: <1990Nov28.105607.26577@cs.utwente.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!utrcu1!infnews!usenet
References: <1990Nov25.040121.10773@zorch.SF-Bay.ORG> <1990Nov25.233007.19698@cs.umu.se> <7139@sugar.hackercorp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!utrcu1!infnews!usenet
From: dolfing@cs.utwente.nl (Hans Dolfing)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Assembler Programming - Costs versus Benefits
Keywords: development time, porting time
Message-ID: <1990Nov28.105607.26577@cs.utwente.nl>
Date: 28 Nov 90 10:56:07 GMT
References: <1990Nov25.040121.10773@zorch.SF-Bay.ORG> <1990Nov25.233007.19698@cs.umu.se> <7139@sugar.hackercorp.com>
Sender: dolfing@cs.utwente.nl (Hans Dolfing)
Organization: University of Twente, Dept. of Computer Science
Lines: 28