Programming
C or Java?

Question Description

Hi, I have a matlab code, which involves many and big number loops (matrix and vector operations). It is too slow and my 32 GB RAM is not enough now. I plan to convert it to C or Java. I am not familiar with those languages. Could you please give me some suggestions which one I should take?

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Hi,
You can use either C/C++ or python . JAVA is even slower than what you have right now. Besides the performance of JAVA matrix arithmetic library is not that great. Loops always eat lots and lots of memory that is for sure.

Veedeoo (123)
New York University

Anonymous
Just what I was looking for! Super helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4