2023-12-27 09:30:39 +00:00
|
|
|
---
|
|
|
|
tags:
|
|
|
|
- dev
|
2023-12-27 13:36:33 +00:00
|
|
|
- dotnet
|
2023-12-27 09:30:39 +00:00
|
|
|
---
|
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-06-06 11:48:49 +01:00
|
|
|
- [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)
|
2023-05-22 17:32:00 +01:00
|
|
|
- DLL, EXE
|
|
|
|
|
2023-06-08 17:52:09 +01:00
|
|
|
![cli-infrastructure](../../img/cli-infrastructure.png)
|
|
|
|
|
|
|
|
## Resources
|
|
|
|
[Make microservices fun again with Dapr](https://www.daveabrock.com/2021/04/29/meet-dapr/)
|
|
|
|
[Dapr for .NET](https://docs.microsoft.com/en-gb/dotnet/architecture/dapr-for-net-developers/)
|