Jake Bailey @jakebailey.dev · Dec 13

Did something fun; used @tinygo.org to shove @mvdan.cc's wonderful gofumpt into @dsherret.bsky.social's amazing dprint formatter via a Wasm plugin. We previously used an "exec" plugin to do this with go tool, but it was slow to run, and worse in parallel (and... Windows 😑). Now it's fast!

38 likes 3 replies

?

Replies

Rodrigo Dias · Dec 14

67x speedup? That's the kind of optimization I live for.

Rodrigo Dias · Dec 13

Wasm plugins speeding up formatters? Clever.