Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Basic .NET compiled or interpreted?

is Visual Basic 2010 a compiled or interpreted language? Can a vb program be disassembled?

like image 604
a438 Avatar asked May 14 '11 15:05

a438


People also ask

Does Visual Basic use a compiler?

The Visual Basic command-line compiler provides an alternative to compiling programs from within the Visual Studio integrated development environment (IDE). This section contains descriptions for the Visual Basic compiler options. Every compiler option is available in two forms: -option and /option .

Is .NET an interpreted language?

No, the desktop . NET VM (called the Common Language Runtime) has a JIT compiler, no interpreter. In contrast, the . NET Microframework, found on tiny embedded devices which may not even support runtime code modification, actually does interpret the IL.

Is Visual Studio a compiler or interpreter?

Compiled programming language your program will run. In this circumstance, C++ is a compiled language, Visual Studio is the compiler and Windows is the OS; such brief progress is as below: Write C++ codes in Visual Studio and press F5. Visual Studio then translates .


3 Answers

Depends on the execution environment. But it is generally compiled. Twice, first from source code to IL (Intermediate Language). Again at runtime from IL to machine code by a just-in-time compiler. Except on, say, the .NET Micro Framework which uses an IL interpreter. The intermediate form allows pretty decent decompilation, Reflector is the best tool for that.

like image 125
Hans Passant Avatar answered Sep 22 '22 17:09

Hans Passant


It is compiled to IL code which is normally JITted. It is possible to create native images using a tool like Ngen.

It is very easy to disassemble .NET assemblies. There are many tools available (free and commercial) that do this.

like image 34
Oded Avatar answered Sep 22 '22 17:09

Oded


It's kinda both. It's compiled into IL which is then "just in time compiled" (JITed) into machine code at runtime.

like image 36
Esteban Araya Avatar answered Sep 23 '22 17:09

Esteban Araya