you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago (2 children)

Interesting, since golang only includes the parts of the stdlib that are used in the executable binary.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 4 points 3 years ago (1 child)

    I just tested it and a simple hello world program still produces a 1.7MiB binary, while the device only has 512KiB of RAM.

    package main
    
    import "fmt"
    
    func main() {
        fmt.Println("hello world")
    }
    
  • source
  • parent
  • hideshow 1 child comment