Which programming language is easier for physics computation?
Answers
Explanation:
Whatever language the code you're already using is written in.
There isn't a particular best language for physics research. Seriously, your choice of programming language will frequently be determined by what code has already been written by others that you can use. So look around at the programs that exist in the subfield of physics you're interested in, and see what they use.
With that being said, if you plan on doing a lot of computational physics, I would suggest learning a variety of different languages of different styles - procedural (C, shell scripting), functional or semi-functional (Mathematica), object-oriented (C++, Java) - so that you will develop the mindset and foundational knowledge to quickly pick up a new language when you need to.
If you're relatively new to programming and just looking for suggestions of what language to try learning first, I highly recommend Python. It's easy to learn, allows you to use all three coding styles, and encourages good coding practices, and you can use it for a lot of real science (e.g. data analysis) with the Numpy and Scipy libraries and matplotlib plotting.
Answer:
Explanation:
Whatever language the code you're already using is written in.
There isn't a particular best language for physics research. Seriously, your choice of programming language will frequently be determined by what code has already been written by others that you can use. So look around at the programs that exist in the subfield of physics you're interested in, and see what they use.
With that being said, if you plan on doing a lot of computational physics, I would suggest learning a variety of different languages of different styles - procedural (C, shell scripting), functional or semi-functional (Mathematica), object-oriented (C++, Java) - so that you will develop the mindset and foundational knowledge to quickly pick up a new language when you need to.
If you're relatively new to programming and just looking for suggestions of what language to try learning first, I highly recommend Python. It's easy to learn, allows you to use all three coding styles, and encourages good coding practices, and you can use it for a lot of real science (e.g. data analysis) with the Numpy and Scipy libraries and matplotlib plotting.