Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ken From: ken@rochester.ARPA (SKY) Newsgroups: comp.lang.misc Subject: Re: assembly programming prefereable to HLL programming ? Message-ID: <22863@rochester.ARPA> Date: Wed, 3-Dec-86 22:27:37 EST Article-I.D.: rocheste.22863 Posted: Wed Dec 3 22:27:37 1986 Date-Received: Thu, 4-Dec-86 02:22:03 EST References: <646@instable.UUCP> Reply-To: ken@rochester.UUCP (SKY) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 21 Keywords: programming language comparison Summary: assembly language instead of HLL? you kidding? I wonder who the author is and how much programming he has done. Some relevant points: HLL's make it easier to program good algorithms with speedup that make a factor of 2 look sick. If you need to squeeze every last microsecond out of the program, consider that normally 20% of the program takes 80% of the run time. (Or was it 10/90?) Find the hot spots and optimize the hell out of that, in assembler if need be. This mixed approach gets you the advantages of HLLs most of the time and the efficiency you want. Finally, I'm writing this compiler. It's only a student project but already 6000 lines and growing, 1000 of which I added in the last week. I don't know anybody in his right mind who would suggest writing it in assembler these days. A good book to read is Jon Bentley's "Writing Efficient Programs". Ken