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
-
…sequence numbers to delete messages sent immediately after the channel is established. ( https://github.com/golang/go/issues/64784 ) OpenSSH also has released an update: https://seclists.org/oss-sec/2023/q4/291
comment by ahlCVA · 2023-12-18 · in Vulnerability in golang.org/x/crypto/ssh -
You can start with Go's standard library: https://github.com/golang/go/tree/master/src
comment by devnull3 · 2023-12-09 · in Looking for elegant code bases written in Golang -
…to change the data a little. -- 1: https://github.com/alecthomas/go_serialization_benchmarks 2: https://github.com/golang/go/issues/29766#issuecomment-45492... -- 3: https://github.com/goccy/go-json 4:…
comment by emmanueloga_ · 2023-12-04 · in Gobs of data (2011) -
There's going to be experimental support for built-in iteration in 1.22: https://github.com/golang/go/issues/61897
comment by pstuart · 2023-12-03 · in Optimizing Go string operations with practical examples -
…Ory Fosite is a great alternative too https://github.com/ory/fosite Support PKCE #59835 in x/oauth2 https://github.com/golang/go/issues/59835 Scott Brady's content is great for undetstanding the topic SPA Identity and Access Control with…
comment by adeptima · 2023-12-02 · in Easy to use OpenID Connect client and server library written for Go -
…For netpoll, it looks to be just a cyclic epoch counter, so the size doesn't really matter: https://github.com/golang/go/blob/4956c3437bd2f4448bcec51321... For use in malloc, it's assumed to be >=10 and verified at init:…
comment by yencabulator · 2023-11-27 · in Storing data in pointers -
…Go folks are smart, and must be doing this for a reason. Can anyone explain the thinking here? [0] https://github.com/golang/go/blob/master/src/runtime/tagptr_...
comment by marcus_holmes · 2023-11-27 · in Storing data in pointers -
…well (same as you'd have to do in Go))), otherwise it would cause both portability and security ( https://github.com/golang/go/issues/2630 ) issues. You should probably be using a b-tree if you aren't willing to sort it yourself. I think…
comment by Seb-C · 2023-11-26 · in Making games in Go for absolute beginners -
…well (same as you'd have to do in Go))), otherwise it would cause both portability and security ( https://github.com/golang/go/issues/2630 ) issues. You should probably be using a b-tree if you aren't willing to sort it yourself. > modding…
comment by thegeekpirate · 2023-11-26 · in Making games in Go for absolute beginners -
…We've built this code navigation infra on top of Zoekt into Sourcegraph. Example: https://sourcegraph.com/github.com/golang/go/-/blob/src/net/... Docs: https://docs.sourcegraph.com/code_navigation/explanations/pr...
comment by beyang · 2023-11-21 · in Code Search at Google: Han-Wen and Zoekt -
…it occurs? Not really. > such as Go's os.Setenv (Go issue) Here is the link to the "issue": https://github.com/golang/go/issues/63567 What kind of actual real life production code would continuously set envvars while simutaneously calling…
comment by usrbinbash · 2023-11-20 · in Setenv Is Not Thread Safe and C Doesn't Want to Fix It -
…this. You're welcome to contribute. It took me a minute to find these proposals, as examples: https://github.com/golang/go/issues/57644 https://github.com/golang/go/issues/19412 I interpret your comments as propagating FUD in bad faith.
comment by xyzzy_plugh · 2023-11-19 · in NilAway: Practical nil panic detection for Go -
…panics in production. There was a proposal to add this to the runtime, but it got turned down: https://github.com/golang/go/issues/32333 Most of the arguments against the proposal seem to be that it is hard to determine what is safe to run…
comment by __turbobrew__ · 2023-11-18 · in NilAway: Practical nil panic detection for Go -
…see any particular mention of syntax decision to performance in the initial spec document [2]. [2] https://github.com/golang/go/blob/18c5b488a3b2e218c0e0cf2a7d...
comment by lifthrasiir · 2023-11-15 · in A decade of developing a programming language -
…https://github.com/microsoft/vcpkg https://github.com/PowerShell/PowerShell https://github.com/golang/go https://github.com/Netflix/zuul
comment by Always_Anon · 2023-11-15 · in Did Reddit just denylist all IPs? -
…rather than curiosity. To me, it just asks for examples. I guess that's a matter of opinion then. > https://github.com/golang/go/issues/60078 is where this is discussed. We can discuss semantics here, but a breaking change, to me, is one…
comment by usrbinbash · 2023-11-11 · in Fourteen Years of Go -
…hostility and disbelief rather than curiosity. > Please explain what exactly that change breaks. https://github.com/golang/go/issues/60078 is where this is discussed. Again, I _agree_ with this change, but I'm pointing out that it is a…
comment by cpuguy83 · 2023-11-11 · in Fourteen Years of Go -
…introduced a big breaking change in the x.509 standard library that caused a lot of scrambling. https://github.com/golang/go/issues/39568 As far as I know every other language standard library still allows CN to be used to validate the…
comment by davewritescode · 2023-11-11 · in Fourteen Years of Go -
…and I'll never forget that this language has a dumb name and it could have had a much better name: https://github.com/golang/go/issues/9#issuecomment-66047467
comment by jordigh · 2023-11-11 · in Fourteen Years of Go -
…it's one unusual case, where the code is split in a multitude of mutually recursive functions. [0]: https://github.com/golang/go/blob/master/src/go/parser/parse...
comment by mbivert · 2023-11-11 · in Fourteen Years of Go -
…https://go.dev/blog/defer-panic-and-recover , which says: And another quick googling turns up this: https://github.com/golang/go/issues/26799 which says: However, this is a poor example and a misuse of panic and recover as exceptions. See…
comment by usrbinbash · 2023-11-11 · in Fourteen Years of Go -
If you mean OMP-style for loops, they most likely won't add them: [0]. [0] https://github.com/golang/go/issues/24210#issuecomment-36979...
comment by Joker_vD · 2023-11-08 · in Fixing the other Go loop bug -
…allotment that properly tuning GOMAXPROCS was a significant latency and throughput improvement." https://github.com/golang/go/issues/33803#issuecomment-14308...
comment by riv991 · 2023-11-08 · in Go, Containers, and the Linux Scheduler -
…optimize it. There was once a proposal for this, but it's really against Go's design as a language. https://github.com/golang/go/issues/21536
comment by cbarrick · 2023-11-05 · in Building a high performance JSON parser -
…Here are my top10 results: https://go.dev/ https://en.wikipedia.org/wiki/Go_(programming_language) https://github.com/golang/go https://de.wikipedia.org/wiki/Go_(Programmiersprache) https://gobyexample.com/ https://twitter.com/golang…
comment by usrbinbash · 2023-11-03 · in Why people in Google hate Go? -
…at all, there is an astounding amount of lefacy stuff around, such as this issue from 2021: https://github.com/golang/go/issues/46899
comment by janosdebugs · 2023-10-28 · in After 28 years, SSLv2 is still not gone from the internet -
…in itself for 8 years. Notably, this now allows for generics to be used in the compiler. [0]: https://github.com/golang/go/issues/54265
comment by thaliaarchi · 2023-10-26 · in Running the "Reflections on Trusting Trust" Compiler -
…than the app does. So no, I wouldn't say every language needs to do that. Golang definitely didn't https://github.com/golang/go/issues/36435
comment by viraptor · 2023-10-25 · in An aborted experiment with server Swift -
This does appear to be the plan: https://github.com/golang/go/issues/56539#issuecomment-13325... It would be up to the implementation whether the default result from MultipathTCP is on or off, and then programs could override that with…
comment by rkangel · 2023-10-25 · in Mptcp: An overlooked new feature in Go 1.21 -
…support it yet. Here's the relevant issue, including some perspective by caddy's lead developer: https://github.com/golang/go/issues/32204
comment by apitman · 2023-10-22 · in Nghttp3 1.0.0 – HTTP/3 library written in C -
…called 'sum types' and that's what Go lacks. See some bikeshedding and ongoing discussion [here]( https://github.com/golang/go/issues/57644 ).
comment by aldanor · 2023-10-20 · in Banging errors in Go -
…error-like struct pointers from functions - you're supposed to return an "error" interface Per https://github.com/golang/go/wiki/CodeReviewComments#interfa... : Go interfaces generally belong in the package that uses values of the…
comment by the_gipsy · 2023-10-20 · in Banging errors in Go -
…calls Reset[1], which calls readHeader[2], which the name should tell you what its doing. --- 0: https://github.com/golang/go/blob/go1.21.3/src/compress/gzip... 1: https://github.com/golang/go/blob/go1.21.3/src/compress/gzip... 2:…
comment by imran-iq · 2023-10-20 · in Banging errors in Go -
…proposals aimed to tackle error handling ergonomics that it has its own label in the bug tracker. https://github.com/golang/go/issues?q=+is%3Aissue+label%3Aer...
comment by jiripospisil · 2023-10-19 · in Banging errors in Go -
The comments on this GitHub issue include links to the changes in the golang code review system: https://github.com/golang/go/issues/17490
comment by favorited · 2023-10-17 · in Getaddrinfo() on glibc calls getenv(), oh boy -
…the commit stream. The release notes are much more shaped up by the time RC rolls around (see https://github.com/golang/go/wiki/Go-Release-Cycle )
comment by eliben · 2023-10-16 · in Better HTTP server routing in Go 1.22 -
…It remains a > key design goal to avoid any semantics that depend on > registration order. [1]: https://github.com/golang/go/issues/61410 [2]: https://github.com/golang/go/discussions/60227
comment by numbsafari · 2023-10-16 · in Better HTTP server routing in Go 1.22 -
…handler. Why not make it an actual argument, then using already existing constants is easier. [1] https://github.com/golang/go/issues/61410#issuecomment-16580...
comment by gempir · 2023-10-16 · in Better HTTP server routing in Go 1.22 -
…whole process? Every other OS gets that one right, but on Linux even big projects like Go struggle: https://github.com/golang/go/issues/1435 Btw: I say that at someone who is a huge fan of eBPF, even though I have to admit that it really…
comment by tete · 2023-10-14 · in OpenBSD PF-based firewalls suffer differently from denial of service attacks -
…and it looks like there's going to be a serious overhaul of its capabilities and implementation: https://github.com/golang/go/discussions/63397 -- I'm looking forward to seeing this land.
comment by pstuart · 2023-10-12 · in A Journey building a fast JSON parser and full JSONPath -
…no cost. And as he points out - the current alternatives for funding are totally inadequate. 1. https://github.com/golang/go/discussions/63397
comment by zoogeny · 2023-10-08 · in The Economics of Programming Languages [video] -
▲ 64
Go JSON/v2 Packagestory by philosopher1234 · 2023-10-06 · 9 comments
-
▲ 2
Encoding/JSON/v2 proposal for Gostory by badrequest · 2023-10-05 · 0 comments
-
▲ 26
Go 4x faster: wrap your existing tight loops in functions till a compiler fixstory by reportaman · 2023-10-03 · 5 comments
-
…some thread-local features without any thread-local requirements to the running environment. [1]: https://github.com/golang/go/blob/master/src/cmd/compile/abi...
comment by Leotard6963 · 2023-10-03 · in Show HN: A new stdlib for Golang focusing on platform native support -
…they don't. I haven't yet bothered to try and understand why that's the case. Why can't they use the github.com/golang/go link instead? (no pun, genuinely wondering)
comment by dharmit · 2023-10-03 · in Show HN: A new stdlib for Golang focusing on platform native support -
…(as decided by the scheduler attached). you can find more details in the project ROADMAP.md[2] [1]: https://github.com/golang/go/blob/352c8835e7609ad72872b5a63b... [2]: https://github.com/primecitizens/pcz/blob/master/ROADMAP.md
comment by Leotard6963 · 2023-10-03 · in Show HN: A new stdlib for Golang focusing on platform native support -
This is a more recent proposal, and at this time more likely to get traction: https://github.com/golang/go/issues/57644 As stated in that proposal, the interaction between what people want from “enums,” “discriminated unions,” “sum types,”…
comment by ncruces · 2023-09-30 · in Compile-time safety for enumerations in Go -
Here is an issue tracking a possible fix to this: https://github.com/golang/go/issues/19412
comment by maxekman · 2023-09-29 · in Compile-time safety for enumerations in Go -
…https://github.com/kubernetes/kubernetes/blob/1020678366f741... https://github.com/golang/go/blob/6cf6067d4eb20dfb3d31c0a8cc...
comment by blindseer · 2023-09-27 · in Rust vs Go: A Hands-On Comparison