func to functional

Thanks to generics, there are some interesting new ways to program in Go. This article explains how we can use functional programming techniques like Map, Filter, and Reduce, and what kind of problems they might help us to solve.

What’s new in Go 1.23? Podcast

I was on episode 325 of the Go Time podcast, talking about What’s New in Go 1.23. Check it out!

Building static binaries with Go on Linux

One of Go's advantages is being able to produce statically-linked binaries [1]. This doesn't mean that Go always produces such binaries by default, however; in some scenarios it requires extra work to make this happen. Specifics here are OS-dependent; here we focus on Unix system...

A new GUI framework enters the ring

#​517 — July 30, 2024 Unsub  |  Web Version Go Weekly Cogent Core: A New GUI Framework for Go — A new GUI framework with a “code once and run everywhere” promise for multiple platforms. It aims to be simpler to use than Gio a...

Ep. 11: Enhancing Go Code with Effective Application Layer Tests

Introduction: Welcome to Episode 11 of our Ultimate Software Design series! In this episode, Bill delves into the intricacies of implementing robust application layer tests within Go projects, providing developers with essential strategies for creating scalable and maintainable s...

What’s New in Go 1.23: Iterators and reflect.Value.Seq

The Go 1.23 release candidates are out. That means it’s time for another entry in the What’s New in Go series where I talk about my contribution to this release. For Go 1.23, I proposed (but did not implement) four new methods: reflect.Value.Seq, reflect.Value.Seq2, r...

Backward compatibility, even for settings, has real costs

Iterators in Go

Iterators in Go are a neat way to write “lazy loops”, where we never generate more results than we actually use. Let’s see what that would look like in Go programs, and what new facilities it gives us in the standard library.

Ep. 3: Proper Prompt Formatting for Enhanced AI Model Performance

Introduction: Welcome to Episode 3 of our Intro to Generative AI series! In this episode, Daniel explores the critical aspect of prompt formatting when working with AI models, emphasizing how proper formatting can significantly enhance the quality of the AI’s responses and...

Go 1.22.5-2 and 1.21.12-2 Microsoft builds now available

A new Microsoft build released yesterday is now available for download. The post Go 1.22.5-2 and 1.21.12-2 Microsoft builds now available appeared first on Microsoft for Go Developers.