Hacker News new | ask | show | jobs
by singular 5194 days ago
In Go, you'd have to be using the unsafe package and some gnarliness to cast between the allocated pointer and int, so you just wouldn't be able to do this in vanilla Go.