Go Library
4.11K subscribers
20 photos
63 files
798 links
Go (Golang) Library

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
Counter Service: How we rewrote it in Rust

The Integrity Data Platform (IDP) team decided to rewrite one of our heavy Queries Per Second (QPS) Golang microservices in Rust. It resulted in 70% infrastructure savings at a similar performance, but was not without its pitfalls. This article will elaborate on:

- How we picked what to rewrite in Rust.
- Approach taken to tackle the rewrite.
- The pitfalls and speed bumps along the way.
- Was it worthwhile?


https://engineering.grab.com/counter-service-how-we-rewrote-it-in-rust
Comparing Rust, JavaScript and Go for authoring WASM Components

https://obeli.sk/blog/comparing-rust-javascript-and-go-for-authoring-wasm-components/
Don't mock the database: Data fixtures are parallel safe, and plenty fast

https://www.crunchydata.com/blog/dont-mock-the-database-data-fixtures-are-parallel-safe-and-plenty-fast
Comparing gzip, brotli and zstd compression in Go

https://blog.kowalczyk.info/a-5hum/compressing-for-the-browser-in-go.html
fang

The CLI starter kit. A small, experimental library for batteries-included Cobra applications.


https://github.com/charmbracelet/fang
unregistry

Push docker images directly to remote servers without an external registry


https://github.com/psviderski/unregistry
makefile-graph

makefile-graph is a Go module and CLI application, which parses GNU Make's internal database and generates a graph representing the relationships between the discovered Makefile targets.


https://github.com/dnaeon/makefile-graph
lazycontainer

A terminal UI to manage Apple Containers without stress. Written in Go with Bubbletea


https://github.com/andreybleme/lazycontainer
Generic interfaces

There is an idea that is not obvious until you hear about it for the first time: as interfaces are types themselves, they too can have type parameters. This idea proves to be surprisingly powerful when it comes to expressing constraints on generic functions and types. In this post, we’ll demonstrate it, by discussing the use of interfaces with type parameters in a couple of common scenarios.


https://go.dev/blog/generic-interfaces
marchat

Terminal-based group chat app with real-time WebSocket messaging, file sharing, themes, and admin tools — built with Go and Bubble Tea.


https://github.com/Cod-e-Codes/marchat
How Go 1.24's Swiss Tables saved us hundreds of gigabytes

https://www.datadoghq.com/blog/engineering/go-swiss-tables
Logging in Go with Slog: A Practitioner's Guide

https://www.dash0.com/guides/logging-in-go-with-slog
Trace Go Apps Using Runtime Tracing and OpenTelemetry

https://last9.io/blog/trace-go-apps-using-runtime-tracing-and-opentelemetry
Designing a composable rate limiter

Having used rate limiters a few times, I’ve observed that they must be thoughtfully designed. In particular, they are typically comprised of several policies which we wish to stack on one another. It can get messy.

So I decided to design a rate limiter that emphasizes composability, which I define as having the right primitives, where one can express arbitrary policies, and which can be combined in a way that is easy to reason about.


https://clipperhouse.com/composable-rate-limiter/
BillionMail

BillionMail is a future open-source Mail server, Email marketing platform designed to help businesses and individuals manage their email campaigns with ease. Whether you're sending newsletters, promotional emails, or transactional messages, this tool will provide full control over your email marketing efforts. With features like advanced analytics, and customer management, you'll be able to create, send, and track emails like a pro.


https://github.com/aaPanel/BillionMail
🚀 Хотите ускорить обработку во Flutter-приложениях, вынеся тяжёлые задачи на C, Rust или Go?

Приходите на открытый вебинар «Запускаем код C, Rust или Go через FFI» 6 августа в 20:00 МСК. На уроке мы покажем:
- Как написать простую функцию на C, Rust и Go и вызвать её из консольного Dart-приложения.
- Как интегрировать эту же функцию во Flutter-приложение.
- Работу со сторонними библиотеками и нюансы FFI-плагина.
- Примеры Makefile для автоматизации сборки под разные архитектуры.

❗️ Вы научитесь компилировать C/Rust/Go-бинарники, вызывать их из Flutter и создавать скрипты сборки. Всё это — надёжный способ оптимизировать обработку изображений, криптографию и другие ресурсоёмкие операции.

Этот урок проходит в преддверии старта курса «Flutter Mobile Developer» от OTUS. 🔥 Все участники получат записи трех прошлых уроков!

👉 Регистрация открыта: https://vk.cc/cOakBW

Реклама. ООО «Отус онлайн-образование», ОГРН 1177746618576, www.otus.ru, erid: 2VtzqvxzuPE
crush

The glamourous AI coding agent for your favourite terminal


https://github.com/charmbracelet/crush