Re:Gollvm from Google
by marmaduke on Saturday May 27, 2017 @10:45AM
(#14430262)
This means we could write numerical code in Go and get auotvectorized assembly and use GPUs via the nvptx backend. Neat!
[ Parent
| on HN ]
Re:Gollvm from Google
by theparanoid on Saturday May 27, 2017 @03:03PM
(#14431412)
Go is a GC language. Only a strict subset would be amenable to running on a GPU.
Re:Gollvm from Google
by pinpeliponni on Saturday May 27, 2017 @04:51PM
(#14431913)
There's no reason GC couldn't work on GPUs. No one just has bothered implementing it yet.
http://wiki.c2.com/?SufficientlySmartCompiler
Yeah, and a GPU could also just happen to give you the right answer in an O(1) hashtable lookup
If you noticed, I did say numerical algorithms, for most of which it's usually easy to allocate memory in advance.
I didn't mean anyone would want to do this but just that it's an interesting parallelism for a language.