Do you know any good book about the workings of the CLR, the .NET Framework and CIL as opposed to any specific .NET language?
CLR provides the services and runtime environment to the MSIL code. Internally CLR includes the JIT(Just-In-Time) compiler which converts the MSIL code to machine code which further executed by CPU. CLR also uses the . NET Framework class libraries.
The CLS's role is to define a minimum subset of features that languages must support to work with . NET applications. For example, although the CLR supports both signed and unsigned integers, languages conforming to the CLS are required to support only signed integers.
CLS and CTS both are part of CLR and allow in . NET language cross language communication and type safety. It defines rules that every language must follow which runs under . NET framework.
CTS and CLS are parts of . NET CLR and are responsible for type safety within the code. Both allow cross-language communication and type safety.
Although it mentions C# on the cover CLR via C# is a very good read to discover the ins and outs of the CLR.
Regardless of any other books, you will definitely need ECMA-335 standard for a detailed specification of CLR and CIL. With sufficient experience, it may actually be sufficient on its own.
Also, "Expert .NET 2.0 IL Assembler" looks like it matches your requirements, though I haven't read it and can't comment on its quality. Amazon description looks promising, though:
Topics include managed executable file structure, metadata table structure, Microsoft IL instructions, structured exception handling, managed and unmanaged code interoperation, executable file generation, and metadata manipulation API exposed by the common language runtime.
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