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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Conrod – A Rust GUI Library

201 点作者 mitchmindtree超过 10 年前

16 条评论

plq超过 10 年前
I have mixed feelings about this.<p>On one hand, I&#x27;m enthused that Rust, arguably the only serious contender to C++&#x27;s throne, is gaining traction.<p>On the other hand, I&#x27;m scared that respectable projects like Qt (~6M lines of C++, man-millenia of work!) will be considered &quot;obsolete&quot; by the coming generation and another cyle of wheel reinvention will begin, tossing away man-centuries worth of polished, working code on the sole ground that it&#x27;s C++.<p>It&#x27;s not like C++ is going anywhere anytime soon, (Some serious infrastructure reportedly still runs on COBOL after all!) but what if we could finally settle down on a technology for a certain kind of problem and focus <i>all</i> our energy on building new stuff? Wouldn&#x27;t that be <i>grand</i>?<p>I wonder whether there&#x27;s another industry that keeps reinventing itself every 20 to 30 years and still gets away with it.
评论 #8244621 未加载
评论 #8244669 未加载
评论 #8245516 未加载
评论 #8245795 未加载
评论 #8246510 未加载
评论 #8245442 未加载
评论 #8244380 未加载
评论 #8245772 未加载
评论 #8244804 未加载
mlinksva超过 10 年前
I had to look up what &quot;immediate mode&quot; means -- <a href="http://sol.gfxile.net/imgui/" rel="nofollow">http:&#x2F;&#x2F;sol.gfxile.net&#x2F;imgui&#x2F;</a> discussion at <a href="http://lambda-the-ultimate.org/node/4561" rel="nofollow">http:&#x2F;&#x2F;lambda-the-ultimate.org&#x2F;node&#x2F;4561</a><p>Add to <a href="https://github.com/rust-lang/rust/wiki/Community-libraries#gui" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;wiki&#x2F;Community-libraries#g...</a> ?
评论 #8244755 未加载
评论 #8244239 未加载
kolev超过 10 年前
The more I hear about Rust, the happier I get. It&#x27;s an amazing language and a platform and the more adoption it gets, the higher the chances for me also get to one day use it at work and that&#x27;s what I really want, honestly!
pselbert超过 10 年前
It&#x27;s inspiring to see developers willing to port non-trivial C++ projects over to Rust. The more pioneers are willing to lay critical groundwork like this the more promise I see in Rust for the immediate future.
skybrian超过 10 年前
It seems odd that he says Conrod has draw signatures that are &quot;concise&quot; and gives an example with 11 arguments. Perhaps some of these parameters should be wrapped in a struct?
评论 #8243565 未加载
评论 #8243576 未加载
zwegner超过 10 年前
Pretty sweet looking. After seeing the Envelope A&#x2F;B widgets, I thought &quot;wonder if this was made for the purpose of a UI for a software synthesis library?&quot; And sure enough, it was :) Is the synthesis package open source (or going to be)? EDIT: nvm, found it: <a href="https://github.com/mitchmindtree/rust-dsp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mitchmindtree&#x2F;rust-dsp</a><p>Glad to see Rust getting more traction. I&#x27;m not a huge fan of the syntax, and I&#x27;m personally putting my chips in the purely-functional space--but it&#x27;s the most promising as far as a practical C++ replacement with much better semantics, which is sorely needed.
评论 #8243591 未加载
berkut超过 10 年前
Isn&#x27;t using immediate mode going to make implementing more complex widgets like multi-line text-edits with selection and style, and more importantly tree controls with collapsed&#x2F;expanded persistent state that lazily load children (or only display items that are visible in the active view area) more difficult?
评论 #8245435 未加载
评论 #8245232 未加载
评论 #8245210 未加载
BinaryHole超过 10 年前
Does anyone has the same thought with me? The complexity of Rust is close to C++ and around equal to Java.And as many people&#x27;s tought, if you don&#x27;t advocate to use the GC, are there any reason to use a language which is no-simple and not faster than C++????
评论 #8245538 未加载
评论 #8246006 未加载
评论 #8245540 未加载
bithush超过 10 年前
Is there any word from Mozilla on their position for an official UI toolkit for Rust?<p>I am past caring if it is a totally native looking toolkit, just as long as it looks good&#x2F;consistent across all platforms with hardware acceleration I am good to go.
评论 #8243740 未加载
评论 #8243586 未加载
评论 #8243584 未加载
hhm超过 10 年前
Last time I checked this was the main thing that was missing for Go (a complete, multi platform GUI lib). Has there anything like this arisen yet? Some quick googling points to Gothic, which sounds promising.
评论 #8243581 未加载
评论 #8245700 未加载
评论 #8243469 未加载
darkpore超过 10 年前
Is there any plan to abstract away the need to handle drawing the widgets yourself, and provide layout functionality?
评论 #8245814 未加载
Jemaclus超过 10 年前
This is amazing, especially for only being two weeks old. I played around with Rust back when it was 0.10 (is it still?), and it&#x27;s an awesome language. I can&#x27;t wait to see this stuff get more advanced. Great work!
评论 #8243387 未加载
评论 #8243662 未加载
thinkpad20超过 10 年前
Super cool! Very impressive that this all came together in such a short amount of time. Having &quot;real-world&quot; projects like this in Rust is essential, and this library looks great, so kudos.
peetle超过 10 年前
Kudos to you! Let us put the scourge that is C++ to rest.
ajindam超过 10 年前
I must say, very very efficient on my teeny processor.
atmosx超过 10 年前
Is there any project in Rust that is deployed even in dev environments?
评论 #8243809 未加载