Is the stack an implementation detail, or not?

According to http://msdn.microsoft.com/en-us/library/ms229017.aspx , value types "are allocated on the stack or built into other structures *". However, the stack is an implementation detail ; Eric Lippert claims to be an implementation detail.

As far as I understand, the implementation detail is "the behavior created by the code that the consumption code can rely on, although this behavior is not specified by the specification, the code is written in." . I understand that the documentation is not a specification, although it is assumed that if there is something in the documentation that we can rely on, and it is no longer detailed implementation information. So, the stack is an implementation detail, or is it?

*: I understand that this means that structures can also stand out inside others, and not directly on the heap, although I could be wrong.

+5
source share
2 answers

MSDN , Microsoft # struct. ECMA 334 #; struct s. .

, , - , , ( , , ) struct s. , .

, , :

, , ; , , . , , , "", , " ", , " " .

ECMA 334 # ยง11. , "" . : struct , System.ValueType, struct , struct , struct ( struct , null), , unboxing struct, this struct s, , , , struct s. , . -.

- , struct.

+11

# "" , , , , , .

, (.. ), , (, API), (.. API Marshaling).

+1

All Articles