I've had Opus re-write Linear UI in Rust using
@penzington2K followers
113,476 views
24 Comments
Comments from the original post on X (Twitter)

@penzington
It's a deep clone, i.e. it had to re-write from scratch in Rust, among other things: Linear’s sync engine Offline cache and write queue Optimistic updates Real-time collaboration (Y.js) Presence ProseMirror editor Markdown rendering Chrome-like text layout Linear’s theme system Orbiter UI components Command menu (⌘K) Search and ranking Animation system List virtualization Drag-and-drop Diff viewer Spellcheck Auto-updater
19 likes

@thdxr
try it with rune. @LukeParkerDev has some interesting techniques for this and making sure all the tiny details match
19 likes

@huacnlee
Have you tried for GPUI Fast?
4 likes

@penzington
wait, it's not already fast? (no I haven't yet!)
2 likes

@huacnlee
Fast and lower CPU cost, that important!
1 like

@andrestaltz
Try Fable 5.2. maybe it'll have less paper cuts
4 likes

@penzington
papercut minimiser, this can't go wrong
2 likes

@andrestaltz
Actually, this problem resembles a lot another problem I had at work. We needed to convert a bunch of figma designs into front-end code. The trick was to use Opus 5.5 and sub agents. You tell the orchestrator agent to give one sub agent for each UI component in the figma. And each sub agent is focused on perfectly implementing a single section or a single component. The results are basically 99% or 100% accurate. Before without sub agents it used to be more like 80% accurate which required hand holding. Also it requires Opus 5.5 with other models it came out also inaccurate. But I feel like at least internally this problem has been solved enough for us and we have very strong accuracy.
1 like

@penzington
Yeah, I bet if I spent more than a few days and a single sub reset on this it could get very close to 100%. But it's still a distraction and a burden for support, which we don't really need, especially since the gains are not game changing.
1 like

@thanaen_dev
I dare you to ship it as is. I'd use it.
1 like

@kippe07
I watched @raycast's "The new standard" where @artman was mentioning this. I'm still curious to know why would Linear do something like this in the future? Rendering speed is impressive, though!
1 like

@zyeutequebec
that papercut point is the whole story — the clone looks done until you actually try to live in it. did any part survive as something you'd keep using?

@matzatorski
wow! super cool!

@vishalanton_
This is insane

@wu_chong4136
Now every app is getting a GPUI rewrite 😂

@jdggggyujhbc
time to give it to fable

@thekitze
who will tell bro

@penzington
About Exact/Contract, Fable, or what else did I miss?
2 likes

@thekitze
Fable haha

@penzington
By near future I meant tomorrow of course



