|
|
|
|
|
by micro_cam
1913 days ago
|
|
I used to do a lot of machine learning code in go and think it has great potential as a compiled, static language with similar ease of development to python. However it is hard to get around the lack of operator overloading and (to a lesser extent at least to me) generics. I love the simplicity of the language and understand their feeling that operator overriding is too often abused but at the same time not being able to use algebraic operators for matrix and tensor libraries makes them really hard to use. The compacting garbage collector can also make it hard to pass pointers to memory to non go libraries which is key in data science. If this project could address those things I think it could have real potential |
|
While Go looks to be in the middle, Rust is at the opposite of Python and it must be a good to choice for building data software that run data scripts.
> The [Go] lack of operator overloading => https://doc.rust-lang.org/rust-by-example/trait/ops.html
> The [Go] lack of generics => https://doc.rust-lang.org/book/ch10-01-syntax.html
> not being able to use algebraic operators for matrix and tensor libraries https://tensorflow.github.io/rust/tensorflow/struct.Tensor.h...