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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Clojure Desktop UI Framework

277 点作者 ducktective9 个月前

13 条评论

kpw949 个月前
I&#x27;m sure Clojure is a great language for some tasks...<p>But, looking at the examples (picked the Wordle one since I know that game): <a href="https:&#x2F;&#x2F;github.com&#x2F;HumbleUI&#x2F;HumbleUI&#x2F;blob&#x2F;main&#x2F;dev&#x2F;examples&#x2F;wordle.clj">https:&#x2F;&#x2F;github.com&#x2F;HumbleUI&#x2F;HumbleUI&#x2F;blob&#x2F;main&#x2F;dev&#x2F;examples&#x2F;...</a><p>I find it extremely hard to read. Even small snippets, say line 56 to 74 which define this &quot;color&quot;, &quot;merge-colors&quot; and &quot;colors&quot;... then the &quot;field&quot; one lines 76 to 117 is even harder.<p>is it more natural read for people familiar with writing functional programs? (am I permanently &quot;broken&quot; due to my familiarity with imperative programing?)<p>I wonder what the same Wordle example would look like in, say pure Flutter.<p>Also wonder how would that code look with external dependencies (say hitting a server to get the word of the day), and navigation (with maintaining state in between those pages)
评论 #41364466 未加载
评论 #41367342 未加载
评论 #41365065 未加载
评论 #41364526 未加载
评论 #41364713 未加载
评论 #41364873 未加载
评论 #41369988 未加载
评论 #41367281 未加载
评论 #41364907 未加载
评论 #41364477 未加载
评论 #41364506 未加载
评论 #41369961 未加载
评论 #41372841 未加载
评论 #41364517 未加载
评论 #41368722 未加载
评论 #41367337 未加载
评论 #41364732 未加载
评论 #41366991 未加载
评论 #41367685 未加载
评论 #41365385 未加载
评论 #41367010 未加载
评论 #41365995 未加载
评论 #41367323 未加载
评论 #41364467 未加载
dig19 个月前
Clojure and Flatlaf [1] tick all the boxes for me. If I want declarative-ish UI, I can always throw in Seesaw [2]. Everything else I find cumbersome, pulls tons of unnecessary dependencies and (usually) ends up abandoned in a year or two. With Swing, I know it is well-documented and will work for the next 30 years. But YMMV and I&#x27;m hoping that HumbleUI could be an exception.<p>[1] <a href="https:&#x2F;&#x2F;www.formdev.com&#x2F;flatlaf&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.formdev.com&#x2F;flatlaf&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;clj-commons&#x2F;seesaw">https:&#x2F;&#x2F;github.com&#x2F;clj-commons&#x2F;seesaw</a>
评论 #41370868 未加载
评论 #41369366 未加载
layer89 个月前
The readme says it is aiming for a “web look”, with no intention to make it look — and, presumably, behave — native. As a user, that’s not what I expect and hope for from a desktop application.
评论 #41366162 未加载
评论 #41366882 未加载
评论 #41367872 未加载
评论 #41368786 未加载
评论 #41367200 未加载
roenxi9 个月前
Really could use a link to the API docs in the README.md, it is a bit hard to judge when the &quot;documentation&quot; such as they have so far is sparse. But it is nice to see a newish UI project.<p>I will say I&#x27;ve found Clojure to be a success story for doing GUI work. Projects like Dave Ray&#x27;s seesaw (<a href="https:&#x2F;&#x2F;github.com&#x2F;clj-commons&#x2F;seesaw">https:&#x2F;&#x2F;github.com&#x2F;clj-commons&#x2F;seesaw</a>) are an amazing demo of how one man can rearchitect an API like Swing into something that is deceptively fun to use. High hopes that this project goes somewhere that is similarly enjoyable.
评论 #41364394 未加载
评论 #41364265 未加载
michaelsbradley9 个月前
Cljfx is also worth a look!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cljfx&#x2F;cljfx">https:&#x2F;&#x2F;github.com&#x2F;cljfx&#x2F;cljfx</a>
rlkf9 个月前
I found this dimension of the analysis:<p>&gt; People prefer native apps to web apps<p>&gt; Java has “UI curse”: Looked bad<p>to be at odds with this aspect of the design:<p>&gt; No goal to look native<p>&gt; Leverage Skia
评论 #41365998 未加载
评论 #41366460 未加载
zombiwoof9 个月前
I love this. Clojure will be perfect for this.<p>Per the other comment, might do less dunking
hyperhello9 个月前
Question about native integration. Does the framework support documents on a native level? Can I define a file type that opens the app when double clicked, maintaining the windows and data, etc?
评论 #41368715 未加载
Dansvidania9 个月前
Does anyone close to the project know when&#x2F;if it will no longer be in &quot;No docs, and everything changes every day&quot; release status?
评论 #41368707 未加载
cess119 个月前
What does it bring that <a href="https:&#x2F;&#x2F;github.com&#x2F;cljfx&#x2F;cljfx">https:&#x2F;&#x2F;github.com&#x2F;cljfx&#x2F;cljfx</a> does not?
BaculumMeumEst9 个月前
If only Clojure wasn&#x27;t tied to the fucking JVM
评论 #41366254 未加载
评论 #41381150 未加载
评论 #41371769 未加载
dzonga9 个月前
where did the myth that people prefer apps that look native to the platform come from?<p>There are two types of apps: 1. the ones that professionals use and 2. the ones that consumers use.<p>for 1. they don&#x27;t care if it looks native, as long as it works and is performant e.g. DAWs, Video Editing tools, Trading, etc.<p>2. likewise I don&#x27;t think it matters that much.<p>my guess is the myth came from OS makers.
评论 #41366122 未加载
评论 #41368184 未加载
评论 #41366132 未加载
评论 #41366152 未加载
webprofusion9 个月前
Lol, checking out the readme. Dunking on stuff isn&#x27;t what makes you an opinionated framework.
评论 #41364135 未加载