File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Summary
22
33- [ 内部原理] ( pages/internals/README.md )
4- - [ (S) 堆/栈 内存分配] ( pages/internals/README.md#s-heapstack-memory-allocation )
5- - [ (S) 垃圾回收] ( pages/internals/README.md#s-garbage-collection )
6- - [ (D) 编译] ( pages/internals/README.md#d-compilation )
4+ - [ (S) 堆/栈 内存分配] ( pages/internals/README.md#s-堆栈-内存分配 )
5+ - [ (S) 垃圾回收] ( pages/internals/README.md#s-垃圾回收 )
6+ - [ (D) 编译] ( pages/internals/README.md#d-编译 )
77- [ 并发与并行] ( pages/concurrency-parallelism/README.md )
8- - [ (D) 概览] ( pages/concurrency-parallelism/README.md#d-overview )
9- - [ (D) 异步 vs 同步 APIs] ( pages/concurrency-parallelism/README.md#d-async -vs-sync -apis )
10- - [ (D) 顺序和并发模型] ( pages/concurrency-parallelism/README.md#d-sequential-and-concurrent-patterns )
8+ - [ (D) 概览] ( pages/concurrency-parallelism/README.md#d-概览 )
9+ - [ (D) 异步 vs 同步 APIs] ( pages/concurrency-parallelism/README.md#d-异步 -vs-同步 -apis )
10+ - [ (D) 顺序和并发模型] ( pages/concurrency-parallelism/README.md#d-顺序和并发模式 )
1111- [ 模块 / 包] ( pages/modules-packages/README.md )
12- - [ 规范 & 实践 ] ( pages/modules-packages/README.md#spec--practice )
13- - [ 包管理] ( pages/modules-packages/README.md#management )
12+ - [ 规范与实践 ] ( pages/modules-packages/README.md#规范与实践 )
13+ - [ 包管理] ( pages/modules-packages/README.md#包管理 )
1414- [ Error Handling] ( pages/error-handling/README.md )
1515 - [ (B) Flow control and values] ( pages/error-handling/README.md#b-flow-control-and-values )
1616 - [ (D) Usage] ( pages/error-handling/README.md#d-usage )
Original file line number Diff line number Diff line change 2828- [ Advanced Go Concurrency Patterns] ( https://talks.golang.org/2013/advconc.slide#1 )
2929
3030
31- ## (D) 异步 VS 同步 API
31+ ## (D) 异步 VS 同步 APIs
3232** JS**
3333
3434JS 提倡使用异步 APIs,因为同步APIs 经常阻塞调用者,例如:
Original file line number Diff line number Diff line change 99因此,可以肯定地说,Javascript程序通常使用具有本地作用域的文件与模块一对一对应的形式构建
1010
1111** Go**
12+
1213Go 从一开始就支持了import声明和包的支持。在Go中没有文件作用域,只有包作用域。从Go 1.6 (or 1.5 + flag)开始,对把依赖包放到项目目录中的 [ vendor folder] ( https://blog.gopheracademy.com/advent-2015/vendor-folder/ ) 提供了更好的支持。然而它没有试图解决任何问题:
1314
1415
You can’t perform that action at this time.
0 commit comments