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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Cogentcore: Open-source framework for building multi-platform apps with Go

32 点作者 kristianp大约 22 小时前

11 条评论

Kholin大约 15 小时前
That's a great idea, but I tried the official website, and it seems everything is rendered using Canvas. This means you can't select or copy text, use the browser's text translation feature, open links with a middle-click, or use the Tab key to switch focus between page elements. These behaviors feel quite out of place in a browser. However, it might be a good idea for developing game interfaces, as games don't need to worry about such browser compatibility issues.
miffy900大约 16 小时前
&gt; allowing you to Code Once, Run Everywhere<p>May I suggest that everyone just drop this whole &#x27;develop&#x2F;program it once, run it everywhere&#x27; slogan that just gets repeated endlessly when people try to promote their new platform&#x2F;framework&#x2F;library or whatever? I&#x27;ve never seen it work out that way in practice. Never. All individual platforms have their own features, unique quirks and distinct, platform specific bugs and trying to abstract over all the platform specific stuff means you end up with either low-quality, or low-feature implementation that comes close to being usable, but still never quite USEFUL.<p>Even the web browser, the only one that ever came close to fulfilling that promise, still requires fixing or accounting for browser-specific implementation bugs or quirks or non-standard feature additions&#x2F;omissions. The closest you can get is just ignore Firefox, Safari and just target Chromium-based browsers, OR just use a subset of the latest web standards.<p>Considering how scrolling itself is entirely broken on the cogentcore website itself (I&#x27;m on desktop Chrome and my mousewheel and 3rd button scrolling doesn&#x27;t work), it&#x27;s not inspiring that they couldn&#x27;t get something basic like scrolling to work. Is it not possible to just delegate scrolling behaviour to the browser?
评论 #43935411 未加载
tlhunter大约 19 小时前
Do the apps render as slow as their website? <a href="https:&#x2F;&#x2F;www.cogentcore.org" rel="nofollow">https:&#x2F;&#x2F;www.cogentcore.org</a>
评论 #43934206 未加载
jitl大约 17 小时前
Code once run anywhere but at massive cost to user experience. Even if I wanted to use this I couldn’t see myself adopting when the website is so bad. Feels like Flash on an underpowered ee pc.
quaintdev大约 17 小时前
You all are talking about mobile loading issue. I am facing issue on Desktop Firefox.
anonzzzies大约 17 小时前
I like new &#x2F; different approaches to UI but jikes this site is not usable on mobile.
kamranjon大约 19 小时前
Has anyone used this? I’ve always wanted to build a native UI app in go but haven’t been too thrilled with the options out there. Am scanning the go.mod to see if I can figure out how they do it (not a huge fan of the embedded browser type stuff)<p>Edit:<p>Found some docs here: <a href="https:&#x2F;&#x2F;www.cogentcore.org&#x2F;core&#x2F;render" rel="nofollow">https:&#x2F;&#x2F;www.cogentcore.org&#x2F;core&#x2F;render</a><p>super strange website, seems to be using the UI library to actually render the website itself… which made it impossible for me to copy and paste the quote I wanted to share… try long tapping on your phone to copy some text
评论 #43934286 未加载
评论 #43933651 未加载
评论 #43933790 未加载
hysan大约 17 小时前
Tried to look at their website and docs on my phone and the stuttering is painfully noticeable. I’ll read a bit more but that doesn’t inspire confidence.
pritambarhate大约 12 小时前
Google is trying to build the same with Flutter.<p>Kudos to the CogentCore team to build and ship this! Looks like this is made by a 2 people team. That&#x27;s a lot of work to pull off!<p>I personally wanted something like this for Go for a while! Will try it out.
Alifatisk大约 13 小时前
I read the title and thought &quot;cool&quot;, then I checked out their example. Horrible. I&#x27;ve found a new respect for Flutter.
p0w3n3d大约 17 小时前
I went to their website and my phone is too slow to display the page...