A
A
Alexander Pikeev2020-09-05 14:30:52
go
Alexander Pikeev, 2020-09-05 14:30:52

Why is Go NOT suitable for desktop?

I have come across such statements more than once, now I don’t understand why it is poorly suited for desktop applications? There are ready-made libraries for the GUI, Go itself does not seem to be from "slow" languages ​​..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
uvelichitel, 2020-09-05
@Baryon

There is no GUI in the standard library. And there is no de-facto GUI library standard.
In addition, goroutines , lightweight streams, remain unclaimed in desktop applications. Go -- massively concurrent, is the best it has to offer. And it is customary to write GUI applications in the event loop style, well, or event driven as in QT. Nobody really knows how to write highly competitive graphical applications, there is no such practice and the main advantage of the language is not used.
The multi-threaded architecture of the graphics system is outlined by Rob Pike in " A Concurrent Window System " and implemented in the acme editor for Plan9. Perhaps this work will inspire you to create very unusual next-generation GUI applications))

I
Ilya Kaznacheev, 2020-09-10
@Color

Because there are languages ​​that are better suited and tailored for this. Go for another.
But if there is a desire, nothing prevents you from taking ready-made gouish libs for go, or (which would be more correct) writing goo in flutter, and logic in go. But it will likely take longer than with other languages, and you won't gain much.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question