|
|
|
|
|
by joiguru
1800 days ago
|
|
One point I have read repeatedly is that Julia is aimed at High Performance Computing (HPC).
Another argument I have read repeatedly is how object oriented programming (with its single dispatch) is bad for HPC because of pointer indirections leading to cache misses.
This leads me to conclude Julia will be much worse (than well written C/C++) due to its multiple dispatch. |
|
Generic code relies on specialization instead of dynamic dispatches to be generic with respect to input types. That is, for each new input type, a new method gets compiled (allowing the dispatch to be resolved statically).