Prep: Compile-Time Function Evaluation for Go — “By using prep.Comptime , you can evaluate functions at build time, replacing them with their computed results. Just like comptime from Zig. Except it’s not.” It admits it’s “pure blasphemy”, but you can’t deny it’s an interesting idea, though it has limitations and toolexec was not intended to support arbtirary source rewriting.
Mark / pijng
|
Some Go Web Dev Notes — We’re always fans of Julia’s earnest and helpful but no-nonsense posts and this quick grab bag of thoughts, tips and observations is another good one. She always opens our eyes to something new.
Julia Evans
|
Reduce Your Data Streaming and Kafka Costs by 80+% — Learn how WarpStream's zero disk, stateless architecture and BYOC model not only reduce Kafka costs by 80% or more, but makes data streaming easier and more secure. Sign up for a free WarpStream account and get $400 in credits that never expire.
WarpStream sponsor
|
📉 A Guide to the Go Garbage Collector — Not a new page – it dates back to Go 1.19 – but one I’d somehow not encountered before and acts as a living document explaining how Go’s garbage collection system works, complete with helpful interactive diagrams.
Go Documentation
|
Joining Errors in Go — A helpful look at two approaches: using multiple %w s, and errors.Join (as introduced in Go 1.20).
Paschalis Tsilias
|
Ebitengine v2.8.0: The Go 2D Game Engine — Long one of our favorite Go ecosystem projects, Ebitengine takes another gentle step forward with support for 32 bit float format audio and shader customization improvements.
Hajime Hoshi
|
🎁 And one extra for fun.. |
|
https://golangweekly.com/issues/525