Prompting LLMs for C-style C++ to keep compile times down
gandamu_ml · x · 2026-09-05
The author shares his practice of telling LLMs to write mostly C-style C++ and avoid features that inflate compile times, mooting the usual C vs C++ criticisms since models gain little from language conveniences anyway. He also argues people should ask for C/C++, WASM and WebGL instead of ThreeJS, getting native desktop builds for free.
More from coding & agent
- Simplify your codebase workflow: a business-outcome prompt beats agent cross-reviews — boringmarketer · 2026-09-05
- This team let a model named Fable run onboarding interviews for every new AI model — hrishioa · 2026-09-05
- Cursor's 1-second webview delay traced to VS Code 1.99 bug, fix landed upstream in 1.102 — max__drake · 2026-09-05
- dotmd author: command-palette launch (shift cmd p) builds muscle memory fast — max__drake · 2026-09-05
- dotmd lands on Open VSX: one-click install in Cursor, manual .vsix for VS Code — max__drake · 2026-09-05
- Dev ships dotmd, an Obsidian-style Markdown editor for VS Code/Cursor aimed at agents.md workflows — max__drake · 2026-09-05