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
|
2023-05-22 17:32:00 +01:00
|
|
|
- [[Language Binding#Virtual Machines]]
|
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)
|
2023-05-22 17:32:00 +01:00
|
|
|
- DLL, EXE
|
|
|
|
|
2023-06-01 08:11:37 +01:00
|
|
|
![cli-infrastructure](../../img/cli-infrastructure.png)
|