What is the difference between .exe file generated from c program compilation and .exe file generated from vb program compilation

StackOverflow https://stackoverflow.com/questions/20310504

سؤال

what is difference between .exe file generated from c program compilation and .exe file generated from vb program compilation. Which .exe file is platform independent as per ( as long as the platform is .NET)?

هل كانت مفيدة؟

المحلول

C program file mostly compiles to native machine code and is platform specific. However, VB.NET compiles to .NET MSIL code, which can then run on a .NET Virtual Machine.

That being said, you can write your own compiler for C that compiles to MSIL or look at C++/CLR.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top