flâneur — a map of the web's best reading

Building a fast Electron app with Rust

keminglabs.com · 2,386 words · saved by 1 readers

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

Explore this link on the map →

saved by

related reading