Assembler vs Compiler vs Linker

S

Sunil

Hi all,

I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.


Sunil.
 
M

Michael Mair

Sunil said:
I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.

Unfortunately, you seem also to be new to Usenet.
This newsgroup only deals with the C language, not with
implementations, programming tools etc.

If you have no clue at all, wikipedia.org may be a good first
address. The article about C is IMO not perfect but if you want
to know more about C, you can always ask here -- after reading
the FAQ.

Cheers
Michael
 
S

Sunil

This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.
 
M

Michael Mair

Sunil said:
This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.

1) Please do quote context in a way that it is clear you are quoting
2) Please do not snip attributions when quoting

Without context and attributions you make it harder for people
who have not (yet) received all previous messages to help you
as they do not know what you are referring to and how the
discussion developed.

3) You did not check wikipedia on compilers: C is not a compiler.
There are C compilers but an implementation could work without
compiling. (The difference between C being a compiler and there
being compilers compiling C is the same as between all water being
rivers and having rivers containing water.)

You did not read the FAQ or the Welcome Message (both can easily
be found using google), so your opinion is unnecessarily uninformed
and wrong.

-Michael
 
F

Flash Gordon

Sunil said:
This newsgroup only deals with the C language

Please quote properly using quote markers and proper attribution as
shown in this article. The above line was not, I believe, written by you
however the way you have posted makes it look like it was. I believe
that if you press the options button above the message and then hit the
reply button that reveals, rather than the reply button shown by
default, Google will do most of the work for you so all you have to do
is snip text you are not replying to.
yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.

C is *not* a compiler, it is a *language*. Just as the English is not a
dictionary (or, for a closer comparison the part of your brain that
processes language), it is a language.

How compilers work is *not* on topic for this group, there is a group
dedicated to this complex topic called comp.compilers. If you want to
know how compilers work and what the division is between compilers and
assemblers that would be a place to start, not here. Obviously you
should read their FAQ first, and a few days worth of posts (I know you
did not do that here or you would have known how to reply properly).
There are also groups dedicated to specific implementations where you
will get help on how to use those implementations.

Also, you don't need to know the relationship between compilers,
assemblers and linkers to program in C, and indeed many modern
implementations don't actually produce and actual assembler code or use
an assembler. Some implementations don't use a separate linker either,
or the linking is done when you run the program rather than when you
build it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,462
Latest member
ChanaLipsc

Latest Threads

Top