Nick Ripley reposted
Replying to @filippo.abyssdomain.expert
Anyway, read Russ Cox's take on AI tool use in the Go project. groups.google.com/g/golang-dev...
Nick Ripley
Nick Ripley reposted
Replying to @filippo.abyssdomain.expert
Anyway, read Russ Cox's take on AI tool use in the Go project. groups.google.com/g/golang-dev...
Nick Ripley reposted
Related #golang PSA: Gophers often mistakenly put a -u in 'go get -u foo', when they would have been better off with just 'go get foo'. 'go get foo' says to upgrade foo itself. It's shorthand for 'go get foo@upgrade' 'go get -u foo' says to *also* upgrade all the direct and indirect deps of foo.
PSA: go.sum is not a lockfile. You never need to look at go.sum. go.mod has everything you need.
Used some of my time off to finish a blog post that's been in my backlog for a while: two neat concurrency patterns from the standard library which avoid goroutine leaks by design: nsrip.com/posts/gorout...
Small contribution just before the Go 1.26 freeze: go.dev/cl/610815 removes the hard-coded 100ms sleep from the CPU profiler for most platforms. This will make it more efficient and unblock deeper call stacks. As a bonus, uncovered and fixed an 8 year old bug in the profiler go.dev/cl/722940 :)
Nick Ripley reposted
“The Green Tea Garbage Collector” by Michael Knyszek and Austin Clements — https://go.dev/blog/greenteagc #golang
blog.cloudflare.com/how-we-found... Fun post! Reminded me of a similar bug I wrote about in nsrip.com/posts/oneins...
Nick Ripley reposted
Go, SQL, and DTrace: a marriage made in heaven? New blog post! gaultier.github.io/blog/observe... #golang #dtrace #sql
Nick Ripley reposted
Ever wondered if it’s possible to use DTrace on a Go program? Turns out it’s super easy, barely an inconvenience! gaultier.github.io/blog/an_opti... #golang #dtrace #optimization #debugging
Nick Ripley reposted
Thanks @commaok.xyz for hosting @michael.express and I to talk about a fun bug in Go’s new Green Tea GC and the tools we used to investigate. sigpod.dev/6
A few ways to build Go programs with a modified compiler/runtime/standard library: nsrip.com/posts/patchr... Overlays in particular are pretty cool IMO
Nick Ripley reposted
New blog post! Debug Go core dumps with delve: export byte slices Not all bugs can easily be reproduced. Sometimes, all you have is a core dump. I had trouble figuring out how to save byte slice contents from memory into a file for further analysis with delve… michael.stapelberg.ch/posts/2024-1...
Nick Ripley reposted
Nick Ripley of @datadoghq.bsky.social wrote up something recently on our collaboration to squish bugs surfaced by frame pointer unwinding code in the Go runtime: nsrip.com/posts/clobbe...
You are up to date.