View Single Post
Old 07-25-2011, 10:53 PM   PM User | #8
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Quote:
Originally Posted by Nightshade_II View Post
A collection of code that is written in the respective language, right? I was reading on some site about multiple languages accessing the same API's and couldn't quite grasp who that was possible.
Not necessarily. For example you can use a C library in a C++ application. PHP extensions are written in C but you would use the resulting library with PHP. Lua can use libraries written in C.

Quote:
Originally Posted by Nightshade_II View Post
And just to clarify, code syntax is the same across all OS's then? It's just that some poor blokes at the Language developer has to get knee deep in a computer and create a compiler that can take then code and turn it into machine code for that OS?
Yes, the syntax of say C is the same regardless of the OS. The differences aren't always limited to the compiler but the syntax is always the same.
__________________
OracleGuy
oracleguy is offline   Reply With Quote