3 ms·
Surely we can be more flippant than that. There are three-ish types of languages: C, Assembly: begrudging respect, they are ok for writing kernels (operating s
by bee_rider 3y ago
Surely we can be more flippant than that. There are three-ish types of languages:
C, Assembly: begrudging respect, they are ok for writing kernels (operating system and compute, respectively).
FORTRAN: the point of computers is to do math, why do you need any other language than the language for FORmula TRANslation?
Other languages: Bad.
Honorable mention: Matlab/Octave or Numpy because I can’t be arsed to use a proper language while prototyping. But you can also use them in REPL mode so really they are halfway between a programming language and a UI.
- vajrabum 3y ago'At scale' numpy is often faster and safer than your other choices because CUDA is pretty much a magic sauce for your numerical programming needs.
- PartiallyTyped 3y agoDoes numpy have a cuda backend without numba?
- bee_rider 3y agoCupy covers some of Numpy and some Scipy. IIRC you can even get it working by just changing the import and adding a little boilerplate, in some cases.