Advertisement · 728 × 90

Posts by Klaus Post

Not an expert, but it seems to use optimistic (single threaded) boost clock for the (multithreaded) rate/GHz which clearly mismatches. A rate/W would make more sense, but you'd have to measure since TDP is given differently per vendor.

2 weeks ago 1 0 0 0
Post image
3 weeks ago 12 0 0 0

Aren't you also posting them here? What am I "missing"?

1 month ago 0 0 0 0

My own approach for repos I don't intend to maintain is to archive, and when available link the fork on top of the README. Seems fair to all involved.

2 months ago 3 0 1 0

An http . HandlerFunc implements http . Handler - so you are getting a Handler back as well. If you need to convert the function type it should be trivial.

2 months ago 0 0 1 0
Preview
GitHub - klauspost/stdgozstd: Zstandard for Golang Stdlib (do not use) - https://github.com/golang/go/issues/62513 Zstandard for Golang Stdlib (do not use) - https://github.com/golang/go/issues/62513 - klauspost/stdgozstd

Proposal for stdlib #golang compress/zstd implementation: github.com/klauspost/st...

2 months ago 2 0 0 0

Maybe there will be cake if you fix it? ;)

2 months ago 0 0 1 0
Advertisement
Post image

New v1.18.4 release of #golang compression library adds zstd compression to gzhttp middleware. Also zstd can now have some options modified on reset. See more at: github.com/klauspost/co...

2 months ago 9 0 1 0

Cool! But can't help notice it gets darker instead of more 'grey' with distance. GL HF with your game!

2 months ago 2 0 0 0
Post image

Well, hello there follow GenX'er.

2 months ago 1 0 0 0
Preview
GitHub - zeebo/xxh3: XXH3 algorithm in Go XXH3 algorithm in Go. Contribute to zeebo/xxh3 development by creating an account on GitHub.

Recommended neat, fast #golang xxh3 implementation: New release, now with arm64 NEON: github.com/zeebo/xxh3

2 months ago 10 3 1 0

I actually thinks it is under-selling the readability gains from this.

Interfaces are "interesting" - and probably the only non-obvious aspect.

2 months ago 5 0 0 0
Preview
Release v1.18.3 · klauspost/compress Downstream CVE-2025-61728 See golang/go#77102 Full Changelog: v1.18.2...v1.18.3

Released #golang compression v1.18.3 containing upstream CVE-2025-61728 fix:

github.com/klauspost/co...

2 months ago 3 0 0 0

Wish there was a way to regression tests. If you do a PR and are willing to do followups we could guineapig on my compress/zip - after all it has a higher release schedule.

That is probably the best I can offer to make it smooth into the stdlib.

3 months ago 1 0 0 0

You are brave ;) So many implementations out there - always worried that a random Java implementation will break. But thanks for taking it on! <3

3 months ago 1 0 1 0
Preview
GitHub - minio/zipindex: Package for indexing zip files and storing a compressed index Package for indexing zip files and storing a compressed index - minio/zipindex

Slightly different approach: github.com/minio/zipindex

It will parse the EOCD and allow keeping a compact index so individual files can be read with a single RANGE get. Allows servers to list/serve files within a zip instantly.

3 months ago 0 0 0 0
Add Leopard16 GFNI on amd64 by klauspost · Pull Request #317 · klauspost/reedsolomon This adds GFNI to leopard 16 encoding. Example before/after: λ benchmark -k 1000 -m 200 -size=1000000 -codec leopard16 -gfni=false -avx-gfni=false Benchmarking 1 block(s) of 1000 data (K) and 200 p...

Ended up spending a the evening getting GFNI into the leopard gf16 code: github.com/klauspost/re...

3 months ago 1 0 0 0
Advertisement
Post image

New #golang Reed-Solomon release. Contains new progressive field decoding and some significant speedups. Check it out: github.com/klauspost/re...

3 months ago 5 1 1 0
Post image

Vibe Coders will understand.

3 months ago 1 0 0 0
Post image

Compression library for #golang v1.18.2 released. If you are running v1.18.1 (specifically) please upgrade.

4 months ago 2 1 0 0

func ifElse[V any](cond bool, trueVal, falseVal V) V {
if cond {
return trueVal
}
return falseVal
}

At least it is more readable than ? :

5 months ago 2 0 0 0
Post image

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...

5 months ago 0 0 0 0

Kenneth B is in way over his head ;)

5 months ago 0 0 0 0
Post image

Released v1.18.1 of the #golang compression library. You know what to do! Link as always github.com/klauspost/co...

5 months ago 9 1 1 0
Advertisement

Vibe coding is no joke. With good guidance and review it is extremely powerful.

7 months ago 1 0 0 0

TIL that you can compress .zip files with Zstandard (pkware.cachefly.net/webdocs/case... compression method 93), and that libzip and 7-Zip support that.

libzip.org/news/release...
github.com/ip7z/7zip/re...

7 months ago 36 8 2 0

Why does my custom domain handle switch to "⚠ Invalid Handle" every month or so? @support.bsky.team

7 months ago 0 0 0 0
modernize package - golang.org/x/tools/gopls/internal/analysis/modernize - Go Packages

Whoever did #golang "modernize" - thank you!

pkg.go.dev/golang.org/x...

7 months ago 1 4 0 0
Faster Reed-Solomon Erasure Coding in Java with Go & FFM Backblaze’s Java-based Reed-Solomon Erasure Coding library is great tech, but comparatively slow. Let’s add some optimized Go, and get a whopping speedup.

Excellent blog post about hooking up Go into Java for erasure coding:

kohlschuetter.github.io/blog/posts/2...

8 months ago 8 3 0 1
Benchmark of IEEE CRC32.

Benchmark of IEEE CRC32.

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.

8 months ago 6 0 0 0