News for hackers. Stuff that matters.
Re:Lessons Learnt Moving a GTK Application from Go to Ada by throwaway894345 on Friday March 11, 2022 @11:32AM (#30642004)
On the other hand, it has had the fortunate side effect of minimizing the amount of code which depends on C, which makes building and packaging software (including cross compilation) super simple.

That said, I'd like to know more about the limitations regarding machine learning. Presumably most machine learning stuff isn't implemented in C?

Re:Lessons Learnt Moving a GTK Application from Go to Ada by mountainriver on Saturday March 19, 2022 @03:32PM (#30736872)
The ML limitations are that all the low level vector and acceleration libraries are written in C or C++. The GPU libraries are the real kicker, there isn't any great way around this except to trampoline over to C, that trampolining takes time which chews into your acceleration. Ironically Python is much faster than Go for ML because of this.
Re:Lessons Learnt Moving a GTK Application from Go to Ada by electroly on Friday March 11, 2022 @12:25PM (#30642951)
PyTorch and TensorFlow are both primarily C++ codebases.