You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spent way too much time in the FileSystem, simply because it is such a huge part of the PDM. But now it is about time to finish it.
What is next? The GUI. I am not a GUI expert and I probably am making tons of stupid mistakes but it needs to be here.
About what GUI? Well, I am not a fan of Python (PySide is pretty okay, but it looks outdated) and I like Nim a lot more, but I realized soon that compiling Qt takes a lot of time with Nim. Too much (about half a minute on my laptop). That is why I went searching for alternatives. BTW, they all have a smell. And if there is one PL that I like even more than Nim it is Go, because it is so simple and I am just a simple programmer.
That is why I looked for a multi-platform GUI with Go, maybe also with Android and WASM. There are only two that can do that. GIO and Fyne. GIO is probably the best choice if you care about performance and tweaking. I care about neither. Fyne is probably the best choice if you just want to get things done.
Two benefits of Go is that:
I can use all in one place and even reuse some code.
I can compile the GUI into one massive executable file, so I don't have any problems with AppImage and the like.
That is it. If you have any suggestions or ideas, please put a note here.
I think that I am going to start at the end of this month.
Edit:
About Fyne. Have a look here. https://www.youtube.com/watch?v=EsX8CgC_N5M&t=565s
It looks miles ahead of Qt Widgets. QML is probably nicer but then you are into the land of magic and I don't like that.
About the communication between the server and the client, I will be using gRPC JSON, that's a simple protocol. There are also ways to use gRPC JSON with Python. So maybe we can also make a Python client.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have spent way too much time in the FileSystem, simply because it is such a huge part of the PDM. But now it is about time to finish it.
What is next? The GUI. I am not a GUI expert and I probably am making tons of stupid mistakes but it needs to be here.
About what GUI? Well, I am not a fan of Python (PySide is pretty okay, but it looks outdated) and I like Nim a lot more, but I realized soon that compiling Qt takes a lot of time with Nim. Too much (about half a minute on my laptop). That is why I went searching for alternatives. BTW, they all have a smell. And if there is one PL that I like even more than Nim it is Go, because it is so simple and I am just a simple programmer.
That is why I looked for a multi-platform GUI with Go, maybe also with Android and WASM. There are only two that can do that. GIO and Fyne. GIO is probably the best choice if you care about performance and tweaking. I care about neither. Fyne is probably the best choice if you just want to get things done.
Two benefits of Go is that:
That is it. If you have any suggestions or ideas, please put a note here.
I think that I am going to start at the end of this month.
Edit:
About Fyne. Have a look here. https://www.youtube.com/watch?v=EsX8CgC_N5M&t=565s
It looks miles ahead of Qt Widgets. QML is probably nicer but then you are into the land of magic and I don't like that.
About the communication between the server and the client, I will be using
gRPCJSON, that's a simple protocol. There are also ways to usegRPCJSON with Python. So maybe we can also make a Python client.Beta Was this translation helpful? Give feedback.
All reactions