This is no troll, just a quick lesson in program developement:
I stick by what I said, in a "standard" C program and it's compiled
files all are computer programs: The original (source) file is a
program that the C compiler uses to compile (generate) an asm object
file. The original file is the C program, the next file is an asm
source file, but is still the object file of the C compiler (at least normally even if it is hidden) this file is "owned by the C programmer
but is in fact an asm program. This file is "assembled" by the
assembler into another object file (usually a binary relocatable file)
which is a "machine language" program that is normally "executed" by
a linker which combines it with both specified and unspecified other
files to create another "object" file (with windows it's usually an
exe file). This final file (i.e. windows exe) is a program, but is
still just a "data file" that windows reads, interprets (mainly just
the header) and loads into memory according to the description of the
header and then finally can execute.
At every point the program being executed has an "ownership" that
follows the original C program, but only the first file is a C
program. Every other object file should fail in it's structure to be
defined as a C program.
The point is that calling a program just a text file or a "data" file
is ignoring the truth: People falsely assume that the program they
write (in this case a C program) is a program the CPU executes
directly. Almost without exception no program that programmers write
are directly executed, I can say I have written programs that are
directly executed but not often.
We do have the term "locomotor" though -- it's a small locomotive,
driven by a (comparatively small) diesel engine. It's intended use
is to push around a fairly small number of railway cars at a time in
a station area, to hook up and unhook trains.
A locomotive is a rail vehicle with the sole purpose to provide
traction power to pull (railway) cars. The locomotive carries
neither passengers nor cargo -- to do that, you must hook up cars to
the locomotive.
If we combine a locomotive and a (railway) car in one the same
vehicle, we'll get a "railmotorcoach" or "motorcar": it produces
traction _and_ carries passengers and/or cargo.
Therefore the trolley isn't a locomotive: it carries (a few)
passengers.
Finally, we have the "rail-car": it's an ordinary road car which has
been rebuilt: its rubber wheels have been replaced by rail wheels.
Its main purpose is to take inspection tours on the railway --
consider it a special case of a motor-driven trolley.
I used windows as an example of a full development cycle of a language
such as C. I also stated that the process can and does vary. The
point is that the assumption that the machine language compiled
program is a C program is wrong, it is a "compiled" C program (as are
all of the intermediate files). The most interesting part is in
understanding what about the object files makes them programs: In a
full system cycle the asm text file like the original C text file is a program that consists of a sequence of instructions for the assembler
to interpret into an object file (usually relocatable binary file).
The relocatable binary file is a program that the linker interprets
into the final object file.
What most people do not realize is the relocatable binary file program
is not the $A9..$B1 (LDA), but instead is the binary codes that
specify what libraries to search, what modules to call, what is internal/external etc. The binary machine code ($A9 etc.) is treated
just as "text" except where relocation is needed. This in effect
makes the relocatable program a binary markup language.
All of the object files from the original C to the final executable
are programs (notice I stated object to exclude list files etc.).
You are putting a definition on a computer program that does not
exist. When you write a basic program on a commie it is not directly executed, it is just a "data file" to the interpreter yet it is a
computer program. Remember that a computer program is a program that
runs on a computer and a program is "a sequence of coded instructions
that can be inserted into a mechanism (as a computer)" (quoted from www.webster.com). This may include, but not limited to the machine
language of the target computer. The coded instructions may be
tokens, ascii strings, or whatever as long as it it a sequence of instructions.
"Randy McLaughlin" <randy@nospam.com> wrote in news:CzPLa.50998$XE4.8469@fe05.atl2.webusenet.com:
"Exegete" <millers@noneofyourbusiness.com> wrote in message >>news:3EFFC282.9000308@noneofyourbusiness.com...
<snip>
A truck on a railroad car is the platform containing the wheels
(including the wheels). Of course being totally off subject I have
seen railroad cars that share trucks.
Keep in mind that we are talking in the words of automotive not
locomotives. Words are clearly using different meanings in different
similar but different fields. In the field of automotives. A car is generally refers to a type of automobile.
different type of automobile.
I think we need to not cross-reference locomotive with automotive terms here. Otherwise, we will be mixing topics and add confusion. Anyway, we
are rather off-topic for comp.sys.cbm.
Just keep in mind there is no term call locomobile. Locomotives simply
refer to both the field and the name that refers to trains, trolleys and
all just as automobile referes to cars and trucks. Anyhow, a train and a trolley are both locomotives. I have at least a personal experience of
being able to see both where I am at since they now have a riverfront trolley and a little passenger train that comes from Portland, Oregon on
the weekend.
Chortle. And you presume to instruct us in the use of words after
writing that???
Exegete wrote ...
If I followed this thread right... Paul is a retired railroader. I
also found it funny that wildstar would challenge him about railroad
terms.
IMHO, wildstar reads too little before writing too much. ;-)
Best regards,
Sam Gillett aka Mars Probe @ Starship Intrepid 1-972-221-4088
Last 8-bit BBS in the Dallas area. Commodore lives!
Randy McLaughlin <randy@nospam.com>:
At least I know how to read a dictionary.
Well, that doesn't help unless you understand the contents of it.
HTML is not programming, not even with the dictionary definition you
brought forward. Live with it. You don't have to be ashamed of having been proved wrong, you're not the only one.
--
\\//
Peter - http://www.softwolves.pp.se/
I do not read or respond to mail with HTML attachments.
There are lots of strange (and weird) computer programming languages, most all of these languages are history, RPG and others that had big enough support (IBM in the 60's and 70's is as strong as it got) continue to be
used in one way or another.
Look at LOGO, a non computational computer programming language
that was little more than a toy (the same basic language was written into some toys).
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 764 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:32:45 |
Calls: | 11,275 |
Calls today: | 1 |
Files: | 5,288 |
D/L today: |
81 files (10,064K bytes) |
Messages: | 521,283 |