Telemetry in Go 1.23 and beyond 👾
https://go.dev/blog/gotelemetry
#go #article #goblog
Go 1.23 provides a new way for you to help improve the Go toolchain. By enabling telemetry uploading, you can elect to share data about toolchain programs and their usage with the Go team. This data will help Go contributors fix bugs, avoid regressions, and make better decisions.
https://go.dev/blog/gotelemetry
#go #article #goblog
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5 3👀1
Building LLM-powered applications in Go ❤️
The post explores various methods for setting up a Retrieval-Augmented Generation (RAG) server using different toolchains: Gemini + Weaviate, LangChain, and Genkit. Go’s inherent strengths appear to align well with the demands of the modern LLM/RAG ecosystem.
https://go.dev/blog/llmpowered
#go #article #goblog
The post explores various methods for setting up a Retrieval-Augmented Generation (RAG) server using different toolchains: Gemini + Weaviate, LangChain, and Genkit. Go’s inherent strengths appear to align well with the demands of the modern LLM/RAG ecosystem.
https://go.dev/blog/llmpowered
#go #article #goblog
Please open Telegram to view this post
VIEW IN TELEGRAM
go.dev
Building LLM-powered applications in Go - The Go Programming Language
LLM-powered applications in Go using Gemini, langchaingo and Genkit
👍5 4🔥1
What's in an (Alias) Name? 🤓
Generic alias types are set to arrive in Go 1.24 (anticipated in February 2025) as part of this proposal, expanding on both type aliases and generics. One key use case for type aliases is enabling refactoring without breaking compatibility. Robert breaks down the fundamentals of type aliases and explains why integrating them with generics required additional effort.
https://go.dev/blog/alias-names
#go #article #goblog
Generic alias types are set to arrive in Go 1.24 (anticipated in February 2025) as part of this proposal, expanding on both type aliases and generics. One key use case for type aliases is enabling refactoring without breaking compatibility. Robert breaks down the fundamentals of type aliases and explains why integrating them with generics required additional effort.
https://go.dev/blog/alias-names
#go #article #goblog
Please open Telegram to view this post
VIEW IN TELEGRAM
go.dev
What's in an (Alias) Name? - The Go Programming Language
A description of generic alias types, a planned feature for Go 1.24
Go Developer Survey 2024 H2 Results ❤️
The newest survey results from the Go community have been published. Linux and macOS are the most popular operating systems, VS Code and GoLand top the list for IDEs, and AWS stands out among cloud services.
Full statistics
#go #survey #goblog #go@digest_golang #survey@digest_golang #goblog@digest_golang
The newest survey results from the Go community have been published. Linux and macOS are the most popular operating systems, VS Code and GoLand top the list for IDEs, and AWS stands out among cloud services.
Full statistics
#go #survey #goblog #go@digest_golang #survey@digest_golang #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥4👍3❤2
Go 1.24 is released! ❤️
Go 1.24 comes with many improvements over Go 1.23. Here are some of the notable changes; for the full list, refer to the release notes.
The main changes in this version are:
* The go tool mechanism for tracking tool dependencies
* The use of Swiss Tables to speed up map operations
* Experimental testing/synctest package for testing concurrent code
* Improved WebAssembly support
* and much more, for details see the link: https://go.dev/blog/go1.24
#go #go@digest_golang #goblog #goblog@digest_golang
Go 1.24 comes with many improvements over Go 1.23. Here are some of the notable changes; for the full list, refer to the release notes.
The main changes in this version are:
* The go tool mechanism for tracking tool dependencies
* The use of Swiss Tables to speed up map operations
* Experimental testing/synctest package for testing concurrent code
* Improved WebAssembly support
* and much more, for details see the link: https://go.dev/blog/go1.24
#go #go@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥6❤3 2👍1
Extensible Wasm Applications with Go 📆
Go 1.24 enhances its WebAssembly (Wasm) capabilities with the addition of the
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Go 1.24 enhances its WebAssembly (Wasm) capabilities with the addition of the
go:wasmexport
directive and the ability to build a reactor for WebAssembly System Interface (WASI). These features enable Go developers to export Go functions to Wasm, facilitating better integration with Wasm hosts and expanding the possibilities for Go-based Wasm applications.Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
1❤4🔥3👍2
Testing concurrent code with testing/synctest 🤓
One of Go’s signature features is built-in support for concurrency. Goroutines and channels are simple and effective primitives for writing concurrent programs.However, testing concurrent programs can be difficult and error prone.
In Go 1.24, the go team are introducing a new, experimental testing/synctest package to support testing concurrent code. This post will explain the motivation behind this experiment, demonstrate how to use the synctest package, and discuss its potential future.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
One of Go’s signature features is built-in support for concurrency. Goroutines and channels are simple and effective primitives for writing concurrent programs.However, testing concurrent programs can be difficult and error prone.
In Go 1.24, the go team are introducing a new, experimental testing/synctest package to support testing concurrent code. This post will explain the motivation behind this experiment, demonstrate how to use the synctest package, and discuss its potential future.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍2🔥2
Faster Go maps with Swiss Tables 📆
Go 1.24 includes a completely new implementation of the built-in map type, based on the Swiss Table design. In this blog post we’ll look at how Swiss Tables improve upon traditional hash tables, and at some of the unique challenges in bringing the Swiss Table design to Go’s maps.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Go 1.24 includes a completely new implementation of the built-in map type, based on the Swiss Table design. In this blog post we’ll look at how Swiss Tables improve upon traditional hash tables, and at some of the unique challenges in bringing the Swiss Table design to Go’s maps.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
1👍3🔥3
From unique to cleanups and weak: new low-level tools for efficiency ❤️
An overview of two new features in Go 1.24’s garbage collector: runtime.AddCleanup and weak.Pointer. Cleanups work similarly to finalizers but avoid some of their issues by not reviving the objects they are linked to. Weak pointers allow referencing objects without stopping them from being garbage collected.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
An overview of two new features in Go 1.24’s garbage collector: runtime.AddCleanup and weak.Pointer. Cleanups work similarly to finalizers but avoid some of their issues by not reviving the objects they are linked to. Weak pointers allow referencing objects without stopping them from being garbage collected.
Link to the article
#go #go@digest_golang #article #article@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
go.dev
From unique to cleanups and weak: new low-level tools for efficiency - The Go Programming Language
Weak pointers and better finalization in Go 1.24.
1🔥4❤3👍2