Re: optimizing compiler against average assembly programmer.

vkarvone@raita.oulu.fi (Vesa Karvonen)
4 Jul 1997 14:44:15 -0400

          From comp.compilers

Related articles
[7 earlier articles]
Re: optimizing compiler against average assembly programmer. walter@bytecraft.com (Walter Banks) (1997-06-30)
Re: optimizing compiler against average assembly programmer. gclind01@starbase.spd.louisville.edu (1997-06-30)
Re: optimizing compiler against average assembly programmer. norman@kbss.bt.co.uk (Norman Hilton) (1997-06-30)
Re: optimizing compiler against iaverage assembly programmer. graham.hughes@resnet.ucsb.edu (Graham C. Hughes) (1997-06-30)
Re: optimizing compiler against average assembly programmer. debray@cs.arizona.edu (1997-06-30)
Re: optimizing compiler against average assembly programmer. cef@geodesic.com (Charles Fiterman) (1997-07-04)
Re: optimizing compiler against average assembly programmer. vkarvone@raita.oulu.fi (1997-07-04)
Re: optimizing compiler against average assembly programmer. rhyde@cs.ucr.edu (1997-07-04)
Re: optimizing compiler against average assembly programmer. WStreett@shell.monmouth.com (1997-07-08)
Re: optimizing compiler against average assembly programmer. monnier+comp/compilers/news/@tequila.cs.yale.edu (Stefan Monnier) (1997-07-08)
Re: optimizing compiler against average assembly programmer. charles.marslett@tempe.vlsi.com (1997-07-08)
Re: optimizing compiler against average assembly programmer. leichter@smarts.com (Jerry Leichter) (1997-07-09)
Re: optimizing compiler against average assembly programmer. rhyde@cs.ucr.edu (1997-07-09)
[6 later articles]
| List of all articles for this month |
From: vkarvone@raita.oulu.fi (Vesa Karvonen)
Newsgroups: comp.compilers,comp.lang.asm.x86
Date: 4 Jul 1997 14:44:15 -0400
Organization: University of Oulu
References: 97-06-071 97-06-081 97-06-101 97-06-124
Keywords: assembler, practice

Graham C. Hughes <graham.hughes@resnet.ucsb.edu> wrote:
[snip]
: Put another way, there's no way your immensely optimized bubble sort
: is going to beat out my simple merge sort for reasonable data sizes.
[snip]


[A lot of swearing deleted...]


[rhetorical question] What makes you think that an assembly language
programmer would write a bubble sort in the first place?


It seems to be the trend among HLL advocates that an assembly language
programmer has to use the slowest algorithms know to mankind. This is
simply not true. Only an IDIOT would use bubble sort for general
sorting. Only an even bigger IDIOT would think that some other
programmer would use bubble sort for general sorting.


Just my self-censored opinnion.
--
==> Vesa Karvonen
[Well, not a bubble sort but maybe an insertion sort. I have
certainly observed that assembler programmers tend to avoid complex
algorithms because they're hard to express and debug in such a
low-level language. I wrote a small sort/merge program in assembler
for the HP2100 some years ago, and didn't do all sorts of stuff that
I'd have done in a better language, just because I didn't have time to
debug it one instruction at a time. I did use heapsort. -John]


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.