TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Clojure Desktop UI Framework

277 pointsby ducktective9 months ago

13 comments

kpw949 months ago
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 months ago
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 months ago
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 months ago
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 months ago
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 months ago
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 months ago
I love this. Clojure will be perfect for this.<p>Per the other comment, might do less dunking
hyperhello9 months ago
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 months ago
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 months ago
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 months ago
If only Clojure wasn&#x27;t tied to the fucking JVM
评论 #41366254 未加载
评论 #41381150 未加载
评论 #41371769 未加载
dzonga9 months ago
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 months ago
Lol, checking out the readme. Dunking on stuff isn&#x27;t what makes you an opinionated framework.
评论 #41364135 未加载