Building a fast Electron app with Rust
When I built Finda, I wanted it to be fast — specifically, to respond to all user input within 16 milliseconds. Given this goal, you might be surprised to learn that Finda is built with Electron, a framework that’s often decried for being the opposite of fast. In this article, I’ll explain how Finda uses Rust to leverage Electron’s strengths (easy packaging, access to complex OS-specific APIs, the visual capabilities of the browser) while minimizing its downsides of unpredictable latency and memory usage. Before diving into the technical details, it’ll help to understand the design goals of Finda itself. Finda supports a single interaction: You type stuff, and it finds things — browser tabs, text editor buffers, local files, browser history, open windows, whatever: The goal is for Finda to feel not like an application, but more like Command-Tab, just part of the operating system itself, appearing instantly when needed and afterwards disappearing just as quickly. There’s no need for men
Building a fast Electron app with Rust Upgrade to a different browser or install Google Chrome Frame to experience this site. Keming Labs > Blog > Building a fast Electron app with Rust Building a fast Electron app with Rust 2018 March 18 Kevin J. Lynagh When I built Finda , I wanted it to be fast - specifically, to respond to all user input within 16 milliseconds. Given this goal, you might be surprised to learn that Finda is built with Electron, a framework that's often decried for being the opposite of fast. In this article, I'll explain how Finda uses Rust to leverage Electron's strengths
saved by
related reading
- How's Linear so fast? A technical breakdownperformance.dev
- Rewriting Bun in Rust | Bun Blogbun.com
- A half-hour to learn Rustfasterthanli.me
- The Conductor Rewrite: What They Changed to Make It Fastperformance.dev
- Building data-centric apps with a reactive relational databaseriffle.systems
- Index 1,600,000,000 Keys with Automata and Rust - Andrew Gallant's Blogburntsushi.net
- How (and why) we rewrote our production C++ frontend infrastructure in Rustblog.nearlyfreespeech.net
- Can We Make Yew Even Faster?youtube.com
- How Mozilla’s Rust dramatically improved our server-side performance | Figma Blogfigma.com
- Beating the fastest lexer generator in Rustalic.dev
- (Re)writing an interpreter in Rust – Danny van Kootendannyvankooten.com
- Bringing async/await to embedded Rust - Ferrous Systemsferrous-systems.com