C or Java?

User Generated

fpxnatm

Programming

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?

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & 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.


Anonymous
Just what I was looking for! Super helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags