3 ms·
Why is a speed part of the Go language contract but footprint of the executable is not? I, for one, would be quite miffed if an update of the Go compiler would
by rowanG077 5y ago
Why is a speed part of the Go language contract but footprint of the executable is not? I, for one, would be quite miffed if an update of the Go compiler would mean an application would no longer fit on my mcu. That is worse then the application running slower.
- gbear605 5y agoIdeally it could be a compiler flag. Even more ideally, you could tell your compiler what the max size you want is and then it would optimize for the best speed at a given executable footprint.
- masklinn 5y ago> Why is a speed part of the Go language contract but footprint of the executable is not? Because footprint of the executable has pretty literally never been, Go has always had deficient DCE and generated huge executables.
- rowanG077 5y agoIt also generates pretty slow executables. That doesn't invalidate the point.