Advertisement · 728 × 90

Posts by Michael Knyszek

I will add though, I agree with "messy bag of types." 😂 I'm just not sure how they would avoid it without giving something up.

2 months ago 2 0 1 0

Perhaps I'm missing something?

2 months ago 0 0 1 0

Hm, I'm not sure that works. Then, the vector types have to be actually different types.

That is, amd64.Uint64x2 would be different from arm64.Uint64x2, which hurts portability. And you can't just alias the two types because their method sets are different.

2 months ago 0 0 1 0
Preview
simd/archsimd: architecture-specific SIMD intrinsics under a GOEXPERIMENT · Issue #73787 · golang/go Update (12/16/2025): The AMD64 low-level SIMD package is now available in Go 1.26 RC1 under GOEXPERIMENT=simd. Also, the package is renamed to simd/archsimd, per #76473,. See #73787 (comment) . Upd...

Don't mean to speak for the authors just sharing from what's already been stated. The public proposal is pretty up-front about this. It's in the design goals (and immediately following) section.

github.com/golang/go/is...

2 months ago 0 0 1 0

The goal is that the types are shared across platforms, but supported methods on those types are best-effort (no emulation, but for example 'Add' will be called 'Add' everywhere).

This means *some* amount of portability, even at the lowest level. Separate packages would give up these benefits.

2 months ago 2 0 1 0

Indeed... 😂 github.com/golang/go/is...

3 months ago 4 0 0 0

I've been toying with ideas on how to make the generic version public without waiting on a v2. Hopefully I'll be able to get something out in the near future. 😅 This certainly adds new motivation!

4 months ago 6 0 1 0

This is mostly the same content as the blog post (go.dev/blog/greente...), just in video form.

4 months ago 1 0 0 0
GopherCon 2025 - Advancing Go Garbage Collection with Green Tea - Michael Knyszek
GopherCon 2025 - Advancing Go Garbage Collection with Green Tea - Michael Knyszek YouTube video by Gopher Academy

My talk from GopherCon 2025 about Green Tea is up on YouTube! www.youtube.com/watch?v=gPJk...

4 months ago 34 11 1 0

“Go’s Sweet 16” by Austin Clements, for the Go team — https://go.dev/blog/16years

#golang

4 months ago 43 19 1 2
Advertisement
I'm Independently Verifying Go's Reproducible Builds Introducing Source Spotter, a Go Checksum Database auditor and Go toolchain reproducer

Happy to see someone outside Google rebuild/verify Go toolchains. Thanks @agwa.name! www.agwa.name/blog/post/ve...

"So far, Source Spotter has successfully reproduced every toolchain since Go 1.21.0, for every architecture and operating system. As of publication time, that's 2,672 toolchains!"

5 months ago 77 7 0 0
Gerrit Code Review

For some added fun, also see go.dev/cl/715362, wherein I discover that VPCOMPRESSQ is horrifically slow on AMD Zen 4, but only with a memory destination.

And thanks to @lemire.bsky.social for writing about this, which made this much faster to track down!

5 months ago 9 2 0 0

“The Green Tea Garbage Collector” by Michael Knyszek and Austin Clements — https://go.dev/blog/greenteagc

#golang

5 months ago 54 17 1 3

I can certainly see how that would be frustrating. I referenced the closed-as-dupe issues in the new issue as well, thanks for pointing them out!

5 months ago 2 0 0 0

Filed github.com/golang/go/issues/75967.

5 months ago 1 0 0 0

Not to speak for the person who closed it, but it's probably still accurate that nobody plans to work on it in the near future. However, opening a proper the feature request or proposal and leaving it open seems reasonable.

5 months ago 1 0 2 0

There might just be a misunderstanding here. That issue was about naming a flag that didn't end up making it in. In that context, it makes sense to close the issue, I think.

5 months ago 0 0 1 0

I'd love to hear from folks about your experiences. Do you use execution tracing often. If not, is it due to lack of need, lack of documentation, missing information, tooling issues, etc?

6 months ago 5 1 2 0

Go's execution tracer is a woefully underutilized tool. It contains tons of information about what is happening at any given moment that you won't get with a profile.

In addition to showing flight recording capabilities, this post provides a nice example of how to use tracing to diagnose a problem.

6 months ago 30 9 1 0
Advertisement

“Flight Recorder in Go 1.25” by Carlos Amedee and Michael Knyszek — https://go.dev/blog/flight-recorder

#golang

6 months ago 43 11 0 2
Testing Time (and other asynchronous code) - Damien Neil | GopherCon EU 2025
Testing Time (and other asynchronous code) - Damien Neil | GopherCon EU 2025 YouTube video by GopherCon Europe

The GopherCon EU videos are online. I really enjoyed @misago.org’s about testing/synctest. But there were so many good talks, maybe watch them all?

youtu.be/oIC3zhTAOsY

#gopherconeu #golang

7 months ago 12 5 0 0
Faster Go Maps With Swiss Tables - Michael Pratt | GopherCon EU 2025
Faster Go Maps With Swiss Tables - Michael Pratt | GopherCon EU 2025 YouTube video by GopherCon Europe

My GopherCon EU talk about Swiss Table maps is now available!

youtu.be/aqtIM5AK9t4

7 months ago 25 9 0 0

Nice!!

7 months ago 1 0 0 0
Post image

What if Go’s garbage collector could just run faster?

Join @michael.express from the Go Team for a deep dive into Green Tea — a new experimental parallel mark algorithm designed to speed up Go’s garbage collector through better cache locality and SIMD.

www.gophercon.com/agenda/sessi...

10 months ago 9 3 0 0
Preview
Significant Bits | Read/Write/Nil with Michael Knyszek and Michael Pratt Please read important erratum at end of these notes!Astute listeners will notice that this is the first episode in over a year. I recorded not one but two awesome interviews...and then failed to ed...

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

8 months ago 25 10 1 0
Preview
runtime: green tea garbage collector · Issue #73581 · golang/go Green Tea 🍵 Garbage Collector Authors: Michael Knyszek, Austin Clements Updated: 2 May 2025 This issue tracks the design and implementation of the Green Tea garbage collector. As of the last update...

Please try it... 🙏 Instructions here: github.com/golang/go/is...

11 months ago 17 2 0 0
Advertisement
Preview
runtime: green tea garbage collector · Issue #73581 · golang/go Green Tea 🍵 Garbage Collector Authors: Michael Knyszek, Austin Clements Updated: 2 May 2025 This issue tracks the design and implementation of the Green Tea garbage collector. As of the last update...

New experimental garbage collector for Go programs! github.com/golang/go/is...

11 months ago 123 41 2 2

is that a pen plotter drawing by Michael Fogleman, maybe? (www.michaelfogleman.com/plotter/)

1 year ago 1 0 1 0

Agreed. It's already a niche tool and having it actually cause a real problem is likely even rarer than that.

It could be useful to us working on std, I guess?

1 year ago 0 0 0 0

The sketch doesn't currently report issues related to the tiny allocator, but yeah, I'm thinking that such a GODEBUG could.

1 year ago 0 0 0 0