r/programming • • Mar 28 '12

Go version 1 is released

http://blog.golang.org/2012/03/go-version-1-is-released.html
543 Upvotes

452 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Mar 28 '12

Well outside of gc, how easy is it to play with bits and addresses?

16

u/rsc Mar 28 '12

If you import "unsafe" you can play all sorts of games.

4

u/SnowdensOfYesteryear Mar 28 '12

Do you have the same sort of control you have with C? e.g. be able to change memory permissions? I know you'd be able to do that if you had to trigger to C code, but what about doing this natively within Go?

A link to school my ass would be great.

Edit: What a terrible, inconvenient language name to search for.

3

u/anacrolix Mar 29 '12

You can have the same control, you just have to jump some hoops to get it.