golang/go
View on GitHub ↗ ★ 139,735 Go
The Go programming language
1,947 mentions on Hacker News by 1,181 people: 291 stories, 1,656 comments · first 2014-12-08 · latest 2026-10-22
20082026
-
▲ 2
Go Proposal: arena: new package providing memory arenasstory by chenzhekl · 2022-03-01 · 0 comments
-
…Go from earlier versions written in C - but in fact the bootstrapping process may change soon, see https://github.com/golang/go/issues/44505
comment by Jabbles · 2022-02-27 · in Don't Write a Programming Language -
Clearly nobody ever manages to use this Go thing with over 700: https://github.com/golang/go/issues . Or .net, over 5000 issues for the compiler alone: https://github.com/dotnet/roslyn . I'd guess stuff like Java, glibc would be similar if…
comment by Macha · 2022-02-26 · in Announcing Actix Web v4.0 -
▲ 7
Golang: Manual Memory Management Proposal Using Arenasstory by dcu · 2022-02-25 · 0 comments
-
▲ 6
Proposal: Arena: new package providing memory arenasstory by uluyol · 2022-02-22 · 0 comments
-
In case you miss it, the link to found bug list: https://github.com/golang/go/wiki/Fuzzing-trophy-case
comment by fulafel · 2022-02-18 · in Internals of Go's new fuzzing system -
Here you go: https://github.com/golang/go/issues/26520
comment by heavyset_go · 2022-02-18 · in Go 1.18 RC1 is out -
See this issue: https://github.com/golang/go/issues/26520
comment by heavyset_go · 2022-02-18 · in Go 1.18 RC1 is out -
…and arrays, which is important but too high of a bar for a simple, safe in-place filter. [0]: https://github.com/golang/go/wiki/SliceTricks#additional-tri...
comment by akshayshah · 2022-02-17 · in Go 1.18 RC1 is out -
Here is what I wrote in 2020: https://github.com/golang/go/issues/37862#issuecomment-60181... They closed the issue and asked to write it again while ignoring the concerns. In general, I think a few of us are disappointed. It felt like…
comment by cientifico · 2022-02-16 · in Godocs.io One Year Later -
…as recommended by Go team but no dice[1]. There are others who have complained the same on SO. [1] https://github.com/golang/go/issues/41310
comment by Abishek_Muthian · 2022-02-16 · in LibreOffice running natively in the browser via WebAssembly -
…question was regarding it's implementation using other languages and general experience of it. [1] https://github.com/golang/go/issues/28631
comment by Abishek_Muthian · 2022-02-16 · in LibreOffice running natively in the browser via WebAssembly -
▲ 2
Some Go generic functions significantly slower, fix in go1.19story by slicedbrandy · 2022-02-16 · 0 comments
-
…guy and then pissing on ten years of his work with a go fuck yourself in the form of this commit. https://github.com/golang/go/issues/9
comment by throwawaygjdbsj · 2022-02-14 · in The Go language's first commit (1972) -
…@-things and confuse that for "documentation". Writing one or two paragraphs is often clearer. [1]: https://github.com/golang/go/discussions/48305
comment by Beltalowda · 2022-02-13 · in Go Annoyances -
▲ 2
Go Runtime: Scheduler Improvements Inspired by Linux CFSstory by signa11 · 2022-02-12 · 0 comments
-
▲ 13
Investigate possible Go scheduler improvements inspired by Linux Kernel's CFSstory by kiyanwang · 2022-02-11 · 0 comments
-
▲ 5
Investigate possible Go scheduler improvements inspired by Linux Kernel's CFSstory by 00hnes · 2022-02-09 · 0 comments
-
…curious, here are the links to the source code for the functions referenced in the article: * GC: https://github.com/golang/go/blob/go1.16/src/runtime/mgc.go#... * gcWaitOnMark: https://github.com/golang/go/blob/go1.16/src/runtime/mgc.go#..…
comment by throwaway894345 · 2022-02-07 · in Dumpster diving the Go garbage collector -
Two Go 2 proposals that interested me were: * nillability annotations: https://github.com/golang/go/issues/49202 * Change int from a machine word size (int32 or int64) to arbitrary precision (bigint): https://github.com/golang/go/issues/196…
comment by cpeterso · 2022-02-04 · in What I'd like to see in Go 2.0 -
…exhaustive type switches would bring Go something close to the sum types of Rust and Swift. [0]: https://github.com/golang/go/issues/45346
comment by ibraheemdev · 2022-02-04 · in What I'd like to see in Go 2.0 -
…also dislike many things from Go, and I want "enums" badly too, but that's for another comment. [0] https://github.com/golang/go/issues/28987#issuecomment-49679...
comment by slx26 · 2022-02-04 · in What I'd like to see in Go 2.0 -
…operation case <-time.After(5*time.Second): return fmt.Errorf("timeout") } } Which goes along w/ https://github.com/golang/go/wiki/CodeReviewComments#indent-... of "Indent error flow". edit: nvm, your break would be blocked until one of…
comment by schrodinger · 2022-02-04 · in What I'd like to see in Go 2.0 -
…to run the interpreter. Moreover, thus far, a DFA matcher is out of a picture, as discussed here: https://github.com/golang/go/issues/11646 .
comment by smasher164 · 2022-02-04 · in Go performance from version 1.2 to 1.18 -
…a big GC rework, part of which required fields not contain possibly-pointer-possibly-other-values. https://github.com/golang/go/issues/8405 Obviously this made people unhappy, so it kicked off several rounds of optimizations to claw back…
comment by morelisp · 2022-01-26 · in Go is about to get faster -
…cool water and slowly brought to a boil, he will remain there until he is cooked through." [1]: https://github.com/golang/go/discussions/47203#discussioncom... [2]: https://www.python.org/dev/peps/pep-0572/#abstract
comment by Mawr · 2022-01-25 · in In defense of complicated programming languages -
…disagree with that viewpoint too, which is fair enough, but it's really quite a different one. [1]: https://github.com/golang/go/issues/15292
comment by Beltalowda · 2022-01-23 · in Go is about to get faster -
…to the same object in a file system. --- Golang also seems vulnerable to the same issue https://github.com/golang/go/blob/d15481b8c7f5f73a8b987a0c1d... Line 78 checks that the path isn't a symlink (time-of-check). Then line 97 calls…
comment by howdydoo · 2022-01-21 · in Security vulnerability in Rust standard library -
Weird to not see any references to https://github.com/golang/go/issues/48409 / https://github.com/golang/proposal/blob/master/design/48409-... There's been a lot of back-and-forth on how to improve the tuning situation in go. See…
comment by vvern · 2022-01-12 · in Large-scale, semi-automated Go GC tuning -
…their library, it might be a good solution until Go itself has better GC management. [1] https://github.com/golang/go/issues/5049 [2] https://github.com/golang/go/issues/16843 [3] https://github.com/golang/go/issues/29696 [4]…
comment by atombender · 2022-01-12 · in Large-scale, semi-automated Go GC tuning -
https://github.com/golang/go/issues/44840
comment by icholy · 2022-01-10 · in Saving a Third of Our Memory by Re-Ordering Go Struct Fields (2020) -
…the order in the source code. So, currently, there is no way to force memory layout, other than, as https://github.com/golang/go/issues/10014#issuecomment-26346... says “defining the type using [n]byte and modifying the fields using the…
comment by Someone · 2022-01-10 · in Saving a Third of Our Memory by Re-Ordering Go Struct Fields (2020) -
Why Go doesn't do this by default: https://github.com/golang/go/issues/10014#issuecomment-91436... > It seems fine to me for the spec not to guarantee anything about struct field order in memory. The spec doesn't operate at that level. >…
comment by ferdowsi · 2022-01-10 · in Saving a Third of Our Memory by Re-Ordering Go Struct Fields (2020) -
…leaked even into the kernel-space configuration where it would do more straightforward damage. [1] https://github.com/golang/go/issues/20427#issuecomment-36001... [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
comment by mananaysiempre · 2022-01-04 · in C Runtime Overhead (2015) -
…post at [0], fix at [1]). [0]: https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/ [1]: https://github.com/golang/go/commit/a158382b1c9c0b95a7d41865...
comment by aw1621107 · 2022-01-03 · in C Runtime Overhead (2015) -
…it actually used enough stack to overflow. Without a guard page, that caused memory corruption. [1] https://github.com/golang/go/issues/20427
comment by scottlamb · 2022-01-03 · in C Runtime Overhead (2015) -
…behind the newest release to never be forced to do a major version update under time pressure. [0]: https://github.com/golang/go/wiki/MinorReleases
comment by cube2222 · 2022-01-01 · in Go Fuzzing -
…of things that some languages (in this case Go) may parse differently than some web proxies: https://github.com/golang/go/issues/25192#issuecomment-80625... And a more overall argument that putting this "vulnerability" on the language…
comment by ploxiln · 2021-12-26 · in I found (and fixed) a vulnerability in Python -
▲ 3
Golang: The Unreasonable Effectiveness of Cutstory by signa11 · 2021-12-23 · 0 comments
-
…languages, and should be used at the absolute minimum, or even omitted from a language entirely. https://github.com/golang/go/issues/45955#issuecomment-83235...
comment by svnpenn · 2021-12-23 · in Three Minor Features in Go 1.18 -
…real heap-allocated closure invocation on each loop. I think this is no longer true in Go 1.18, see https://github.com/golang/go/issues/14768#issuecomment-98175... .
comment by felixge · 2021-12-22 · in Generics facilitators in Go -
Yes, after some discussion and minor modifications (and removal of a few features): https://github.com/golang/go/discussions/47323 ... I understand the motivation for this new package, but it does seem like a large API surface to have…
comment by benhoyt · 2021-12-22 · in Three Minor Features in Go 1.18 -
There's a proposal for the Go 2 draft that addresses this: https://github.com/golang/go/issues/20803 https://go.googlesource.com/proposal/+/master/design/go2draf...
comment by geoka9 · 2021-12-17 · in Trying Out Generics in Go -
…reason is simple and compelling: It's too much to do all at once, and we might get it wrong." [0]: https://github.com/golang/go/issues/48918
comment by mfrw · 2021-12-15 · in Go 1.18 Beta 1 is available, with generics -
▲ 726
Go Replaces Interface{} with 'Any'story by brosciencecode · 2021-12-14 · 459 comments
-
To be fair to the GP poster, they may have been making a joke[1]. [1] https://github.com/golang/go/issues/9#issue-51275878
comment by nimih · 2021-12-09 · in Gopher – A 280B parameter language model -
…compiler code itself is well documented, and Go's code navigation tooling itself helps learning. https://github.com/golang/go/tree/master/src/cmd/compile
comment by ferdowsi · 2021-12-08 · in Hacking the Go compiler to add a new keyword -
The Go compiler is about as straightforward as it can get. Just read the source: https://github.com/golang/go
comment by melony · 2021-12-08 · in Hacking the Go compiler to add a new keyword -
…later, which can be installed manually from the website, or installed via apt with a custom PPA ( https://github.com/golang/go/wiki/Ubuntu ) Thanks! I was about to give up PD: Couldn't install it either with the new binaries: "package…
comment by juanse · 2021-12-05 · in Widdler is a single binary that serves up TiddlyWikis -
…later, which can be installed manually from the website, or installed via apt with a custom PPA ( https://github.com/golang/go/wiki/Ubuntu )
comment by bogwog · 2021-12-05 · in Widdler is a single binary that serves up TiddlyWikis