Klaus Post
banner
klauspost.com
Klaus Post
@klauspost.com
Making Go stuff go brrrrrrrrrrrrrrrrrrr
Compression library for #golang v1.18.2 released. If you are running v1.18.1 (specifically) please upgrade.
December 1, 2025 at 1:30 PM
Now even more #golang msgp codegen in v1.5.0. Now with generics. Generates code 1000x faster than your LLM! :D

Give it a spin: github.com/tinylib/msgp...
October 27, 2025 at 3:14 PM
Released v1.18.1 of the #golang compression library. You know what to do! Link as always github.com/klauspost/co...
October 23, 2025 at 4:32 PM
Un-archived github.com/klauspost/cr... repo after getting a bit more than 2x on IEEE CRC32 using AVX512. Will submit upstream to #golang, but if you want to test it out early check out the repo.
July 22, 2025 at 9:53 AM
New #golang cpuid release. As always github.com/klauspost/cp...
July 14, 2025 at 8:49 AM
🙄 #golang
June 19, 2025 at 2:49 PM
This kinda implies that it is all 32 bit systems?
June 3, 2025 at 2:40 PM
most are more like this....
May 17, 2025 at 9:28 AM
Would a #golang MinLZ compressor level with a better "worst case" speed be useful? Overly dramatic example...
May 17, 2025 at 9:27 AM
Realizing I needed to add a mutex to protect an RNG call, I almost ended up with this.... Need more coffee 🫘
May 15, 2025 at 2:37 PM
Sent in in. Now I can only 🤞
May 2, 2025 at 1:32 PM
Now @klauspost.com - wish that my old profile link would redirect to my new one, though. @bsky.app
April 22, 2025 at 2:40 PM
cmp.Or is so neat for error handling in #golang - just remember that *all* params are evaluated in order, and first error is returned.
April 16, 2025 at 10:17 AM
April 8, 2025 at 12:15 PM
Great feedback! I presume you are thinking of this. Right is better compression, so Snappy is worst here.

Snappy doesn't have concurrent stream compression, so it falls behind in speed there. TBH it doesn't have too much relevance other than wide compatibility.
March 18, 2025 at 7:17 PM
New #golang compression package release. Mainly focused on non-assembly performance. Now uses "unsafe" - use "nounsafe" tag to disable.

As always here: github.com/klauspost/co...
February 19, 2025 at 2:36 PM
Average shopping experience on @bandcamp.com
February 7, 2025 at 11:35 AM
😜
February 7, 2025 at 11:24 AM
Still tweaking...
January 22, 2025 at 2:43 PM
Teaser for next year :)
December 28, 2024 at 5:25 PM
Double negative... Most intuitive example... I *guess* this means `if (s3:if-none-match == null) == false`
November 26, 2024 at 5:58 PM
At least I am reasonably good at taking weekends off ;)
November 25, 2024 at 5:43 PM
Love how javascript games are basically open source (ok, "source available" for the zealots). Let me just add some more coins.....
November 18, 2024 at 9:55 AM
LOL - ChatGPT... How many mistakes can you spot ;)
November 14, 2024 at 6:33 PM
This issue feels like a #golang job interview.. So I made it one :D

Here if you want a serious challenge (less allocs = better): go.dev/play/p/M-O6r...
November 14, 2024 at 6:15 PM