|
-
Nov 16th, 2000, 03:22 PM
#1
Science Fact of the Day
Thursday November 16, 2000
Compilers
In computer science, a compiler is a special type of program that translates high-level computer languages into the low-level instructions that the CPU (central processing unit) understands. In the early days of computers, they were programmed using assembly language, in which each line of a program corresponded to a trivial operation, such as retrieving a number stored in memory, adding two numbers together, or comparing them.
Then, along came the higher level languages such as C, C++, Pascal, Fortran, Cobol and others, which were developed because writing assembly code was tedious -- involving the programmer in many nitty-gritty details that could be figured out automatically. In a high level language, a single statement might correspond to a concept such as "repeat this operation until the count is higher than 10," which might translate into many lines of assembly. Early compilers generated code that was not as efficient as that which could be written by hand, but modern optimizing compilers are often able to figure out "tricks" that are beyond the reach of all but the most skilled hand-coders.
- Michael Natkin
-
Nov 16th, 2000, 03:25 PM
#2
Slow day, huh Jake?
DerFarm
-
Nov 16th, 2000, 03:44 PM
#3
1. Yes.
2. Where did you get my name?
-
Nov 16th, 2000, 03:46 PM
#4
Hyperactive Member
Nothing cryptic about your name.
Look at your signature....
-
Nov 16th, 2000, 03:52 PM
#5
Frenzied Member
heheh
that was so hard to figure out 
out for the day
nite
-
Nov 16th, 2000, 04:08 PM
#6
Damn! The codes been broken! I must tell INS.
-
Nov 16th, 2000, 04:10 PM
#7
Hyperactive Member
-
Nov 16th, 2000, 04:40 PM
#8
transcendental analytic
BTW, how high is the level of programming languages in the future? Computers probably compile English language as if they were instructions in a very highlevel language
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 16th, 2000, 07:44 PM
#9
Well actually no, computer languages consist of only 5 command, they are...
1. 110100101
2. 110010110
3. 100101101
4. 101001010
5. 100101100
And Windows has gotten so complicated that its a command line O/S now.
-
Nov 16th, 2000, 09:24 PM
#10
transcendental analytic
the only IO devices i have is a telegraph 0/1 switch, and a lightdiod, i guess it's as hightech as anything can get.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 18th, 2000, 09:42 AM
#11
Monday Morning Lunatic
I have to hold my hand on the circuits and tell what the output is by how electrocuted I get
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 18th, 2000, 09:53 AM
#12
Hyperactive Member
i did that the other day on a power supply. The fan started making this god awful racket, so i took the case of to see what it was, plugged in, and accidentaly touched the soldered pins on the circuit board where the 240 comes in.
It hurt.
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Nov 18th, 2000, 12:10 PM
#13
Monday Morning Lunatic
Let's chip in and buy td a new hand
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 18th, 2000, 12:25 PM
#14
Hyperactive Member
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|