Skip to main content

Fuchsia OS team member Raph Levien reveals a performance-first, cross-platform code editor

Raph Levien, a member of the Fuchsia OS team at Google, apparently spends a significant amount of his time (his 20% time perhaps) on Xi, a new text/code editor. Levien has lofty goals for the code editor, including availability for all desktop platforms, and, of course, being the primary text editor for Google’s forthcoming Fuchsia OS.

From the project’s abstract:

Xi is a project to build a modern text editor with uncompromising performance. Its thoroughly async, loosely coupled design promises performance and rich extensibility, but creates interesting engineering challenges, requiring advanced algorithms and data structures. In addition to pushing the state of computer science for text handling, the project also seeks to build an open-source community for teaching and learning, and working together to create a joyful editing experience.

Xi (pronounced “Zigh”) puts Levien in the ring with Google’s own Android Studio, Microsoft’s Visual Studio (and VS Code), Apple’s Xcode and even recent Google ally Jetbrains’ IDEA family. In some ways, the editor also goes up against editors like Github’s Atom and Sublime Text. Each of these competitors have different goals that make them best at what they do. For Xi, the goal is to be fast, no matter what.

“It really came from researching data structures… kind of going deeper into it and realizing that this could be the primitive, this could be the basis for building a really good text editor,” Levien says. “It feels to me that there’s a need for this. There are editors that are very usable but built on older technology, and then there are editors that are very rich in functionality, but are not performant. The most important thing of Xi is uncompromising performance.”

To make these speeds possible, Xi separates its core (built with Rust) from the UI. This separation also makes it easier to be cross-platform, with in-progress targets for Mac, Linux, Windows, and in past even Android.

If you want to learn more, check out Raph’s recent talk:

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Kyle Bradshaw Kyle Bradshaw

Kyle is an author and researcher for 9to5Google, with special interests in Made by Google products, Fuchsia, and uncovering new features.

Got a tip or want to chat? Twitter or Email. Kyle@9to5mac.com