2026-04-08
2026-04-07←前 次→2026-04-09
PostgreSQL, スピンロック
https://x.com/hmarui66/status/2041437987377152333?s=46
PostgreSQLのスピンロックを頑張って減らしている人のコメント面白い
(コミッターのfujiiさんの投稿で知った)
futexベースにするとロック解放時にメモリバリアが必要でバリアの増加はリグレッションを引き起こしたり、既存のスピンロック実装自体も移行を難しくしていると
https://news.ycombinator.com/item?id=47649201
https://x.com/hmarui66/status/2041439193566695606?s=46
返信に、件のワークロード自体あまり現実味無いという話も書いてある。やはりそれはそう。
あと、buffer 置換対象の選択は10年近くロックフリーで、unused buffer のリストのみがスピンロックで守られてた & 最近スピンロック削除、とのこと。
Claude Codeのソースコード流出
2026-04-01の続き
malum prohibitumは日本語では法廷犯が対応する概念
malum prohibitum("wrong [as or because] prohibited")
https://user.keio.ac.jp/~shimao/日弁連について.pdf
eBPF
eBPFのチュートリアル
https://x.com/iximiuz/status/2041532862675996858?s=20
f you want to get into eBPF programming, I highly recommend Teodor Podobnik's tutorials on iximiuz Labs.
The series starts from the basics and goes all the way up to solving practical networking problems. All posts are well-illustrated and full of examples that actually work.
Check it out https://labs.iximiuz.com/tutorials?auth
Tutorials | iximiuz Labs
テスト
AI時代の異常系テストについて考える - じゃあ、おうちで学べる
#日誌