Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > Compiler vs. Interpreter
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
UglyDave
i ran a marathon : )



Registered: Jan 2003
Location: Buncrana, Éire
Compiler vs. Interpreter

What's the difference between the two?

My current understanding is that and interpreter takes code line by line and executes it?

Compiler is more dynamic, changes the languare into binary code then executes??


Thanks!
David

Old Post Oct-20-2003 10:23  Ireland
Click Here to See the Profile for UglyDave Click here to Send UglyDave a Private Message Visit UglyDave's homepage! Add UglyDave to your buddy list Report this Post Reply w/Quote Edit/Delete Message
electric_soul
tranceaddict



Registered: Sep 2003
Location: Buenos Aires, Argentina

quote:
"Compilers produce machine language versions of programs. The compiled program is executed as a single unit.

Instead of translating the program as a unit, an interpreter translates the individual steps in the high--level program when it is run, so that it appears to be executed exactly as it is written.

Interpreted programs run a lot slower than compiled ones. This is because it is necessary to perform an amount of translation for every single step, whereas the compiled program is translated as a whole once and for all. However, interpreters are useful when developing programs, because it is possible to follow the execution to the point where it fails."

Just cut&pasted from somewhere, tho I disagree with intepreted programs run a lot slower.

Depending on context there is caching of byte-code ("machine language"), and lots of tweaks and hacks and glitches and loads of things programmers did to improve performance of interpreted languages (such as DBase, Perl, Python, PHP, etc). Also CPU power and mem has gone cheaper and faster. Sometimes going for compiler is the wrong way, sometimes going for interpreter is the wrong way.

It all depends on the task to accomplish.


___________________
20031115 Creamfields @ Buenos Aires !!

/me is crazy enough to study japanese (and proud of it)
Blog (spanish): here

Old Post Oct-20-2003 10:42  Argentina
Click Here to See the Profile for electric_soul Click here to Send electric_soul a Private Message Add electric_soul to your buddy list Report this Post Reply w/Quote Edit/Delete Message
UglyDave
i ran a marathon : )



Registered: Jan 2003
Location: Buncrana, Éire

thank you very very much!

What site did u get that from??

Tried searching but to no avail!

Old Post Oct-20-2003 10:47  Ireland
Click Here to See the Profile for UglyDave Click here to Send UglyDave a Private Message Visit UglyDave's homepage! Add UglyDave to your buddy list Report this Post Reply w/Quote Edit/Delete Message
electric_soul
tranceaddict



Registered: Sep 2003
Location: Buenos Aires, Argentina

http://www.ling.helsinki.fi/kit/200...clbook_6.html#2


___________________
20031115 Creamfields @ Buenos Aires !!

/me is crazy enough to study japanese (and proud of it)
Blog (spanish): here

Old Post Oct-20-2003 10:50  Argentina
Click Here to See the Profile for electric_soul Click here to Send electric_soul a Private Message Add electric_soul to your buddy list Report this Post Reply w/Quote Edit/Delete Message
UglyDave
i ran a marathon : )



Registered: Jan 2003
Location: Buncrana, Éire

Thanks very very much! very nice of you to go to the effort!

Thanks again,

Davo

Old Post Oct-20-2003 10:56  Ireland
Click Here to See the Profile for UglyDave Click here to Send UglyDave a Private Message Visit UglyDave's homepage! Add UglyDave to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > Compiler vs. Interpreter
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackTrack #1 Perry O'Neil - Electronic Elements 052 08-16-06 [2008] [0]

Click here to listen to the sample!Pause playbackF&W - "You Will Understand" [2005]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 16:22.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!