Microsoft makes language translation from C# to C++ easier with CoreRT

Source:mspoweruser.com

The CoreRT project by Microsoft allows programmers to translate computer codes from C# to C++. This is helpful for software applications which were designed outside of the .Net framework. This open source program leaves the .Net framework standard for executing command line codes for compiling and running software applications. Rather, it musters C++ code out of app’s code which are written C# for the .Net platform. Hence, the program may be compiled and run in any platform that uses C++.

Microsoft presented in a nutshell its plans about the CoreRT in a post on its development blog, AlphaGeek. You can read in this post how CoreRT works and the reason for its development.

It is difficult to write a program in C# if the computer’s operating system as well as its processor does not have the capability to interpret those codes. One must have a compiler that can translate C# into a code that the computer can understand. Else, one must take the time to setup the .Net framework into the computer system. Microsoft explains in AlphaGeek.

CoreRT relieves the software developer of the trouble of installing .Net into the programming platform. They can now easily translate the C# codes into C++ and execute the program on any platform.

Microsoft is proud to say that they had experiences substantial progress about this project throughout the year. However, the software company is also quick to recognize the limitations it had on this task. One prevailing concern is that C++ and .Net have very dissimilar features on correspondence. For example, C++ had a certain data structure while .Net has another. The two platforms also differ in logic. Hence, CoreRT needs to gracefully outline .Net’s features to C++.

Nuitka is another software venture which is enable to translate a computer language into C++. This one works on program written using Python. Just like CoreRT, it is also facing a lot of compilation and execution issues. Its struggle may even be more vigorous than that of CoreRT.

Source:infoworld.com
Source:infoworld.com

Python is a dynamic language. It is this characteristic that gives it the problem of quickly converting itself into another language for compilation. Meanwhile, C# employs a static approach for defining variables. Thus, the latter is much easier to work with than the former.

CoreRT has been greatly inspired from Microsoft’s desire to realign itself with open source programming technologies. They are dedicated to finding ways to make applications using .Net executable in other platforms.