D for TensorFlow-like library
TheFlyingFiddle via Digitalmars-d
digitalmars-d at puremagic.com
Sun Nov 8 10:05:59 PST 2015
On Sunday, 8 November 2015 at 17:47:33 UTC, Muktabh wrote:
> We cannot make D bindings to it because it is a closed source
> project by Google and only a spec like mapreduce will be
> released, so I thought maybe I might try and come up with an
> open source implementation. I was just curious if D would be a
> good choice language for a library like this instead of C++
> which is used by Google.
Well, if you are going to write it yourself i see no reason why D
would be any worse a language the C++. You can get the same
speed, interface with the GPU in pretty much the same way etc.
You could probably do a lot in compile time to simplify writing
kernels in D. From my point of view D is simpler than C++ as-well
so that should help implementation. (no headers, sane meta
programming etc.)
It does seem to be a huge undertaking however since tensorflow
seems to be a very complex library. But if you feel confident in
this domain then I would say go for it. It would be very cool to
have something like this in D.
More information about the Digitalmars-d
mailing list