Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web

Posted by mik3y 1 hour ago

Counter30Comment12OpenOriginal

Comments

Comment by mik3y 22 minutes ago

Sort of a digression, but it's the first time I've seen something like this:

    > We don't take pull requests. Have your agent open
    > an issue describing the bug or idea, and our agents
    > usually turn it around fast.
Pretty interesting approach, compared to receiving a zillion potentially sloppy PRs. Open source in the age of LLMs.. ("agent source"?)

Comment by rgbrgb 17 minutes ago

> Every app can run headless, so an agent can render to PNG, dump the element tree and drive it with scripted input.

This is cool. I hope SwiftUI / UIKit borrow this idea for native mac apps.

Comment by owenbrown 25 minutes ago

How should I think about this, compared to GPUI (https://gpui.rs)? What are pros and cons?

Comment by geoah 27 minutes ago

Looks interesting, especially the headless part. Been building various apps lately for ios/ipados/macos for personal use and I would love something like this that would be truly cross platform. Xcode with agent use has been really nice to work with, and t3.code support for emulators has been amazing to use.

Comment by esafak 11 seconds ago

Note the total absence of tests: https://github.com/anomalyco/rune/commits/dev/

Comment by bovermyer 29 minutes ago

So it's a UI framework by agents, for agents?

Comment by piker 9 minutes ago

> native GPU-rendered Rust UI

Sorry, what? I feel like I've studied the Rust UI ecosystem pretty well, and the examples look nice, but if I've learned anything it's that "native" and "GPU-rendered" are oxymoronic.

Likely the fonts will be fuzzy on various platforms, accessibility will be under-baked and it will land in the bucket with every other UI framework depending on winit. I like the personalities at anomaly, but I'm quite confused about what's even driving a decision to build something like this versus contributing to egui, GPUI, Iced, etc.

Comment by hmry 2 minutes ago

Yeah. Presumably "native" here just means "not Electron", which is the sales pitch for most AI-generated Rust libraries these days. ("Tell your agent to rewrite your Electron app into Rust~! :rocket emoji:")

Comment by rvz 12 minutes ago

This is what a vibe coded UI framework looks like.

Have a read of the clean documentation that they never wrote or read. [0]

All the clean code, architecture principles thrown out of the window in favour of hundreds of code smells, anti-patterns and tons of unmaintainable slop.

[0] https://github.com/anomalyco/rune/blob/dev/crates/rune/READM...

Comment by ForHackernews 27 minutes ago

...what does this do? Is it just a vibecoded version of https://www.egui.rs/

Comment by roblh 1 minute ago

The site is wild, but the little triangles in the bottom right corners of each window don't work properly on chrome desktop in windows 11. They aren't clickable, you can only resize the windows horizontally. Which seems weird considering how polished the rest of it looks.

Comment by esafak 4 minutes ago

It presumably powers OpenCode, the agent harness.