[go-nuts] [generics] Fuzzer, Type Switches

2020-07-17 Thread Josh Hoak
I was playing around with trying to use generics to de-interface-ify a fuzzer implementation, and I ran into some stumbling blocks. is it possible to perform type switches? It seems the answer is currently no (example , design doc reference

Re: [go-nuts] [generics] Thank you Go team

2020-06-19 Thread Josh Hoak
Huge +1 here -- thank you Go Team! I've loved following the designs for generics, and I'm really loving playing around with this latest prototype. It was also fantastic to hear Phil Wadler talk about Monomorphism and Featherweight go . I'm really

Re: [go-nuts] runtime.GC - documentation

2016-11-29 Thread Josh Hoak
To clarify, the GC method has different behavior than how the background garbage collector works. GC calls gcStart with blocking mode, whereas the normal background garbage collector is called from proc.go and malloc.go