3 ms·
To expand on this... "So no native code is used." was probably somewhat misleading. More specifically, no native code is explicitly used. IL may be compiled d
by MaulingMonkey 13y ago
To expand on this... "So no native code is used." was probably somewhat misleading.
More specifically, no native code is explicitly used. IL may be compiled down to e.g. x86-64, but you won't have a C DLL being PInvoked from your C# (or other .NET language), nor a C++/CLI DLL compiled against x86-64 specifically.
Among other advantages, this usually implies:
- Less interop overhead (unmanaged <-> managed transitions are expensive)
- Easier dependency management (just include the assembly instead of assembly + native DLLs via installer or whatever)
- Portable (more likely to run on e.g. the Mono Runtime on a Linux box with an ARM processor without requiring a build specific to ARM and possibly to Linux)