News for hackers. Stuff that matters.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by perbu on Wednesday July 05, 2023 @03:59AM (#36597169)
In my opinion the language itself lends it self pretty well for GUIs. The concurrency and synchronization primitives are strong.

The problem would be to have native bindings to the GUI elements of the various desktop OSes. Which are hard to build as calling C or C++ libraries aren't a real option.

I would love to hear why Go as a language isn't suited for GUIs. I've built a couple of toy GUIs and it's been a pleasure doing so.

Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by pjmlp on Wednesday July 05, 2023 @04:30AM (#36597438)
> Which are hard to build as calling C or C++ libraries aren't a real option.

Using CGO is hardly any different from JNI in complexity.

Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by perbu on Wednesday July 05, 2023 @05:13AM (#36597774)
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by pjmlp on Wednesday July 05, 2023 @05:41AM (#36597999)
Last time I checked it is.

https://pkg.go.dev/cmd/cgo

Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by perbu on Friday July 07, 2023 @02:35AM (#36628005)
try it and see. there is a reason for the proverb.