Shiju Varghese

6.2K posts

Shiju Varghese banner
Shiju Varghese

Shiju Varghese

@shijucv

Consulting Solutions Architect and Trainer on #Golang, #Ziglang and Distributed Systems Architectures. Published Author of two books on Go.

Kochi, India Katılım Ocak 2008
356 Takip Edilen2K Takipçiler
Shiju Varghese retweetledi
Rach
Rach@rachpradhan·
I built a package manager that installs software 10-500x faster than Homebrew. It's 1.2 MB. Written in Zig. Zero dependencies. It's called nanobrew, and here's how it works.
Rach tweet media
English
40
29
613
59K
Shiju Varghese retweetledi
Pierre Mouchan
Pierre Mouchan@pierremouchan·
Zig: The Performance King ⚡ The Zig standard library now includes native `io_uring` (Linux) and GCD (macOS) implementations. → Up to 90% reduc in system calls for high-concur apps. Zero hidden memory allocations. Zig is solidifying its spot as the go-to for high-perf infra.
English
4
13
132
7.8K
Shiju Varghese retweetledi
Go
Go@golang·
“Go 1.26 is released” by Carlos Amedee, on behalf of the Go team — go.dev/blog/go1.26 #golang
English
6
100
550
33K
Shiju Varghese retweetledi
Mitchell Hashimoto
Mitchell Hashimoto@mitchellh·
I wrote a library called Tripwire for injecting failures into Zig programs to test errdefer paths. Outside of tests, it's completely optimized away. Error cleanup is a big source of leaks and memory corruption in Zig programs and should be tested. Post: mitchellh.com/writing/tripwi…
English
11
21
361
28.4K
Shiju Varghese retweetledi
Yahiya
Yahiya@yahiyadev·
uber-go/fx is uber's dependency injection framework that eliminates global state and makes your Go apps composable. developers tend to use uber-go/fx for very large projects with lot of dependencies within dependencies. github.com/uber-go/fx
Yahiya tweet media
English
3
17
201
14K
Shiju Varghese retweetledi
Lightpanda
Lightpanda@lightpanda_io·
We've been busy cooking 🧑‍🍳⚡️️ ICYMI... introducing zigdom We ripped out LibDOM and Netsurf's HTML5 parser, rebuilt our DOM from scratch in @ziglang and switched to Servo's html5ever Here's what it took ⤵️ lightpanda.io/blog/posts/mig…
English
2
28
181
12.7K
Shiju Varghese retweetledi
Viacheslav Biriukov
Viacheslav Biriukov@brk0v·
⚡️Zig: Building a Redis-compatible KV server… with zero allocations after startup. I loved this deep dive into a Zig KV server where config becomes the memory model: max conns, max key/value sizes, list lengths - all decided up front. nickmonad.blog/2025/static-al… #zig #io_uring
Viacheslav Biriukov tweet media
English
9
40
487
26.6K
Shiju Varghese retweetledi
⚡Favor⚡
⚡Favor⚡@heyOnuoha·
If you're learning Go, I released an Open Source, production-ready, industry-standard boilerplate for Go beginners! ✅ RESTful API with PostgreSQL & GORM ✅ JWT Authentication ✅ Structured logging with Zap ✅ Swagger documentation ✅ Clean architecture bit.ly/43Wr3Cn
English
14
60
417
20.4K
Shiju Varghese retweetledi
Vivek Galatage
Vivek Galatage@vivekgalatage·
The optimization guide! goperf.dev
Vivek Galatage tweet media
English
5
115
1K
45.7K
Shiju Varghese retweetledi
Fathiu 💐
Fathiu 💐@abolorreeeee·
Rate Limiter in #Golang using net/http I implemented: - -Token bucket algorithm (golang.org/x/time/rate) each IP gets a bucket with 4 tokens, refills at 2/sec. Every request costs 1 token. No tokens? HTTP 429 until your bucket refills. - Per-IP tracking with an in-memory map protected by sync.Mutex. Without proper locking, multiple goroutines writing to the same map will corrupt your data instantly. Learned this the hard way when -race flag lit up during testing caught 3 concurrency bugs before they hit production. - Background goroutine runs every minute to cleanup visitors inactive for 3+ minutes. Prevents memory leaks from one-time visitors. Next phase: Making it production ready → Adding context.Context for request lifecycle management → Integrating Redis for distributed rate limiting across multiple server instances → Currently single-server only, need horizontal scalability Completed code: github.com/aboloredev/gol…
Fathiu 💐 tweet media
English
18
36
545
37.8K
Shiju Varghese retweetledi
Mitchell Hashimoto
Mitchell Hashimoto@mitchellh·
Zig tip: `errdefer comptime unreachable;` will ensure at compile time that from that point forward nothing can fail. This is an extremely important pattern since `errdefer` (cleanup on error) often depends on a particular state of the world and this asserts it. Example use case: I'm working on a piece of functionality that receives some data, sets up a bunch of buffers, and then swaps the buffers. I have a bunch of `errdefer` sprinkled about to clean up the new buffer being built. But after I swap the buffers, those `errdefers` are now WRONG. They'd result in an eventual double-free. So, right when I swap buffers, I put a `errdefer comptime unreachable` and a comment explaining why its important errors can't happen after that. If I ever need errors after that, it'll force me to revisit how I do error cleanup. Very good!
Mitchell Hashimoto tweet media
English
17
12
412
39.1K
Shiju Varghese retweetledi
InfoQ
InfoQ@InfoQ·
#Google has added #GoLang support to its Agent Development Kit! Go developers can now build & manage agents idiomatically, taking full advantage of the language’s strong concurrency and type safety features. Learn more: bit.ly/43PX3ZJ #InfoQ #AI #AIagents #opensource
InfoQ tweet media
English
0
1
4
1.1K
Amaan
Amaan@amaan8429·
Heyy Go developers, i am going to write my first backend in go Which framework should i choose ?
English
218
6
541
127.4K
Shiju Varghese retweetledi
Go
Go@golang·
“Go’s Sweet 16” by Austin Clements, for the Go team — go.dev/blog/16years #golang
English
10
68
373
50.1K