1. 12
  1.  

  2. 7

    I think their real code is doing something more than the example? Go does some liveness analysis and will notice the ballast is unused and collect it. You need to use keepalive after your program.

    1. 1

      Can’t you just call malloc/free from Go?