Assembly verses a high-level language.

tomviper@ix.netcom.com (Tom Powell )
Mon, 20 Nov 1995 03:53:54 GMT

          From comp.compilers

Related articles
Assembly verses a high-level language. tomviper@ix.netcom.com (1995-11-20)
Re: Assembly verses a high-level language. macrakis@osf.org (1995-11-22)
Re: Assembly verses a high-level language. bobduff@world.std.com (1995-11-28)
Re: Assembly verses a high-level language. marcus@illusion.magicno.com (1995-11-29)
Re: Assembly verses a high-level language. Graham.Matthews@pell.anu.edu.au (Graham Matthews) (1995-11-29)
Re: Assembly verses a high-level language. john_reiser@MENTORG.COM (1995-12-09)
Re: Assembly verses a high-level language. albaugh@agames.com (1995-12-09)
| List of all articles for this month |

Newsgroups: comp.compilers
From: tomviper@ix.netcom.com (Tom Powell )
Keywords: assembler, performance, comment
Organization: Netcom
Date: Mon, 20 Nov 1995 03:53:54 GMT

        How come programs written in assembly are so much faster than any
other high-level language. I know that it is a low-level language and
that it "speaks" directly to the hardware so it is faster, but why
can't high-level languages compile programs just as fast as assembly
programs?
--
****************************************************************
# tomviper@ix.netcom.com #
[Depends on the machine, On Intel x86 chips, the internal architecture has
lots of peculiarities and warts that compilers don't deal with well. On the
other hand, on modern RISC chips C and Fortran compilers can often do better
than assembler programmers because they do a lot of tedious low-level
optimizations that humans don't have the patience for. -John]
--


Post a followup to this message

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