Feature: Interop
The five unsafe abilities, the invariants they transfer to the developer, and the ABI contract at a foreign function boundary.
The five unsafe abilities, the invariants they transfer to the developer, and the ABI contract at a foreign function boundary.
CPU instruction sets, the storage hierarchy and network hardware: the latency numbers every design inherits.
Virtual memory, paging and segmentation: the address space, the page table and the cost of a miss.
The class file, the loading and linking phases, class loader hierarchy, reflection and the leaks a class loader can hold.
Runtime data areas, allocation, the garbage collectors compared, pause budgets and the OOM types that follow.
Go 的值模型:基本类型与零值、显式转换和类型身份、常量与 iota 的求值、string/byte/rune 的 UTF-8 边界、slice 头的 len/cap、append 扩容与别名、map 的引用语义、struct 对齐填充、指针复制语义、可比较规则,以及逃逸分析如何决定栈或堆。
How CPython compiles and executes a module, how names bind to objects, how reference counting and the cyclic GC decide a lifetime, and how protocols decide identity, equality and attribute access.
One owner per value, borrows checked at compile time, and lifetimes that bound how long a reference stays valid.