This website completely moved to new platform. For latest content, visit www.programmingposts.com

Search this Site

30 Sept 2012

PLATFORM DEPENDENT

-> Languages that are present in the market before 1990's are platform dependent languages.
-> In these languages after compiling the source code , the machine code or executable code is generated, and this code is generated targeting the Operating system. So, the code generated cannot be executed on other O.S .
Because, O.S is responsible for execution of machine code , so machine code of one O.S is not understandable to other O.S.
Example: c++(windows)
source code-> compile -> machine code(exe).
In the above case, as the source code is compiled on windows, the machine code get generated for windows O.S only. So, this code can be executed on windows only.

No comments:

Post a Comment

Thanks for your comments.
-Sameer