Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Gotchas, Irritants and Warts in Go Web Development. Parent comment
// p points to address 1000
p := (*int)(unsafe.Pointer(uintptr(1000)))
Of course, this is why use of the unsafe package is heavily discouraged.
There are no comments on this comment yet.
// p points to address 1000
p := (*int)(unsafe.Pointer(uintptr(1000)))
Of course, this is why use of the unsafe package is heavily discouraged.