I have been trying to find some more information on CoreFX part of .NET Core and mainly on the Runtime Adaption Layer. This adaption layer is mentioned on .NET Core diagrams (e.g.
, but I did not found single description of purpose of this layer, so I would like to ask for explanation of this layer. Thank you.
If I get it right, Runtime Adaption Layer is known as Platform Adaptation (Abstraction) Layer (PAL).
According to .NET Core glossary
PAL provides an abstraction layer between the runtime and the operating system.
The implementation for BCL (CoreFX) apparently could be found here: https://github.com/dotnet/corefx/tree/master/src/Common/src/Interop
CoreCLR btw has its own PAL
https://github.com/dotnet/coreclr/tree/master/src/pal
https://github.com/dotnet/core-setup/blob/master/src/corehost/common/pal.h (corehost actually, not CLR)
Worth to mention (from here) that PAL has Win32 API syntax
The PAL exposes a collection of interfaces that are based on Win32
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With