摘要:
build up data with multiple parts 元组是固定数量的不同类型数据集合,列表是不定数量的相同类型集合。其实这么定义就是为了更好的在内存里管理空间 pairs: 2-tuples sytanx: (e1, e2) evaluation: e1->v1, e2->v2, t 阅读全文
摘要:
language:SML Three things we should focus: Syntax: how you write Semantics: - Type-checking ( before program run) - Evaluation (as program run) ML: - 阅读全文
摘要:
/* 一直有个疑问变量如何和值相联系的,在机器的层次上,之前看看Berkeley 61a有说namespace 是按照index-value 模式,但还是不能从内存或者编译上面去理解,stackflow 看了下 How are variable names stored in memory in C 阅读全文
摘要:
Why hava? allow different sections of code to share information easily enable complex "linked" data structures like linked lists and binary trees What 阅读全文
摘要:
//继续挖坑 3. Memory Mapping Segment: the kernel maps contents of files directly to memory. Any application can ask for such a mapping via the Linux mmap( 阅读全文