fa
Feedback
Golang notes

Golang notes

رفتن به کانال در Telegram

نمایش بیشتر
کشور مشخص نشده استفناوری و برنامه‌ها48 760
222
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
-330 روز
آرشیو پست ها

In this overview, Matei Popovici tackles the complexities of cross-compiling Go programs with C dependencies using Bazel and cgo. He details the essential steps for configuring custom toolchains, setting up sysroots, and defining Bazel build rules to produce multiplatform, C-embedded Go binaries. https://popovicu.com/posts/cross-compile-cgo-bazel/

A PDF processor written in Go. https://github.com/pdfcpu/pdfcpu

In this exposition, Beyond The Syntax reveals the process of implementing a JSON parser from scratch in Go. It covers tokenization, AST construction, and literal and number parsing to guide you through building a robust JSON processor. https://beyondthesyntax.substack.com/p/lets-write-a-json-parser-from-scratch

eBPF-based Linux high-performance transparent proxy solution. https://github.com/daeuniverse/dae

In this video, Goodgis builds his first game in Go using the Ebitengine library, creating a rocket-launching challenge inspired by a Saturn V engine. He walks through installing Go, setting up Ebitengine, drawing sprites, implementing movement, designing artwork, and adding polish with scoring, audio, and visual touches. https://www.youtube.com/watch?v=FJEIhUoLVj4

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint https://github.com/mgechev/revive

In this essay, Fillmore Labs examines how pointers to zero-sized types can lead to unexpected behavior in Go runtimes. The Perils of Pointers in the Land of the Zero-Sized Type reveals how escape analysis and shared heap optimizations undermine direct pointer comparisons for zero-sized types. https://blog.fillmore-labs.com/posts/zerosized-1/

In this primer, Prateek Surana highlights key contrasts between Go and JavaScript, walking through syntax differences, runtime models, and type systems that shape performance and developer experience. Drawing from his years in JavaScript and recent focus on Go for server-side development, he offers code comparisons and practical tips for a smooth transition. https://prateeksurana.me/blog/guide-to-go-for-javascript-developers/

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools. https://github.com/mark3labs/mcp-go

In this analysis, “Pure vs. impure iterators in Go” examines Go’s new iterator standardisation in versions 1.23+ and advocates for clear terminology distinguishing stateless “pure” functions from stateful “impure” closures. It walks through examples—from Fibonacci generators to strings.Lines—and weighs performance implications against consistency across related iterator factories. https://jub0bs.com/posts/2025-05-29-pure-vs-impure-iterators-in-go/

In this feature, Liam Manesh introduces the GOOS=none proposal to enable bare-metal Go, bypassing any OS layer. He explores how the Tamago project underpins this change, supplying runtime hooks for firmware, bootloaders, and microVMs on AMD64, ARM, and RISC-V. https://golangnugget.com/p/go-without-an-os-meet-goos-none

Go net/http wrapper with graceful shutdown baked in. https://github.com/enrichman/httpgrace

In this post, Vishnu Bharathi explores the behavior of nil channels in Go, detailing how they block operations and shape concurrency patterns. He offers clear code examples to illustrate common pitfalls and effective strategies for handling nil channels in real-world applications. https://vishnubharathi.codes/blog/nil-channels-in-go/

In “From Java to Go,” Philip narrates his transition from Java and Kotlin to Go, revealing dramatic gains in startup speed and resource efficiency . This article compares JVM tooling and Go’s AOT compilation, dependency management, and IDE support to demonstrate why Go empowers the team’s Distr platform on Kubernetes . https://glasskube.dev/blog/from-java-to-go/

franz-go contains a feature complete, pure Go library for interacting with Kafka from 0.8.0 through 4.0+. Producing, consuming, transacting, administrating, etc. https://github.com/twmb/franz-go

In this walkthrough, Akash Joshi shows how to wrap OpenAI’s Whisper speech recognition model into a streamlined command-line interface written in Go . He outlines chaining ffmpeg preprocessing steps, leveraging GoReleaser for cross-platform builds, and distributing the resulting “better-whisper” tool via Homebrew . https://appliedgo.net/whisper-cli/

In this guide, AppliedGo presents a comprehensive roadmap for debugging Go applications, covering everything from writing clear, test-driven code to strategic and ad-hoc logging. It also demonstrates how to leverage tools like Delve, GoTutor, and git bisect to isolate and resolve bugs effectively. https://appliedgo.net/debug/

SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite https://github.com/stephenafamo/bob