Live data from Hacker News

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

github.com

11–18 of 18 posts

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

#12
> allowing you to Code Once, Run Everywhere

May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I'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.

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/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.

Considering how scrolling itself is entirely broken on the cogentcore website itself (I'm on desktop Chrome and my mousewheel and 3rd button scrolling doesn't work), it's not inspiring that they couldn't get something basic like scrolling to work. Is it not possible to just delegate scrolling behaviour to the browser?

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

#13

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) Edit: Found some docs here: https://www.cogentcore.org/core/render super strange website, seems to be using the UI library to actually render the website itself… which made…

I was able to open F12 dev tools on desktop on their website and all content is being rendered inside a element, which explains why you can't copy and paste.

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

#14
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.

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

#16
Google is trying to build the same with Flutter.

Kudos to the CogentCore team to build and ship this! Looks like this is made by a 2 people team. That's a lot of work to pull off!

I personally wanted something like this for Go for a while! Will try it out.

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

#17

> allowing you to Code Once, Run Everywhere May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I'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 tr…

>> May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I've never seen it work out that way in practice. Never.

Many apps that make hundreds of millions of dollars in revenue and have millions of users are built on cross platform technologies. (IntelliJ IDEs for example, and many Mobile apps which use same code for iOS and Android, Cursor, VS Code, etc). People use these apps even though they are not platform native and some of them have die hard fans too.

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

#18

> allowing you to Code Once, Run Everywhere May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I'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 tr…

>> May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I've never seen it work out that way in practice. Never. Many apps that make hundreds of millions of dollars in revenue and have millions of users are built on cross platform technologies. (IntelliJ IDEs f…

I mean if you have hundreds of millions of dollars in revenue anyway, then go ahead, feel free to use it
Post reply on HN