newbmiao

start from a newb...(https://newbmiao.github.io)

Home Rust Go OPA DevOps Terraform On Azure
EN | 中文
2021
Sep 1

Ring buffer — counter pointers and mirror indexing

聊聊ringbuffer

Aug 25

Fan-in and fan-out — merging and broadcasting on channels

说说fanIn和fanOut

Aug 22

Recursive orDone — goroutine leaks and infinite recursion with three channels

二分递归版or-channel模式的问题

Aug 19

Go or-channel pattern — recursive select vs reflect.Select

or-channel模式的两种实现

Aug 9

sync.Cond by example — wait, signal, and broadcast

举例来学cond原语

Aug 7

Go runtime — the 24-byte size class and an 8-byte allocation win

一个8bytes的内存优化

2020
Jul 1

Go sync.Mutex — atomics, barriers, and starvation mode

Dig101-Go之深入理解mutex

Jun 13

Go reflect — unexported struct fields from outside the package

Go之如何操作结构体的非导出字段

May 22

Go — pointer parameters, assignment vs dereference

Dig101-Go之如何在函数内修改指针指向

Apr 17

Go protobuf upgrade — github.com/golang/protobuf to google.golang.org/protobuf

记一次奇妙的go-protobuf包升级之旅

Feb 29

Go interface devirtualization — when the compiler skips convT64

Dig101-Go之interface调用的一个优化点

Feb 26

Dig101 — how Go implements interface values (eface, iface, itab)

Dig101-Go之读懂interface的底层设计

Feb 10

Dig101 — struct memory alignment in Go

Dig101-Go之聊聊struct的内存对齐

Feb 4

Dig101 — map internals (hmap, buckets, growth, iteration)

Dig101:Go之读懂map的底层设计

Jan 18

Dig101 — Go string layout, `+` lowering, and concat benchmarks

Dig101-Go之string那些事

Jan 7

Dig101 — Go slice header, slicing tricks, and append growth

Dig101-Go之灵活的slice

Jan 3

Go for-range pitfalls — loop vars, copies, and maps

Dig101-Go之for-range排坑指南

2019
Oct 10

Go sync.Mutex — normal mode, starvation mode, and the runtime wait queue

golang的Mutex锁如何实现

2018
Aug 20

Go runtime memory allocation — heap, mcache, and tcmalloc

go源码分析之内存分配

Mar 15

Go value layout in memory — reading types from panic stack traces

go学习之类型的数据结构内存分布

Mar 5

Go heap vs stack — escape analysis with slices

go学习之堆栈中的变量

Feb 9

Go concurrency patterns — Rob Pike talks and advanced techniques

Advanced Go Concurrency Patterns

Feb 6

Go memory model — happens-before, channels, and sync primitives

Go Memory Model

Recent Posts

  • Subnets Preview — plan and split VNet subnets in the browser
  • Terraform tfpolicy vs Sentinel and OPA for plan-time policy checks
  • Is Terraform still worth using for DevOps in 2026?
  • Terraform VPC splits across accounts — simple HCL beats clever locals
  • Fluence FLT drop — claim guide for eligible GitHub Web3 devs

Categories

  • devops 5
  • opa 6
  • database 4
  • go 23
  • linux 7
  • rust 22
  • thoughts 1
  • tool 5
  • web 12

Tag Cloud

subnetting terraform keycloak tfpolicy go-concurrency go-fan-patterns happens-before go-mutex heap-and-stack ringbuffer protobuf opa-bundle rego-comprehensions opa-virtual-doc opa-local-dev opa-rbac opa-benchmark regex macos-tooling shadowsocks-vps doc-table-excel gdb axum token-exchange rust-ownership cargo-docker rust-rc-arc arc-swap rust-async rust-cell-refcell aws-lambda sealed-trait rayon send-sync rust-atomic rust-barrier mpsc-channel rust-semaphore rust-condvar tokio-console rust-tower typestate mysql-optimize mysql-subquery or-done go-for-range go-interface go-map go-reflect go-slice go-string go-struct memory-align go-pointer-deref size-class go-cond html5-drag array-random php-signal php-reference

Links

  • Subnets Preview
  • Terraform on Azure
  • HU Xiaoxu
  • 腾讯云优惠券

Contents

© 2026 newbmiao
Powered by Hexo . Theme by Landscape-plus . Hosted by GitHub Pages
Home Rust Go OPA DevOps Terraform On Azure