Codex replaced fork+exec with posix_spawn to kill spawn overhead
charliermarsh · x · 2026-11-25
The thread's key fix: since the inherited memory is discarded by exec anyway, Codex switched to posixspawn, which avoids duplicating the parent's address space in the first place and sidesteps fork's cost.
Related event: Codex speeds up process spawning 800x by replacing fork with posix_spawn(14 posts)→
More from coding & agent
- vibe-codevember Day 19: WebGPU interactive sandstone erosion demo built with Gemini — AI_Andrew · 2026-11-25
- Actual cost: one full hour of agent work on a Claude Ultra plan equals about $1 — LeviTurk · 2026-11-25
- LangChain and Arcade to host Dec 9 workshop on building governed banking agents — LangChain · 2026-11-25
- Three.js Procedural Terrain Generator ProceduralTerrains Hits 700 GitHub Stars — Promptmethus · 2026-11-25
- AssetFurnace: open-source image-to-3D pipeline for rigged game characters, 1.3k stars — Promptmethus · 2026-11-25
- Tested orchestrator + Opus 5.5 combos: best quality, but solo runs cost far less — sandersted · 2026-11-25