← Back to context

Comment by embedding-shape

18 hours ago

> You can do this from the CLI - `codex remote-control` works on Linux (I have no affiliation, just something I noticed).

Woah, hadn't seen this before!

Off-topic, how long compile times do people have for codex-rs in openai/codex? Even my very beefy computer takes like 30 minutes to compile in release mode, makes me wonder why it's so slow and how this TUI got so large. But then I remember, agents like to write a lot of code, compilers get slower when they have to compile a lot of code :)

Try turning off LTO. Their default codex-rs/Cargo.toml uses `lto = "fat"`, which is... expensive and slow and... you really really don't need it for a local build that you're not distributing.

In my experience, although the build is a little slow, it's that LTO step that takes a million years.