# Anton Zhiyanov

Everything about Go, SQL, and software in general.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Probabilistic data structures in Go

DevFeed: [Probabilistic data structures in Go](<https://devfeed.tech/articles/probabilistic-data-structures-in-go-132644.md>)

Original publisher: [Read original article](<https://antonz.org/probabilistic-data-structures/>)

Author: Anton Zhiyanov

Published: 2026-11-13T15:00:00Z

Content type: article

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Data structures](<https://devfeed.tech/topics/data-structures.md>), [bloom-filter](<https://devfeed.tech/topics/bloom-filter.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>)

Tags: [bloom-filter](<https://devfeed.tech/tags/bloom-filter.md>), [count-min-sketch](<https://devfeed.tech/tags/count-min-sketch.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [go](<https://devfeed.tech/tags/go.md>), [hyperloglog](<https://devfeed.tech/tags/hyperloglog.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [probabilistic-data-structures](<https://devfeed.tech/tags/probabilistic-data-structures.md>), [t-digest](<https://devfeed.tech/tags/t-digest.md>), [top-k](<https://devfeed.tech/tags/top-k.md>)

### AI overview

The Go package `nalgeon/unsure` implements five approximate structures that trade exact answers for lower memory use: Bloom filters test possible set membership (false positives, no deletion); count-min sketches estimate frequencies with possible overcounts; HyperLogLog estimates distinct-item counts; t-digests estimate quantiles and CDFs; and top-k sketches report frequent items with approximate counts. The article describes `unsure`'s cache-blocked Bloom filter, conservative count-min updates, histogram-based HyperLogLog estimator, merging t-digest, and two-row HeavyKeeper-style top-k design. It gives examples of workloads and limits, including that t-digest merges lose accuracy, top-k works best on skewed streams, and HyperLogLog's sparse-count comparison favors `axiom`. Reported benchmarks show `unsure` often faster or smaller than named Go implementations, though the advantage varies by operation and data distribution; these are excerpts from full benchmarks.

### Source excerpt

Bloom filter, count-min sketch, HyperLogLog, t-digest, and top-k sketch.

## Go concurrency distilled

DevFeed: [Go concurrency distilled](<https://devfeed.tech/articles/go-concurrency-distilled-60417.md>)

Original publisher: [Read original article](<https://antonz.org/go-concurrency-distilled/>)

Author: Anton Zhiyanov

Published: 2026-09-26T11:30:00Z

Content type: tutorial

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [book](<https://devfeed.tech/tags/book.md>), [code](<https://devfeed.tech/tags/code.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent-programming](<https://devfeed.tech/tags/concurrent-programming.md>), [go](<https://devfeed.tech/tags/go.md>), [go-concurrency](<https://devfeed.tech/tags/go-concurrency.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

An interactive mini-book provides a concise refresher on concurrency in Go. It covers goroutines, channels, pipelines, synchronization, data races, testing, scheduling, and diagnostics, with examples that readers can modify and run.

### Source excerpt

Interactive mini-book on concurrent programming in Go.

## Solod 0.4: Better C interop

DevFeed: [Solod 0.4: Better C interop](<https://devfeed.tech/articles/solod-0-4-better-c-interop-60425.md>)

Original publisher: [Read original article](<https://antonz.org/solod-0.4/>)

Author: Anton Zhiyanov

Published: 2026-09-12T13:00:00Z

Content type: release

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>), [Luvit](<https://devfeed.tech/topics/luvit.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [developers](<https://devfeed.tech/tags/developers.md>), [go](<https://devfeed.tech/tags/go.md>), [interop](<https://devfeed.tech/tags/interop.md>), [libc](<https://devfeed.tech/tags/libc.md>), [library](<https://devfeed.tech/tags/library.md>), [libuv](<https://devfeed.tech/tags/libuv.md>), [release](<https://devfeed.tech/tags/release.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>)

### AI overview

Solod 0.4 is a subset of Go that translates to regular C, providing low-level control, manual memory management, zero runtime overhead, and source-level C interop. The release adds automatic bindings for third-party C libraries, expands freestanding standard-library support, improves type assertions and C type helpers, and adds tooling and testing features.

### Source excerpt

A strict subset of Go that translates to regular C.

## Porting Go's Standard Library to Freestanding C

DevFeed: [Porting Go's Standard Library to Freestanding C](<https://devfeed.tech/articles/going-freestanding-60419.md>)

Original publisher: [Read original article](<https://antonz.org/going-freestanding/>)

Author: Anton Zhiyanov

Published: 2026-08-20T12:00:00Z

Content type: article

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Library](<https://devfeed.tech/topics/library.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [POSIX](<https://devfeed.tech/topics/posix.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [clang](<https://devfeed.tech/tags/clang.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [go](<https://devfeed.tech/tags/go.md>), [library](<https://devfeed.tech/tags/library.md>), [limits](<https://devfeed.tech/tags/limits.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [posix](<https://devfeed.tech/tags/posix.md>)

### AI overview

This article describes porting Go's standard library to platform-agnostic C and making packages work in freestanding environments without libc or an operating system runtime. It covers headers, compiler builtins, memory, atomics, allocation, hooks, and testing, with applications including microcontrollers, WebAssembly sandboxes, and kernels.

### Source excerpt

Porting Go's standard library to platform-agnostic C.

## Solod Reuses Go's Tooling and Standard Library for a Systems Language

DevFeed: [Solod Reuses Go's Tooling and Standard Library for a Systems Language](<https://devfeed.tech/articles/relying-on-go-60421.md>)

Original publisher: [Read original article](<https://antonz.org/relying-on-go/>)

Author: Anton Zhiyanov

Published: 2026-08-09T12:00:00Z

Content type: article

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [C](<https://devfeed.tech/topics/c.md>), [gcc](<https://devfeed.tech/topics/gcc.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [clang](<https://devfeed.tech/topics/clang.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [clang](<https://devfeed.tech/tags/clang.md>), [code](<https://devfeed.tech/tags/code.md>), [go](<https://devfeed.tech/tags/go.md>), [go-language](<https://devfeed.tech/tags/go-language.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [systems](<https://devfeed.tech/tags/systems.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

Solod is a systems language for C and Go developers that uses Go as a subset, reuses Go tooling and standard library code, and translates programs to C11 for compilation with GCC or Clang.

### Source excerpt

Reusing Go's tooling and standard library for a systems language.

## Going Backward: Reinventing Go's iterator

DevFeed: [Going Backward: Reinventing Go's iterator](<https://devfeed.tech/articles/going-backward-reinventing-go-s-iterator-60418.md>)

Original publisher: [Read original article](<https://antonz.org/going-backward/>)

Author: Anton Zhiyanov

Published: 2026-08-03T12:00:00Z

Content type: tutorial

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>), [function](<https://devfeed.tech/topics/function.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Closure](<https://devfeed.tech/topics/closure.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [closure](<https://devfeed.tech/tags/closure.md>), [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [generics](<https://devfeed.tech/tags/generics.md>), [go](<https://devfeed.tech/tags/go.md>), [go-development](<https://devfeed.tech/tags/go-development.md>), [implementation](<https://devfeed.tech/tags/implementation.md>)

### AI overview

An exploration of how to build a generic iterator in Go, progressing from reversing a copied slice to closure-based and callback-based implementations. It discusses memory use, calling style, and early termination.

### Source excerpt

Building a generic iterator wheel from scratch.

## Solod 0.3: Concurrency, JSON, more safety

DevFeed: [Solod 0.3: Concurrency, JSON, more safety](<https://devfeed.tech/articles/solod-0-3-concurrency-json-more-safety-60424.md>)

Original publisher: [Read original article](<https://antonz.org/solod-0.3/>)

Author: Anton Zhiyanov

Published: 2026-07-25T11:30:00Z

Content type: release

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>), [JSON](<https://devfeed.tech/topics/json.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>)

Tags: [atomics](<https://devfeed.tech/tags/atomics.md>), [c](<https://devfeed.tech/tags/c.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [developers](<https://devfeed.tech/tags/developers.md>), [go](<https://devfeed.tech/tags/go.md>), [json](<https://devfeed.tech/tags/json.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>)

### AI overview

Solod 0.3 adds concurrency features to the Go subset that compiles to C, including OS threads, channels, worker pools, mutexes, and atomics. The release also introduces streaming JSON, safety checks, and tooling.

### Source excerpt

A strict subset of Go that translates to regular C.

## On interactive Go tours

DevFeed: [On interactive Go tours](<https://devfeed.tech/articles/on-interactive-go-tours-60420.md>)

Original publisher: [Read original article](<https://antonz.org/on-go-tours/>)

Author: Anton Zhiyanov

Published: 2026-07-11T12:30:00Z

Content type: opinion

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [releases](<https://devfeed.tech/topics/releases.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [go](<https://devfeed.tech/tags/go.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

The author is ending a series of interactive tours covering five Go releases, from Go 1.22 through Go 1.26, because producing them stopped being enjoyable and began to feel like a part-time job. They plan to continue writing about Go.

### Source excerpt

Wrapping up the series.

## Go-flavored concurrency in C

DevFeed: [Go-flavored concurrency in C](<https://devfeed.tech/articles/go-flavored-concurrency-in-c-60416.md>)

Original publisher: [Read original article](<https://antonz.org/concurrency-in-c/>)

Author: Anton Zhiyanov

Published: 2026-07-10T12:00:00Z

Content type: tutorial

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [POSIX](<https://devfeed.tech/topics/posix.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [code](<https://devfeed.tech/tags/code.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [go](<https://devfeed.tech/tags/go.md>), [mutex](<https://devfeed.tech/tags/mutex.md>), [posix](<https://devfeed.tech/tags/posix.md>)

### AI overview

This post explains how Solod, a strict subset of Go that translates to plain C, implements a Go-inspired concurrency model using POSIX threads. It covers mutexes, condition variables, atomics, thread pools, channels, performance tradeoffs, and limitations.

### Source excerpt

Worker pools, channels, and mutexes - backed by pthreads.

## Solod 0.2: Networking, new targets, friendlier interop

DevFeed: [Solod 0.2: Networking, new targets, friendlier interop](<https://devfeed.tech/articles/solod-0-2-networking-new-targets-friendlier-interop-60423.md>)

Original publisher: [Read original article](<https://antonz.org/solod-0.2/>)

Author: Anton Zhiyanov

Published: 2026-06-26T12:30:00Z

Content type: release

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [TCP](<https://devfeed.tech/topics/tcp.md>), [UDP](<https://devfeed.tech/topics/udp.md>), [C](<https://devfeed.tech/topics/c.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Server](<https://devfeed.tech/topics/server.md>), [API](<https://devfeed.tech/topics/api.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [c](<https://devfeed.tech/tags/c.md>), [go](<https://devfeed.tech/tags/go.md>), [networking](<https://devfeed.tech/tags/networking.md>), [server](<https://devfeed.tech/tags/server.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [udp](<https://devfeed.tech/tags/udp.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

Solod 0.2 is a release of a Go subset that translates to C, adding TCP, UDP, and Unix domain socket support, broader compilation targets including WebAssembly and bare metal, and smoother C interoperability. Concurrency is not yet supported, so servers handle connections sequentially.

### Source excerpt

A strict subset of Go that translates to regular C.

## Solod 0.1: Go ergonomics, practical stdlib, native C interop

DevFeed: [Solod 0.1: Go ergonomics, practical stdlib, native C interop](<https://devfeed.tech/articles/solod-0-1-go-ergonomics-practical-stdlib-native-c-interop-60422.md>)

Original publisher: [Read original article](<https://antonz.org/solod-0.1/>)

Author: Anton Zhiyanov

Published: 2026-05-06T11:00:00Z

Content type: article

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [C](<https://devfeed.tech/topics/c.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Database](<https://devfeed.tech/topics/database.md>), [Library](<https://devfeed.tech/topics/library.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [go](<https://devfeed.tech/tags/go.md>), [interop](<https://devfeed.tech/tags/interop.md>), [native](<https://devfeed.tech/tags/native.md>), [practical](<https://devfeed.tech/tags/practical.md>)

### AI overview

Solod 0.1 is a strict subset of Go that translates to C, offering manual memory management, no runtime, and source-level C interoperability. The release adds ported standard-library packages, SQLite bindings, a persistent map example, command-line and file utilities, structured logging, and performance-related features.

### Source excerpt

A strict subset of Go that translates to regular C.