Re:Go 1.8 Release Candidate 1 is released
by Manishearth on Wednesday January 11, 2017 @04:21AM
(#13372756)
Thanks.
Looks like the reason the time functionality is restricted is to avoid DOSes and server load, not to prevent against side channel attacks (which like I said are possible anyway with mutexes and channels).
The rest could be pretty easily implemented via docker or some other sandboxing method (the time stuff sort of can be handled too, but it's trickier). It might be more vulnerable to load, but it will be able to work with a pristine Go toolchain and provide options like switching between versions; much like the Rust playground.
faketime is very useful on its own. We use it to run network simulations in accelerated time.
https://github.com/ethereum/go-ethereum/blob/master/p2p/disc...
Im pretty sure the source code is available somewhere, though usage isn't very well documented. There's periodic requests on golang-nuts about how to get your own version up and running.