News for hackers. Stuff that matters.
Re:FyneDesk – Linux desktop environment in Go by metadat on Friday April 12, 2024 @09:08PM (#40019418)
Did they find a way around the stupendously slow build times for Golang GUIs? Last time I tried is was maddeningly slow.. like minutes to see any incremental change.
Re:FyneDesk – Linux desktop environment in Go by LelouBil on Friday April 12, 2024 @09:12PM (#40019451)
Really ? I didn't use Go much but it had by far the shortest compile time of any language I ever used.
Re:FyneDesk – Linux desktop environment in Go by metadat on Friday April 12, 2024 @09:14PM (#40019462)
Yeah, it's the best ..until you try to build a native executable GUI, then it's slower than cold tar. Blasphemous.. because how TF did Win95 + Delphi work so gosh darn well on 0.01% as many resources, and then we got to here? :D

Literally.. the machine has 40 fast cores and 384GB of very fast memory. Wow, just.. kind of nauseating. It could be a case study, I'm sure, because this exceeds even the compiler bloat of Electron.

Re:FyneDesk – Linux desktop environment in Go by yogorenapan on Saturday April 13, 2024 @03:51PM (#40025530)
CGO being slow is unavoidable. It’s external to Go and (afaik) has to be rebuilt every time
Re:FyneDesk – Linux desktop environment in Go by ajwillia_ms on Friday April 19, 2024 @02:59AM (#40084098)
It doesn’t have to be rebuilt every time. The incremental parts are missing when compared to the Go compiler, but when coding a GUI app with Go you’re not modifying the C packages behind the scenes so they won’t need recompiled.

This means one rather slow compile to start and then it’s back to super fast!

Re:FyneDesk – Linux desktop environment in Go by ajwillia_ms on Thursday April 18, 2024 @04:46PM (#40080535)
The whole desktop compiles here in around 7 seconds for me. First build time will be longer as it must build the dependencies too.