Hacker News new | past | comments | ask | show | jobs | submit login

Not my field, but for deployment you'd need to worry about targeting the GPU anyway? It doesn't look like gonum has GPU support?

Machine learning code isn't going to run just anywhere.






gorgonia.org/cu

And coming soon, gorgonia on TPUs. Originally planned for this year, it seems to be next year now owing to some TPU peoples' timetable change.


Oh wow, CUDA compute support is Premier League. Way to go!

> The primary goal is to make calling the CUDA API as comfortable as calling Go functions or methods. Additional convenience functions and methods are also created in this package in the pursuit of that goal.

Great angle. Very idiomatic to Go, and ballpark what most developers wish. Polishing the convenience aspect (until some 'promise of stability' by 1.0) is truly what makes some projects popular imho. UX (well DX, for Developer eXperience) is a clear determining factor especially in the age of open-source and generalized `git` remote pushes to 'the cloud'.


I gave a talk on how to build an idiomatic (as defined by me) FFI: https://www.youtube.com/watch?v=7R39CMW4MJQ

Might make things a bit more clear on the reasons why certain things are done in a certain way. It's by no means THE only way, but I hope I have listed my reasons clearly.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: