High-Resolution Timers on Windows

The Go Windows port added support for high-resolution timers in Go 1.23, boosting the resolution of time.Sleep from ~15.6ms to ~0.5ms. The post High-Resolution Timers on Windows appeared first on Microsoft for Go Developers.

A compile-time function evaluation experiment

#​525 — October 1, 2024 Unsub  |  Web Version Go Weekly 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 co...

Using a separate Go module for your `tools.go`

In Managing your Go tool versions with go.mod and a tools.go, I mentioned how you can use a tools.go to track any dependencies your project needs for i.e. linting or go generates. This is a very useful pattern and until the proposal to add a // tool directive in go.mod lands, is...

Go 1.23.1-3 and 1.22.7-3 Microsoft builds now available

A new release of the Microsoft build of Go is now available for download. The post Go 1.23.1-3 and 1.22.7-3 Microsoft builds now available appeared first on Microsoft for Go Developers.

Fearless Concurrency Ep.2: Managing Threaded Programs and Data Races in Rust

Introduction: Welcome to Episode 2 of the Fearless Concurrency in Rust series! In this episode, Herbert Wolverson dives into the fundamentals of threading in Rust, demonstrating how to use Rust’s threading capabilities effectively while maintaining safety. The focus is on using...

Go and my realization about what I'll call the 'Promises' pattern

A type by any other name would smell as sweet..

#​524 — September 24, 2024 Unsub  |  Web Version Go Weekly What's in an (Alias) Name? — Generic alias types are coming to Go 1.24 (expected in February 2025) in line with this proposal, building on both type aliases and generics....

The blog has moved to maragu.dev

The blog has moved to maragu.dev.

Open source maintainers with little time and changes

Ep. 7: Enhancing AI with Message Chaining and Accuracy Scoring

Introduction: Welcome to the final episode of our Intro to Generative AI series! In this episode, Daniel Whitenack takes the concepts you’ve been learning and shows you how to apply advanced techniques like message chaining and factuality scoring to make your AI-driven syst...