开发者

use of multiple languages in visual studio

开发者 https://www.devze.com 2023-02-18 02:31 出处:网络
in visual studio we can develop application开发者_StackOverflows using multiple programming languages such as C#, C++, Visual Basic. Is this due to CLR?I believe it is.

in visual studio we can develop application开发者_StackOverflows using multiple programming languages such as C#, C++, Visual Basic. Is this due to CLR?


I believe it is.

The functionality of .Net Framework supporting many programming languages is due to the use of the powerful CLR

See this link:

http://www.dotnet-guide.com/

  • The above statement can be found in the 3rd paragraph beneath the "Click here for FREE subscription" button.


Mainly, but I guess it is also a trend for IDEs to support several languages (vs one IDE per language). Eclipse for example supports 20 languages.


The fact that multiple .NET languages share a runtime and BCL, and can talk to each-other very easily is due to the CLR/CLI, but ultimately the VS IDE doesn't just write CLI (unmanaged C++ being the obvious example). Simply, the IDE (like many others) is designed to be extensible.

If you wanted, I'm very sure it would be possible to write your own compiler plugin for VS, using a managed or unmanaged language.

0

精彩评论

暂无评论...
验证码 换一张
取 消