stem/CS/Languages/dotNet.md

33 lines
708 B
Markdown
Raw Normal View History

2023-05-20 01:33:56 +01:00
# Common Language Infrastructure
## CLI
- Language-neutral platform
# Common Language Runtime
## CLR
- Virtual Execution System
- VES
- Defined by CLI
- JIT managed code into machine instructions
- Execution engine
- VM
- [Language Binding](../Language%20Binding.md#Virtual%20Machines)
2023-05-20 01:33:56 +01:00
- Services
- Memory management
- Type safety
- Exception handling
- Garbage collection
- Security
- Thread management
# Common Intermediate Language
## CIL
- Intermediate language for CLI
- Run by CLR
- Object-oriented, stack-based bytecode
# Assemblies
- Compiled CLI code
- Portable executable (PE)
- DLL, EXE
![cli-infrastructure](../../img/cli-infrastructure.png)