Если вы, как и я, задавались вопросом почему
database/sql совсем не развивается и имеет кучу нерешённых проблем, то вот чем занимается его maintainer: https://github.com/kardianos/primovivendi/blob/e5d36c368cc2b16ad0b3ac2acd746dd0e4e9b561/book1-2/outline.mdGitHub
primovivendi/book1-2/outline.md at e5d36c368cc2b16ad0b3ac2acd746dd0e4e9b561 · kardianos/primovivendi
Procedural Objectivism. Contribute to kardianos/primovivendi development by creating an account on GitHub.
🤣24🤔8😢4👍3
Любопытная дискуссия про возврат ошибок из итераторов: https://github.com/golang/go/issues/71901
А как вы делаете?
А как вы делаете?
GitHub
iter: document general guidance for writing iterator APIs · Issue #71901 · golang/go
While https://pkg.go.dev/iter does a good job at explaining the basics of iterators, it leaves out a few important bits of information which may be really useful when writing APIs with iterators. T...
👍6😢1
Rob Pike не очень любит AI: https://imgur.com/rob-pike-goes-nuclear-over-genai-nUJCI3o
3👍18🤔6👎1😢1
How to Go wrong
Rob Pike не очень любит AI: https://imgur.com/rob-pike-goes-nuclear-over-genai-nUJCI3o
Андрей Карпатый не разбирается в AI
1😢5🤣4👍2🤔2
Если вы всегда хотели написать игру на Dreamcast (крутая была приставка!), но не знали как: https://github.com/drpaneas/libgodc
GitHub
GitHub - drpaneas/libgodc: Go runtime for Dreamcast using gccgo and KOS
Go runtime for Dreamcast using gccgo and KOS. Contribute to drpaneas/libgodc development by creating an account on GitHub.
👍4
Если кто-нибудь опять будет вам доказывать, что go.sum — это lockfile, просто киньте им https://words.filippo.io/gosum/
words.filippo.io
go.sum Is Not a Lockfile
In Go, go.mod acts as both manifest and lockfile. There is never a reason to look at go.sum.
👍16
Поводов для шуток у Растофчан становится всё меньше, а поводов для ужаса у нас — всё больше: https://github.com/golang/go/issues/77273
UPD: Ладно, прочитал — всё весьма хорошо: пересечения с интерфейсами нет, рефлексии нет, чисто синтаксический сахар над функциями. Что интересно — сейчас нет 👎 вообще.
UPD: Ладно, прочитал — всё весьма хорошо: пересечения с интерфейсами нет, рефлексии нет, чисто синтаксический сахар над функциями. Что интересно — сейчас нет 👎 вообще.
GitHub
spec: generic methods for Go · Issue #77273 · golang/go
Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...
👍7👏2😢2
How to Go wrong
Если вы всегда хотели написать игру на Dreamcast (крутая была приставка!), но не знали как: https://github.com/drpaneas/libgodc
А вот и Playdate подвезли: https://github.com/playdate-go/pdgo
GitHub
GitHub - playdate-go/pdgo: 🟡 Golang for Playdate. Compiler, SDK Bindings, Tools and Examples ⚒️
🟡 Golang for Playdate. Compiler, SDK Bindings, Tools and Examples ⚒️ - playdate-go/pdgo
👍3
Интересная статья про добавление методов с реализацией по-умолчанию в интерфейсы. Если вы сразу подумали про встраивание – да, статья про это, но с трюком с alias’аом и занимательными деталями реализации.
https://mcyoung.xyz/2025/08/25/go-default-methods/
https://mcyoung.xyz/2025/08/25/go-default-methods/
mcyoung.xyz
Default Methods in Go · mcyoung
👍4
Давно хотел об этом написать, но, как обычно, меня опередили: https://words.filippo.io/go-source/
words.filippo.io
Inspecting the Source of Go Modules
Code hosts like GitHub don't necessarily show the correct source of Go modules. pkg.geomys.dev is a new convenient viewer for module source.
👍4
Запускаете
go fix на свой код, чтобы LLM учились на хорошем: https://go.dev/blog/gofixgo.dev
Using go fix to modernize Go code - The Go Programming Language
Go 1.26 includes a new implementation of go fix that can help you use more modern features of Go.
🤣11👍3
Как использовать отчёт об уязвимости своего пакета для рекламы более хорошего сканера (
govulncheck) — мастер-класс от Filippo Valsorda: https://github.com/advisories/GHSA-fw7p-63qq-7hprGitHub
CVE-2026-26958 - GitHub Advisory Database
filippo.io/edwards25519 MultiScalarMult produces invalid results or undefined behavior if receiver is not the identity
🤣3
How to Go wrong
Как использовать отчёт об уязвимости своего пакета для рекламы более хорошего сканера (govulncheck) — мастер-класс от Filippo Valsorda: https://github.com/advisories/GHSA-fw7p-63qq-7hpr
words.filippo.io
Turn Dependabot Off
I recommend turning Dependabot off and replacing it with a pair of scheduled GitHub Actions, one running govulncheck, and the other running CI against the latest version of your dependencies.
👍3
Go на колёсах, или установка гошных бинарников
pip install’ом: https://github.com/simonw/go-to-wheelGitHub
GitHub - simonw/go-to-wheel: Wrap Go binaries in Python wheels
Wrap Go binaries in Python wheels. Contribute to simonw/go-to-wheel development by creating an account on GitHub.
🤔13🤣9
Новые вопросы на собеседованиях через 3… 2… https://go.dev/blog/allocation-optimizations
go.dev
Allocating on the Stack - The Go Programming Language
A description of some of the recent changes to do allocations on the stack instead of the heap.
🤣17👍4😢1
How to Go wrong
https://go.dev/blog/go1.26 https://go.dev/doc/go1.26 Отличный подарок на день рождения 😁
Оказывается, 11 дней полыхала драма, и одно крошечное, но могучее изменение откатят в 1.26.1: https://github.com/golang/go/issues/77653
GitHub
cmd/go: change `go mod init` default go directive back to 1.N · Issue #77653 · golang/go
Proposal Details I was surprised to see #74748 in 1.26. I think this behavior is confusing: ❯ cat t.go package main import "fmt" func main() { fmt.Println(new(42)) } ❯ go run t.go 0x4a524...
👍6🤔4🤣2👎1😢1
Не прошло и… всего восьми лет, как proposal про
const решили отклонить: https://github.com/golang/go/issues/27975#issuecomment-4000712203 Мир изменился, мы изменились, уже даже автор не считает предложение таким уж нужным – и только команда Go верна себе. 😁GitHub
proposal: spec: immutable type qualifier · Issue #27975 · golang/go
This issue describes a language feature proposal to Immutable Types. It targets the current Go 1.x (> 1.11) language specification and doesn't violate the Go 1 compatibility promise. It also...
👍5😢2
Поддержку генерации UUID уже скоро завезут в стандартную библиотеку. В полном соответствии с законом тривиальности Паркинсона (a.k.a. bike-shedding), сейчас там полыхает драма. 😁
GitHub
uuid: add API to generate and parse UUID · Issue #62026 · golang/go
I would like to suggest the addition to the standard library of a package to generate and parse UUID identifiers, specifically versions 3, 4 and 5. The main reason I see to include it is that the m...
🤣6👍1
How to Go wrong
Оказывается, 11 дней полыхала драма, и одно крошечное, но могучее изменение откатят в 1.26.1: https://github.com/golang/go/issues/77653
В 1.26.1 откатили это, но отладка кода с race detector’ом осталось сломанной. Ждём 1.26.2: https://github.com/golang/go/issues/77597
GitHub
runtime: segmentation violation when debug and using race detector · Issue #77597 · golang/go
Go version go version go1.26.0 linux/amd64 Output of go env in your module/workspace: AR='ar' CC='gcc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g&#...
🤣9👍2