Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiled vs interpreted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Fri Feb 21, 2003 3:43 pm    Post subject: compiled vs interpreted Reply with quote

Why do some languages only have compilers and some only have interpreters? I think it would be cool to have an interpreter for C or a compiler for python or perl. And wouldnt it help programmers also? like write some code, use the interpreter and see if it works, and then you can compile it to optimize it.
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Fri Feb 21, 2003 4:39 pm    Post subject: Reply with quote

Just search google.:wink: You should find lots of info on this as it is one of the basic issues of programming. You obviously have the basic idea, interpreted languages are generally easier to develop while compiled programs generally run faster.

I know you can compile Perl, though it likely still won't be as optimized as "good"(TM) C. I think there are compilers for several of the more popular interpreted languages but I don't know how much they are used. Heck, you can even compile matlab scripts. 8O There are various C/C++ interpreters as well, I have never used one though.(I don't program much)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum