<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms" -->

---
title: Ray is getting rusty! | daily.dev
description: Spatie rewrote its Ray debugging app in Rust with the GPUI UI engine, and Ray 4 is a free upgrade. It is ready to receive logs in 41 ms and handles 10,000 logs...
canonical: https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ray is getting rusty! | daily.dev
og:description: Spatie rewrote its Ray debugging app in Rust with the GPUI UI engine, and Ray 4 is a free upgrade. It is ready to receive logs in 41 ms and handles 10,000 logs...
og:url: https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms
og:image: https://api.daily.dev/og/posts/PzWDHH8mS.png
og:image:alt: Ray is getting rusty!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ray is getting rusty!

**[Spatie](https://daily.dev/sources/spatie)** · 5 min read · 4 upvotes · 0 comments

## Summary

Spatie rewrote its Ray debugging app in Rust with the GPUI UI engine, and Ray 4 is a free upgrade. It is ready to receive logs in 41 ms and handles 10,000 logs about 194 times faster than Ray 3. It uses about 4 times less memory at idle and the download is about 5 times smaller. Claude built a first version of the rewrite, guided by a Playwright-based parity harness that compared Ray 3 and Ray 4 screenshots, logs and on-screen text across overnight loops. The team estimates the work took four weeks instead of about ten months.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spatie.be/blog/ray-is-getting-rusty>

## Questions this post answers

### How do you port a large Electron app to Rust with an AI coding agent without breaking features?

Build a parity harness that runs the same scenarios in the old and new app and compares screenshots, logs, files on disk and on-screen text via OCR. Spatie drove Ray 3 with Playwright, set per-scenario pixel-difference thresholds, and ran an AI fix loop overnight. Five 7-8 hour loops produced a rough but solid base in one week.

_Developers weighing AI-assisted rewrites can follow how others pull them off on daily.dev._

### How much faster and lighter is a Rust and GPUI rewrite of an Electron app like Ray?

Ray 4 on Rust with GPUI is ready to receive logs in 41 ms and handles 10,000 logs about 194 times faster than the Electron-based Ray 3. It uses about 4 times less memory at idle and the download is about 5 times smaller. Even after 10,000 logs, memory stays near Ray 3's idle level of around 350 MB.

_Anyone deciding whether to leave Electron can keep up with real migration results on daily.dev._

## Similar posts on daily.dev

- [fastlogging-rs](https://daily.dev/posts/fastlogging-rs-0kvyn1iza) · Planet Python · 0 upvotes · 0 comments
- [As If](https://daily.dev/posts/as-if-v1hq1kbgo) · RUBYLAND · 0 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#claude](https://daily.dev/tags/claude), [#electron](https://daily.dev/tags/electron)

[View this post on daily.dev](https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ray is getting rusty!","url":"https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms"},"datePublished":"2026-11-25T08:51:58.702Z","dateModified":"2026-11-25T08:52:20.102Z","description":"Spatie rewrote its Ray debugging app in Rust with the GPUI UI engine, and Ray 4 is a free upgrade. It is ready to receive logs in 41 ms and handles 10,000 logs...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e1fbd56d2da740b3c9ee21ae3c25aca3?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e1fbd56d2da740b3c9ee21ae3c25aca3?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Spatie","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spatie","logo":"https://media.daily.dev/image/upload/s--gIgY1G9g--/f_auto,q_auto/v1780213606/logos/spatie?_a=BAMAMiWQ0","url":"https://daily.dev/sources/spatie"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rust,claude,electron","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spatie","item":"https://daily.dev/sources/spatie"},{"@type":"ListItem","position":3,"name":"Ray is getting rusty!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ray-is-getting-rusty--pzwdhh8ms#faq","mainEntity":[{"@type":"Question","name":"How do you port a large Electron app to Rust with an AI coding agent without breaking features?","acceptedAnswer":{"@type":"Answer","text":"Build a parity harness that runs the same scenarios in the old and new app and compares screenshots, logs, files on disk and on-screen text via OCR. Spatie drove Ray 3 with Playwright, set per-scenario pixel-difference thresholds, and ran an AI fix loop overnight. Five 7-8 hour loops produced a rough but solid base in one week. Developers weighing AI-assisted rewrites can follow how others pull them off on daily.dev."}},{"@type":"Question","name":"How much faster and lighter is a Rust and GPUI rewrite of an Electron app like Ray?","acceptedAnswer":{"@type":"Answer","text":"Ray 4 on Rust with GPUI is ready to receive logs in 41 ms and handles 10,000 logs about 194 times faster than the Electron-based Ray 3. It uses about 4 times less memory at idle and the download is about 5 times smaller. Even after 10,000 logs, memory stays near Ray 3's idle level of around 350 MB. Anyone deciding whether to leave Electron can keep up with real migration results on daily.dev."}}]}
```

