New Google Go Release
groups.google.com
groups.google.com
Googling for it!! "Go" is everywhere. "Google go", golang, go-nuts and golang-nuts tend to coincide with the language but it's really hard to find resources easily. I've learned to just go to the golang-nuts group and search there.. but what about when the userbase grows beyond a single community?
The language is awesome though, elegant both in design and implementation.
BLAS has fortran/C heritage so it expects matrixes to be a single contiguous chunk of memory, indexed by column first and then row. Whereas a go [][]float64 is a pointer to an array of slices, which are pointers to noncontiguous arrays. Additionally, the CUDA API has a "special" malloc function that does some bookkeeping and gets big performance gains. So, trying to figure all of that out, plus this is my first go project (great first project, huh), so basically every other newbie question I've had.
Basically obscure enough questions were better to search golang-nuts directly.
still it can be kind of frustrating for a beginner with the language to always get the query wrong the first time. luckily the documentation and source code available on golang.org is really useful.
No, Andrew described this case:
> should be rewritten as,
> select {
> case ch <- v:
> // sent
> default:
> // not sent
> }
Without the default, the select statement becomes blocking.Selecting on multiple channels is, however, is used very often, so this fits that paradigm quite well.
It does make sense to have the blocking version, if there's nothing else to do.