|
|
|
|
|
by moelf
1831 days ago
|
|
the raising of numba shows us why numpy and "just write vectorize-styled code with a C++ backend" is not enough. yet Numba basically makes your python code not python. It doesn't support so many things: pandas dataframe, or even as simple as a dict(), which means you often have to manually feed your numba function separate arguments. To separate a complicated calculation into numba-infer-able parts and the not ones is not fun and sometimes just impossible. |
|
Also, the jitclass things help somewhat. I use them as plain data containers, to work around the hideously long argument lists that otherwise would be required, but with no methods. jitclass breaks the GPU option, though.