newbmiao

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

Home Rust Go OPA DevOps Terraform On Azure
EN | 中文
2021
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排坑指南

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
  • arc-swap — atomic Arc swaps vs RwLock for config
  • Sealed traits in oauth2-rs — closing the typestate loophole
  • Rust typestate — compile-time checks for OAuth2 client setup
  • Rust sealed traits — limiting who can implement your trait
  • AWS Lambda in Rust — cargo-lambda, local watch, and LocalStack deploy
  • Tower Service and Layer — HTTP middleware chains with hyper
  • tokio-console — observe Tokio task scheduling and runtime behavior

Categories

  • devops 5
  • opa 6
  • database 4
  • go 23
  • linux 7
  • rust 22
  • thoughts 2
  • tool 9
  • web 36

Links

  • Subnets Preview
  • Terraform on Azure
  • HU Xiaoxu
  • Tencent Cloud coupons

Contents

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