TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Sauron-native – A native cross-platform GUI for Rust

255 点作者 ivanceras将近 6 年前

13 条评论

whatshisface将近 6 年前
For Rust programmers that want to write GUIs, I highly recommend gtk-rs. It does not have the easiest-to-read documentation in the world but it is a good wrapper of gtk and it suffices for production use. Although it has not reached 1.0 yet, the changes to the API are slow and mostly happen in esoteric corners, so the development cost of keeping up is not noticeable. Further, since cargo has good versioning, it won't update and surprise you.
评论 #20534786 未加载
评论 #20536706 未加载
ivanceras将近 6 年前
Hi HN, This is a work-in-progress project inspired by this HN comment[0].<p>[0]: HN comment -(<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19746440" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19746440</a>)
评论 #20535455 未加载
评论 #20533565 未加载
评论 #20533700 未加载
yoz-y将近 6 年前
I may be missing something. I read native and cross platform, project is about TUIs, HTML and GTK... maybe I have my definitions wrong.
评论 #20536263 未加载
faitswulff将近 6 年前
For anyone else looking to get an overview of available GUI options in rust, there&#x27;s <a href="https:&#x2F;&#x2F;areweguiyet.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;areweguiyet.com&#x2F;</a>
评论 #20535054 未加载
评论 #20536942 未加载
评论 #20534800 未加载
alkonaut将近 6 年前
Good to see more alternatives in this space. If I can make one big app design request it would be this: Don’t assume that apps can always create their own windows. This has been a snag for winit and several others. Allow creating a GUI given an existing window handle.<p>See e.g. <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-windowing&#x2F;winit&#x2F;issues&#x2F;159" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-windowing&#x2F;winit&#x2F;issues&#x2F;159</a><p>If you create a rust ui framework that supports the VST windowing&#x2F;event loop model and just supports <i>one</i> GUI backend on Win32&#x2F;MacOS, then many people in the audio plugin community would be very happy.
vbsteven将近 6 年前
Interesting project, I’ll be checking this out soon.<p>I’ve been experimenting with several gui libraries in Rust lately and so far the GTK3 bindings seem to be the most promising for building native GUIs in Rust.<p>With native I mean GTK&#x2F;Qt style fast&#x2F;performant widgets that do not necessarily use platform-specific widgets.<p>This project seems to use GTK as one of its backends. I’m curious to see how the multiple backends architecture will influence the library design as GTK, html and TUI are vastly different.
评论 #20534067 未加载
wayneftw将近 6 年前
I want a multi process GUI architecture that lets me send messages to a native rendering process from a bundled sub-process which can be written in any language. Is it a bad idea? I don’t see anybody trying this…
评论 #20536911 未加载
评论 #20535886 未加载
评论 #20537100 未加载
评论 #20535734 未加载
nautilus12将近 6 年前
Since its a front end component and front end people are used to looking at gorgeous front ends and since you took the effort to make it functional (well done!) you should take the little bit of extra effort to also make it look pretty so it resonates with your audience. :). Rust is more a system language so you want to avoid that stigma from the outset.
rapsey将近 6 年前
These projects always stop (or make no useful progress) at the really difficult&#x2F;tedious work of abstracting cocoa and win32 API.
评论 #20533629 未加载
评论 #20533612 未加载
Multicomp将近 6 年前
This ui framework, if not abandoned by the tedium of win32 api integration, will make me sit up and actually try Rust for the first time. The TUI in particular looks great.<p>2020 was already slated for Rust for me but this may make me start dabbling in it a few months early (assuming I can find up to date leaning materials)<p>Tldr great job, please don&#x27;t give up on the hard part of win32 and macos but this has a great foundation feature set.
评论 #20533855 未加载
wokwokwok将近 6 年前
It runs on wasm in a browser; not really mobile support.<p>...and the author is abandoning it to move on to other things?<p>&#x2F;shrug<p>Didn’t solve any of the actually hard problems of a cross platform or rust based UI imo.
评论 #20537284 未加载
评论 #20534029 未加载
评论 #20534128 未加载
mseidl将近 6 年前
Did my dog Melkor make you?
crimsonalucard将近 6 年前
What&#x27;s the &quot;best&quot; solution out there for GUI&#x27;s? Looking for varying opinions of people who dabbled in several frameworks.
评论 #20535713 未加载