Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
ff97fde2
Commit
ff97fde2
authored
Oct 05, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a few fixups. delete the TODO block.
R=rsc DELTA=23 (0 added, 20 deleted, 3 changed) OCL=35330 CL=35330
parent
c17dde27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
23 deletions
+3
-23
doc/go_lang_faq.html
doc/go_lang_faq.html
+3
-23
No files found.
doc/go_lang_faq.html
View file @
ff97fde2
...
...
@@ -370,16 +370,16 @@ equality of structs and arrays should mean, it was simpler to leave it out for n
Why build concurrency on the ideas of CSP?
</h3>
<p>
Concurrency and multi-threaded programming have a reputation
for difficulty. We believe the problem is
partly due
to complex
for difficulty. We believe the problem is
due partly
to complex
designs such as pthreads and partly to overemphasis on low-level details
such as mutexes, condition variables, and eve memory barriers.
such as mutexes, condition variables, and eve
n
memory barriers.
Higher-level interfaces enable much simpler code, even if there are still
mutexes and such under the covers.
</p>
<p>
One of the most successful models for providing high-level linguistic support
for concurrency comes from Hoare's Communicating Sequential Processes, or CSP.
Occam and Erlang are two
commercial
languages that stem from CSP.
Occam and Erlang are two
well known
languages that stem from CSP.
Go's concurrency primitives derive from a different part of the family tree
whose main contribution is the powerful notion of channels as first class objects.
</p>
...
...
@@ -425,23 +425,3 @@ The language does not preclude atomic map updates. When required, such
as when hosting an untrusted program, the implementation could interlock
map access.
</p>
<h3
id=
"TODO"
>
TODO
</h3>
<p>
TODO:
</p>
<pre>
explain:
package design
slices
oo separate from storage (abstraction vs. implementation)
embedding?
dependency declarations in the language
oo questions
no data in interfaces
dynamic dispatch
make vs new
</pre>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment