Day is a cross-platform application framework for Rust that uses each platform’s native UI toolkit. Its declarative, reactive API lets you share application code, while the day toolchain handles building, testing, packaging, and distribution.
Day is a “batteries-included” solution, containing everything you need to create the highest-quality and most efficient applications possible, covering every aspect of the software delivery lifecycle, and includes integration with GitHub for continuous integration, UI testing, localized screenshot generation, and the generation of a customizable landing page.
The rush to Rust
Rust is all the rage these days. Once confined to only the most elite galaxy-brain developers who could wrangle the syntax and spar with borrow checkers, Rust’s amenability to agentic development has greatly flattened the previously steep learning curve for this amazing language, and thereby broadened the audience that is able to take advantage of it. These days, anyone can gain entry to the rarefied ranks of the Rust intelligentsia.
And yet, while the Rust ecosystem itself is replete with APIs for creating graphical user interfaces, they all somehow miss the mark. The popular community Are we GUI Yet? survey site summarizes the state of affairs thusly:
图表:Are we GUI Yet?
Rust's expressiveness and high level abstractions make it ideal for building intricate and complex user interfaces. Unfortunately, there is little consensus on what the best abstractions are. There are a number of bindings available today to existing frameworks, but those looking for a mature, easy to use, and completely Rust-based solution will most likely find themselves out of luck. Current approaches to building GUIs in Rust include interfacing with Electron and building GUIs with HTML (or a framework on top of it), while others have taken to using graphics APIs and various wrappers to emulate classical widgets.
So basically, your choices are to paint mimicked widgets onto a canvas or slap a web renderer around an HTML page or JavaScript canvas and bridge it through to a separate Rust process. These present the exact same set of compromises and unsatisfactory user experiences as the dominant cross-platform frameworks for the other languages, such as Flutter and Electron. Being written in Rust doesn’t somehow excuse these deficiencies.
This past weekend, a timely post titled Advice for the next 100 Rust GUIs discusses this state of affairs and goes on to lament that — despite the plethora of attempts thus far — we haven’t gotten very close to solving these shortcomings. In the Native is complicated section, the author writes:
图表:Raph Levien · Advice for the next 100 Rust GUIs · Linebender
Platforms continue to invest, and there are many fine details that are important for an app to look and feel native. One very notable example is Liquid Glass on iOS – if you use UIKit or SwiftUI, you can get that with little effort, but apps built with cross-platform toolkits won’t quite seem right. In addition, making gesture recognition, scroll dynamics, and IME 100% match the platform are not yet fully solved problems.
Day solves these problems by taking a different approach. Rather than pixel-pushing or web-jockeying, it drives the platform’s native widgets, screens, and navigation paradigms that are used throughout the rest of the host OS. Day creates apps that are indistinguishable from the first-party user interfaces that the platform vendors themselves (Apple, Google, Microsoft, etc.) recommend and use for most of their own applications.
You could, of course, do all this manually yourself: implement a platform-native Windows application with WinUI in C#, macOS with AppKit in Objective-C, Android in Java, iOS in Swift, Linux GTK in C, Qt in C++, and web in JavaScript. That would also achieve the same premium-quality and high-performance experience that users want. But that’s precisely what Day abstracts away: you can create the logical interface with an intuitive declarative API, and Day deals with all the messy details of the underlying platform’s nuts and bolts, while still exposing the ability to dip down into the platform-specific framework for fine-grained customization.
The Dawn of a Revolution
I’ve been building apps for decades. Back in the 1990s, I was an eager drinker of the Java “write once run anywhere” kool-aid, and briefly thought that Swing was the solution for the ages. More recently, I considered Swift and SwiftUI the best path forward — at least as far as bridging the iOS/Android divide — which is why I made Skip.
After all those years of chasing the cross-platform holy grail, I’ve come to a somewhat counterintuitive conclusion: the best way to make a great app that runs everywhere is to stop trying to make it look the same everywhere. That’s the core idea behind Day. A single codebase can define the application’s structure and behavior, while at the same time respecting the platform conventions and leveraging all the benefits of using the first-party SDKs: cohesiveness, performance, accessibility, and ongoing platform improvements inherited through native controls.
To be sure, Day is a new framework, but there are already plenty of apps you can download and try right now to see for yourself. The Day Showcase app gives an overview of the capabilities of the technology. Our gallery presents a variety of real-world applications, including mobile versions that are already shipping to the Apple App Store and Google Play Store: an ebook reader, a games app, and an RSS reader. Try them out for yourself and see what a difference using the true platform-native toolkit makes.
Rise and Shine
Until very recently, convincing you to try out a new app development framework would have required cajoling and enticements. No longer. It has become a well-established fact that agents excel at writing and maintaining Rust codebases, and they can whip up a proof of concept in a jiffy.
To see Day in action, simply fire up your agent of choice (Claude Code and Codex work especially well) and run something like:
Using the guidance at https://daybrite.dev/llms.txt build and launch a Day app for [macOS, Windows, Linux, iOS, Android, and/or web] that [does whatever you want].
… and then let it whirr for a bit. Once it comes up, you will experience firsthand the beauty and efficiency of a genuinely platform-native application. Be sure to have your app take advantage of the daybrite ecosystem of optional packages for Day: media, bluetooth, maps, charts, web views, and much more.
And for extra credit, push it to a GitHub repo with Actions and Pages enabled, let it run through the build, and post your work to the daybrite show-and-tell forum. Follow up with automated app store distribution and your project is done and dusted.
A new Day is here. It’s time to rise and shine.