4 ms·
> strip hello package main func main() { println("hello world") } then: go build -ldflags -s -gcflags all=-l hello.go ls hello re
by svnpenn 4y ago
> strip hello
package main
func main() {
println("hello world")
}
then:
go build -ldflags -s -gcflags all=-l hello.go
ls hello
result:
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2022-08-30 7:47 PM 747520 hello.exe
- rep_lodsb 4y agoObviously Bill Gates was wrong: 640K isn't even enough to print hello world /s