Skip to content

Commit 2d266c0

Browse files
committed
Regenerate website.
go generate Includes change from gopherjs/gopherjs#520.
1 parent 1e1b3dc commit 2d266c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,6 @@ How it works:
135135
JavaScript has no concept of concurrency (except web workers, but those are too strictly separated to be used for goroutines). Because of that, instructions in JavaScript are never blocking. A blocking call would effectively freeze the responsiveness of your web page, so calls with callback arguments are used instead.
136136

137137
GopherJS does some heavy lifting to work around this restriction: Whenever an instruction is blocking (e.g. communicating with a channel that isn't ready), the whole stack will unwind (= all functions return) and the goroutine will be put to sleep. Then another goroutine which is ready to resume gets picked and its stack with all local variables will be restored. This is done by preserving each stack frame inside a closure.
138+
139+
### GopherJS Development
140+
If you're looking to make changes to the GopherJS compiler, see [Developer Guidelines](https://github.com/gopherjs/gopherjs/wiki/Developer-Guidelines) for additional developer information.

0 commit comments

Comments
 (0)