http://blog.golang.org/go-slices-usage-and-internals
2015-05-24 8:55 GMT-07:00 erik quanstrom <[email protected]>: >> Uhm I might be mistaken, but I guess [8192]byte is an array, and []byte are >> slices - therefore they are different types. >> > > yes, exactly. i suppose this implies that different size arrays are not type > compatable > (yea pascal). also the fu := bar[:] looks a lot like the tedious casting > from c, and implies > dynamic allocation of the slice, i'm guessing. > > - erik >
