-1

What is managed code. Is Java Script a managed code?

2

Managed code is code that has its execution managed by the .NET Framework Common Language Runtime. See this short description about managed code. Now since Javascript is independent of .Net Framework , it is not a managed code.

Managed code is code written in one of over twenty high-level programming languages that are available for use with the Microsoft .NET Framework, including C#, J#, Microsoft Visual Basic .NET, Microsoft JScript .NET, and C++. All of these languages share a unified set of class libraries and can be encoded into an Intermediate Language (IL). A runtime-aware compiler compiles the IL into native executable code within a managed execution environment that ensures type safety, array bound and index checking, exception handling, and garbage collection.

Similar discussion: https://stackoverflow.com/questions/57923/what-exactly-is-managed-code

0

Managed code is code written in one of over twenty high-level programming languages that are available for use with the Microsoft .NET Framework, including C#, J#, Microsoft Visual Basic .NET, Microsoft JScript .NET, and C++. All of these languages share a unified set of class libraries and can be encoded into an Intermediate Language (IL). A runtime-aware compiler compiles the IL into native executable code within a managed execution environment that ensures type safety, array bound and index checking, exception handling, and garbage collection.

By using managed code and compiling in this managed execution environment, you can avoid many typical programming mistakes that lead to security holes and unstable applications. Also, many unproductive programming tasks are automatically taken care of, such as type safety checking, memory management, and destruction of unneeded objects. You can therefore focus on the business logic of your applications and write them using fewer lines of code. The result is shorter development time and more secure and stable applications.

http://msdn.microsoft.com/en-us/library/windows/desktop/bb318664(v=vs.85).aspx http://www.c-sharpcorner.com/uploadfile/puranindia/managed-code-and-unmanaged-code-in-net/

But for Javascript as it is not using the .net so that it is not Managed Code. But you can Call the Managed Code from your JavaScript.

http://msdn.microsoft.com/en-us/library/cc221414(v=vs.95).aspx http://msdn.microsoft.com/en-us/library/cc221359(v=vs.95).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.