3 ms·
An analogous discussion goes on in image processing and computer vision about Matlab and C++, one easy to use but slow and a memory hog, the other is hard to qu
by Jun8 15y ago
An analogous discussion goes on in image processing and computer vision about Matlab and C++, one easy to use but slow and a memory hog, the other is hard to quickly develop and play with ideas.
On a different note, I didn't know about rcpp, sounds great.
- mturmon 15y agoYes, and I think the prevailing wisdom is the same: Matlab for fast prototyping, C/C++ for speed and memory-efficiency in non-vectorizable contexts or pain points. Call the C/C++ from Matlab if you wish. You can tell the same story about Python, although I've not been as happy with the graphics in Python/Matplotlib/etc. For large-scale work (and a lot of work will always be large-scale), it's not possible to stick to a friendly managed-memory REPL environment. People want the answer to be otherwise, hence these repeated questions.