Category: Golang
syscall: use posix_spawn (or vfork) for ForkExec when possible
Why: At a basic level posix_spawn(2) is a subset of fork(2). A new child process from fork(2): 1) gets an exact copy of everything that…
html/template: “stripTags” exportability in the html/template package
by uberjack: The html/template package has a very handy “stripTags” function (http://golang.org/src/pkg/html/template/html.go) that’s currently unexported. This function does state-based html stripping which would be very…
cmd/present: Add syntax highlighting
Syntax highlight is not just “pretty”, it help people grasp the code better. We can either use the go.scanner packager or use external tools like…
runtime: make timers faster
This is a follow up to: https://golang.org/cl/12876047/ time: lower level interface to Timer: embedding, compact interface callback with fast callback Timers can be heavily used…
proposal: spec: multidimensional slices
As per Rob and Andrew’s request: https://groups.google.com/forum/#!topic/golang-nuts/Q7lwBDPmQh4
crypto/x509: failed to load system roots when there are no system roots
by m.kevac@corp.badoo.com: What steps will reproduce the problem? Build latest go compiler from tip on Linux. Try to go get some code. marko@cpp1.d3:~ $ go…
x/playground: support running tests
It’d be useful if the playground could run tests — more like `go test` instead of `go run`. This is possible now (http://play.golang.org/p/K0gFil6jFC), but it’s…
net/http: add Request.LocalAddr
by joijoi360: Before filing a bug, please check whether it has been fixed since the latest release. Search the issue tracker and check that you’re…
runtime: windows callback on non-Go thread fails
This test diff –git a/src/pkg/runtime/syscall_windows_test.go b/src/pkg/runtime/syscall_windows_test.go — a/src/pkg/runtime/syscall_windows_test.go +++ b/src/pkg/runtime/syscall_windows_test.go @@ -240,5 +240,35 @@ } func TestCallbackInAnotherThread(t *testing.T) { – // TODO: test a function…
net/http: Transport needs a limit on total connections (per host)
(go1.2rc4) We’re working on a reverse HTTP proxy that does some “stuff” (that’s not relevant) and proxies towards one or more backend HTTP servers. During…