Click here to Skip to main content
15,919,132 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
kindly tell me about the concept of language indepandancy.
Posted
Comments
Sergey Alexandrovich Kryukov 21-Aug-12 2:18am    
I would rather wonder how it could be a problem? You are not surprised that Windows or Linux can run applications written on many different languages, so how .NET could be a problem?
--SA
AmitGajjar 21-Aug-12 2:27am    
you are posting your question with incorrect tag, i think you heard this word somewhere. dot net supports so many other languages check this link http://en.wikipedia.org/wiki/List_of_CLI_languages

This is why it is called so... you are independent to language.

 
Share this answer
 
Comments
Manas Bhardwaj 21-Aug-12 4:46am    
Correct +5!
Prasad_Kulkarni 21-Aug-12 4:50am    
Thank you Manas!
Please see my comment to the question. It's wonderful how the concept of language barrier could appear. Having something which does not have language compatibility is a huge misconception, but it is stemmed from the facts of real life. It looks like originally all platforms were intended to be language independent; as the opposite situation looks hostile and impractical. The platform, the facilities used to load and link modules (I don't say "compile") should be unified so the modules written in different language (call them "object" or "executable" — it depends on the architecture) could be able to work together. This is nearly the case, but with a lot of limitations in Linux and many other platforms, but especially in Windows. I personally was often responsible for binding any language and with any other, but it came for price. Not that anyone specifically wanted such disruption. Rather, this is the result of the struggle between different parties and narrow interests, multiplied by weak and not very wise standards for object/executable, and linking, etc. This process is very complex; following a the structures, rules and layouts of one language would dramatically limit the capabilities of some other and prevent development of new ideas.

So, the language compatibility is rather a natural feature of any platform, and the limitation of such compatibility is a matter of understanding, and is something which is not easy to understand well.

As to .NET in this respect, this is rather a more but a successful attempt not to invent something new, but to restore the natural order. The platform is language independent just because the language activity around this platform is done in a platform-centric way. Important role plays the open character of the platform and publication of the platform and language standards, submitted and established by ECMA and later ISO. Technological approaches of CLI highly promote such unification. It makes most CLI languages very similar in their nature, but not quite: for example, F# uses a very different paradigm of functional programming.

The further detail can be understood from this reading:
http://en.wikipedia.org/wiki/Common_Language_Infrastructure[^],
http://www.ecma-international.org/publications/standards/Ecma-335.htm[^],
http://en.wikipedia.org/wiki/Common_Language_Runtime[^],
http://en.wikipedia.org/wiki/Common_Intermediate_Language[^],
http://en.wikipedia.org/wiki/.NET_Framework[^].

See also:
http://en.wikipedia.org/wiki/Programming_paradigm[^],
http://en.wikipedia.org/wiki/Imperative_programming[^],
http://en.wikipedia.org/wiki/Object-oriented_programming[^],
http://en.wikipedia.org/wiki/Functional_programming[^];
http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29[^],
http://en.wikipedia.org/wiki/C%2B%2B/CLI[^],
http://en.wikipedia.org/wiki/F_Sharp_%28programming_language%29[^].

—SA
 
Share this answer
 
Comments
Manas Bhardwaj 21-Aug-12 4:46am    
Well explained +5
Sergey Alexandrovich Kryukov 21-Aug-12 13:27pm    
Thank you, Manas. I wish I could do it better, it's just time and space is limited. The problem is not limited by one technology and not by technology along.
--SA
Prasad_Kulkarni 21-Aug-12 4:52am    
Great! +5
Sergey Alexandrovich Kryukov 21-Aug-12 13:27pm    
Thank you, Prasad.
--SA
In short, the answer is CLR. Read more about it here:

http://msdn.microsoft.com/en-us/library/8bs2ecf4(v=vs.110).aspx[^]
 
Share this answer
 
Comments
Prasad_Kulkarni 21-Aug-12 4:51am    
My 5!
Manas Bhardwaj 21-Aug-12 5:14am    
Thx Prasad!
Sergey Alexandrovich Kryukov 21-Aug-12 13:28pm    
Fair enough, my 5.
--SA
 
Share this answer
 
Comments
Prasad_Kulkarni 21-Aug-12 4:51am    
MSDN always best, +5!
Ganesh Nikam 21-Aug-12 4:59am    
thnx prasad
Language Independent –
Means dot net application can be developed different languages (such as C#, VB, C++, Java, ASP etc.) you can see this languages' list when you are going to create new project in .net

and .net is also having Interoperability feature, you can inter-operate different languages' codes for code-reuse purpose.
CSS
eg. create user-control in c# make a dll file
    now, you can add reference in project created with language VB
    It will allow to access that new control in 'vb' which was actually written in 'C#' language.
    because it is in dll form which is Native code- by JIT(Just in time compiler.
    thus, different language can inter-operate with each other.

Happy Coding!
:)
 
Share this answer
 
v4
Comments
Aarti Meswania 21-Aug-12 3:00am    
I can't get, what is reason for down-vote?
do you not agree it is a correct definition, if it is then please post correct answer we will like to know real meaning of 'language indepandancy'?
Prasad_Kulkarni 21-Aug-12 5:31am    
Well, its common here. Anyways Countered +5
Aarti Meswania 21-Aug-12 5:45am    
yes, you are right. it's common, down-vote means solution is wrong.
but as you said it's common mean there isn't wrong solution
then it should not be down-voted.
everyone should know that if solution is wrong then it deserve down-vote. If they don't have reason for down-voting then they should avoid to vote answers.
up-voting is not so important, but down-voting a 'working solution' always matters.
:)
Prasad_Kulkarni 21-Aug-12 5:47am    
The world is full of cowards, and some of them only can do such things which you can't stop.
Aarti Meswania 21-Aug-12 5:52am    
yes, It is fact.
thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900