Remix.run Logo
thehamkercat 6 hours ago

Same with opencode and gemini, it's disgusting

Codex (by openai ironically) seems to be the fastest/most-responsive, opens instantly and is written in rust but doesn't contain that many features

Claude opens in around 3-4 seconds

Opencode opens in 2 seconds

Gemini-cli is an abomination which opens in around 16 second for me right now, and in 8 seconds on a fresh install

Codex takes 50ms for reference...

--

If their models are so good, why are they not rewriting their own react in cli bs to c++ or rust for 100x performance improvement (not kidding, it really is that much)

g947o 6 hours ago | parent | next [-]

Great question, and my guess:

If you build React in C++ and Rust, even if the framework is there, you'll likely need to write your components in C++/Rust. That is a difficult problem. There are actually libraries out there that allow you to build web UI with Rust, although they are for web (+ HTML/CSS) and not specifically CLI stuff.

So someone needs to create such a library that is properly maintained and such. And you'll likely develop slower in Rust compared to JS.

These companies don't see a point in doing that. So they just use whatever already exists.

shoeb00m 6 hours ago | parent | next [-]

Opencode wrote their own tui library in zig, and then build a solidjs library on top of that.

https://github.com/anomalyco/opentui

g947o 2 hours ago | parent [-]

This has nothing to do with React style UI building.

Philpax 6 hours ago | parent | prev | next [-]

Those Rust libraries have existed for some time:

- https://github.com/ratatui/ratatui

- https://github.com/ccbrown/iocraft

- https://crates.io/crates/dioxus-tui

g947o 3 hours ago | parent [-]

Where is React? These are TUI libraries, which are not the same thing

Philpax 2 hours ago | parent [-]

iocraft and dioxus-tui implement the React model, or derivatives of it.

pdntspa 2 hours ago | parent | prev [-]

and why do they need react...

Philpax 2 hours ago | parent [-]

That's actually relatively understandable. The React model (not necessarily React itself) of compositional reactive one-way data binding has become dominant in UI development over the last decade because it's easy to work with and does not require you to keep track of the state of a retained UI.

Most modern UI systems are inspired by React or a variant of its model.

azinman2 6 hours ago | parent | prev | next [-]

Why does it matter if Claude Code opens in 3-4 seconds if everything you do with it can take many seconds to minutes? Seems irrelevant to me.

RohMin 5 hours ago | parent | next [-]

I guess with ~50 years of CPU advancements, 3-4 seconds for a TUI to open makes it seem like we lost the plot somewhere along the way.

strange_quark 5 hours ago | parent [-]

Don’t forget they’ve also publicly stated (bragged?) about the monumental accomplishment of getting some text in a terminal to render at 60fps.

mbesto 4 hours ago | parent | prev | next [-]

This is exactly the type of thing that AI code writers don't do well - understand the prioritization of feature development.

Some developers say 3-4 seconds are important to them, others don't. Who decides what the truth is? A human? ClawdBot?

wahnfrieden 6 hours ago | parent | prev [-]

Because when the agent is taking many seconds to minutes, I am starting new agents instead of waiting or switching to non-agent tasks

shoeb00m 6 hours ago | parent | prev | next [-]

codex cli is missing a bunch of ux features like resizing on terminal size change.

Opencode's core is actually written in zig, only ui orchestration is in solidjs. It's only slightly slower to load than neo-vim on my system.

https://github.com/anomalyco/opentui

bdangubic 2 hours ago | parent | prev | next [-]

50ms to open and then 2hrs to solve a simple problem vs 4s to open and then 5m to solve a problem, eh?

wahnfrieden 6 hours ago | parent | prev [-]

Codex team made the right call to rewrite its TypeScript to Rust early on