A
ax
"The benefits of running code in the managed environment of the CLR are
legion. For starters, as the JIT compiler converts CIL instructions into
native code, it enacts a code verification process that ensures the code is
type safe."
What does it mean by "type safe" here? Please give example about what
non-type-safe operations that native code can cause?
"You can't cast a type to something it's not because that operation isn't
type safe."
What does it mean by "cast a type to something it's not"?
"And you can't call a method with a malformed stack frame because the CLR
simply won't allow it to happen."
What's "a malformed stack frame"?
Thanks in advance!
legion. For starters, as the JIT compiler converts CIL instructions into
native code, it enacts a code verification process that ensures the code is
type safe."
What does it mean by "type safe" here? Please give example about what
non-type-safe operations that native code can cause?
"You can't cast a type to something it's not because that operation isn't
type safe."
What does it mean by "cast a type to something it's not"?
"And you can't call a method with a malformed stack frame because the CLR
simply won't allow it to happen."
What's "a malformed stack frame"?
Thanks in advance!