Communities:
Golang Insiders
| # | Tweet | Community | Topic | Views βΌ | Ratio | Engagement | Posted |
|---|---|---|---|---|---|---|---|
| 1 | [image] New article: Go's Memory Allocator π
How Go manages heap memory for thousands of goroutines. 64MB arenas β 8KB pages β spans β fixed-size slots. A three-level cache where the fast path is completely lock-free.
π
#golang #go #runtime #programming | Golang Insiders | Software | 28.4K | 18.8x | 222 | Feb 23 |
| 2 | [image] New article: Inside Go's Runtime Scheduler π
How Go runs millions of goroutines on a few OS threads. The GMP model, work stealing, spinning threads, and context switches that take only 50-100 nanoseconds (10-40x faster than OS threads).
π
#golang | Golang Insiders | Software | 23.8K | 14.7x | 191 | Mar 9 |
| 3 | [image] New article: The Go System Monitor
How sysmon, a thread with no P, keeps the runtime fair. It preempts goroutines, retakes Ps from syscalls, forces GC every 2 minutes, and ensure network poller keeps ticking.
The Go's watchdog
#golang #go #runtime | Golang Insiders | Software | 4.7K | 2.7x | 55 | Apr 6 |
| 4 | [image] New article: Inside Go's Garbage Collector π§Ή
How Go reclaims memory without stopping your program. Tri-color marking, write barriers, span-based batching, SIMD-accelerated scanning, and drafting goroutines into helping GC when they allocate too fast.
π | Golang Insiders | Software | 2.9K | 1.7x | 64 | Mar 23 |