Easy methods to scale back utility exe measurement.
Could I make my exe in small measurement by introducing idea like runtime loading code in golang
I feel you may take away debug data from an utility when constructing with -ldflags, if you wish to do that
for instance:
-ldflags: Linker flags can be utilized to strip debug data and unused code.
go construct -ldflags "-s -w" -o yourapp
-s: Omit the image desk and debug data.
-w: Omit the DWARF image desk.
shortcoming is clearly, that you’ll lose all of your debug data
if a crash happens, you cannot discover the issue
strive uing upx, https://upx.github.io/
You would at all times use Tinygo if binary measurement is a priority.