Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!gary From: gary@eddie.MIT.EDU (Gary Samad) Newsgroups: comp.sys.amiga Subject: Re: Writing High-Level code (was Re: The Next Amiga) Message-ID: <5617@eddie.MIT.EDU> Date: Mon, 27-Apr-87 14:40:34 EDT Article-I.D.: eddie.5617 Posted: Mon Apr 27 14:40:34 1987 Date-Received: Tue, 28-Apr-87 02:27:50 EDT References: <3367@udenva.UUCP> <6248@ukmj.ukma.ms.uky.csnet> Reply-To: gary@eddie.MIT.EDU (Gary Samad) Organization: MIT, EE/CS Computer Facilities, Cambridge, MA Lines: 14 The question was: what percentage of code is C and what percentage is assembly language in commercial products? My product, which will be released in a few weeks, consists of about 40,000 lines of code, of which only two routines (ammounting to about 500 lines) are written in assembly language. As far as thinking about the underlying machine structure when writing code goes, about the only thing I worry about is how many register variables are actually used by the compiler. I've found that besides register vars and writing reasonable code to start with, not much is to be gained by looking at the compiler output... Gary