cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.73k stars 82 forks source link

Golang Weekly appearance (and an app candidate for serious proof that the framework rocks!) #1097

Closed kristofer closed 2 months ago

kristofer commented 2 months ago

Describe the feature

One of the things I learned from working at NeXT, like 3+ years ago, was

let's make sure every library/framework has an app that shows the framework "workable"

And

in the same issue of Golang Weekly as Cogent's appearance ( https://golangweekly.com/issues/517 ) was a link to this:

https://github.com/jmigpin/editor

And me, am wondering just how hard might it be to port this app to this framework :-); Any opinions??

Relevant code

No response

theclapp commented 2 months ago

Check out all the apps under https://github.com/cogentcore/cogent, in particular, the IDE, Cogent Code, https://github.com/cogentcore/cogent/blob/main/code/README.md.

kkoreilly commented 2 months ago

Yes, as we state in the initial release blog post, there are various powerful apps built with the framework, including Cogent Code as @theclapp mentioned above (there is also a web version), Cogent Canvas, and the Emergent neural network models.

kristofer commented 2 months ago

I see that, terrific!!

fbaube commented 2 months ago

https://github.com/jmigpin/editor And me, am wondering just how hard might it be to port this app to this framework :-); Any opinions??

I'm wondering whether Cogent could co-exist with the Huma framework. Huma has the great idea that HTTP handlers are written by passing structs in & out, and the structs are auto- serialized & deserialized as JSON, and this whole scheme makes it possible to auto-generate documentation.

kkoreilly commented 2 months ago

Yes, it is very easy to create widgets from structs in Cogent Core (see forms), so it should be easy to make a GUI app based around something using Huma.