basic
Contents
1. about ponter
-
address(取地址):
&b
-
dereference(解引用);indirection(间接寻址)
一个指针代表对变量的一次引用; 访问指针指向地址:
*p=100
-
引用操作: 赋值给指针
resource-bound:
the rate of the task is bound(decided) to resources in other words: it need many that resources. (resources 密集型)
types of bounds:
- cpu-bound: cpu speed
- i/o-bound:i/o speed
- memory-bound: memory size and memory accessing speed
i/o bound:
- the type of devices
- the arhitecture of read/write file
do many task such as read/write file,, network
- chat app;
cpu bound app: do many tasks such as caculations
- photo editors
- video editors