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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Best stack for building a desktop app?

17 点作者 senda大约 1 年前
should run across Mac&#x2F;linux&#x2F;windows.<p>What tech are you using guys?

17 条评论

codeptualize大约 1 年前
Tauri <a href="https:&#x2F;&#x2F;tauri.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tauri.app&#x2F;</a>
评论 #40242033 未加载
评论 #40241116 未加载
pdevr大约 1 年前
You have to look at old languages for this.<p>In the order of preference:<p>Qt (C++), Swing (Java), and Visual Component Library (Delphi) are three tried and tested options for you.
评论 #40240492 未加载
mherrmann大约 1 年前
What are your requirements? Performance, development speed, native look and feel, ... Which languages are you familiar with? Do you have a preference with regards to the language?
steffann大约 1 年前
I have good experience with <a href="https:&#x2F;&#x2F;wails.io" rel="nofollow">https:&#x2F;&#x2F;wails.io</a>. It uses a Go backend and a JavaScript frontend with Go functions exposed to the JavaScript side, and events with senders and listeners on both sides. All without the enormous bloat of Electron.<p>On the JavaScript side you can use whatever you like: plain JavaScript, react, vue, svelte, … whatever you’re familiar with.<p>And it can cross compile to Windows, Mac and Linux, so all major platforms covered.
评论 #40242093 未加载
mhd大约 1 年前
FreePascal&#x2F;Lazarus or Tcl&#x2F;Tk.<p>If more time is available, then a core of &lt;favorite language&gt; plus a view part in the native platform language and API.
评论 #40241939 未加载
fidotron大约 1 年前
JetBrains have their tweaks to the JRE available: <a href="https:&#x2F;&#x2F;github.com&#x2F;JetBrains&#x2F;JetBrainsRuntime">https:&#x2F;&#x2F;github.com&#x2F;JetBrains&#x2F;JetBrainsRuntime</a><p>The major problems begin when you want to leverage the GPU or multimedia components in which case you would want something else.
mike986大约 1 年前
Not a full blown UI kit but lots of cross platform goodies (C++)<p><a href="https:&#x2F;&#x2F;www.cockos.com&#x2F;wdl&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cockos.com&#x2F;wdl&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;justinfrankel&#x2F;WDL">https:&#x2F;&#x2F;github.com&#x2F;justinfrankel&#x2F;WDL</a><p>WDL Virtual Window system:<p><pre><code> Allows the building of dynamic, complex UIs within OS hosted windows Included controls for text display, combo boxes, buttons, sliders, list boxes Supports full transparency, overlays, controls with shadows&#x2F;highlights outside of their range Fully themeable (uses LICE for compositing)</code></pre>
yoav大约 1 年前
I got fed up with electron a few months ago and making steady progress building Electrobun.<p>You can think of it like Tauri but you just write typescript for the main and browser contexts. Under the hood it’s powered by bun and zig.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;blackboardsh&#x2F;electrobun">https:&#x2F;&#x2F;github.com&#x2F;blackboardsh&#x2F;electrobun</a><p>Still a ways to go (I’m currently porting a large app from electron to electrobun and filling in the api as I go) but check back in a couple months.<p>It’ll be (in my opinion) the best stack to build desktop apps.
cess11大约 1 年前
Personal projects, Racket with gui-easy. Close to frictionless GUI development, very nice language(-platform) to build with. Excellent metaprogramming.<p>Professionally, Java and JavaFX. Decent multi-platform story, there&#x27;s a config flag for tuning everything, and there&#x27;s a library for pretty much anything anyone has ever had an issue with and when they don&#x27;t fit as well as you&#x27;d like you just tear it up with reflection and fix.
评论 #40242625 未加载
1oooqooq大约 1 年前
flutter. specially now that google fired half the team<p>it&#x27;s not worse than tauri&#x2F;electron for desktop, and you get mobile for free if needed.
评论 #40240534 未加载
评论 #40220960 未加载
评论 #40242196 未加载
pid-1大约 1 年前
In general for a great experience on the desktop you want to use the native stack of each platform, so C# &#x2F; Windows SDK in Windows, GTK in most Linux distros and whatever Mac officially recommends.<p>You could use electron and build cross platform apps using web technologies, but I&#x27;m yet to use an electron based app that doesn&#x27;t feel like crap.
评论 #40240852 未加载
bitwize大约 1 年前
Electron. &#x2F;thread<p>Seriously, even John Carmack would probably use Electron because it provides the most value to customer per unit of effort input.
评论 #40240730 未加载
kleiba大约 1 年前
I&#x27;ve used wxwidgets in the past, both from C and from Python. It&#x27;s appeal is in its simplicity.
SeriousM大约 1 年前
If you&#x27;re using .net: maui Cross platform for win&#x2F;linux&#x2F;mac&#x2F;ios&#x2F;android
评论 #40240451 未加载
评论 #40235882 未加载
sandwichukulele大约 1 年前
with no additional context when running on mac&#x2F;linux&#x2F;windows, I like boring technologies, doing everything within python running locally while rendering everything in the user&#x27;s default web browser with basic HTML&#x2F;js&#x2F;css
评论 #40240538 未加载
AhtiK大约 1 年前
Depending on the use case either Avalonia or Electron.
petabyt大约 1 年前
Most ideas that could be desktop apps would be just as good as web apps or browser extensions. For myself Ive been using libui-ng.github.io&#x2F;libui-ng&#x2F; for a few projects lately
评论 #40240586 未加载
评论 #40240674 未加载