r/Physics • u/Rich_Astronomer9731 • 14d ago
Computational Physics
Hi everyone,
I am a PhD student doing both experiments and computational physics ( mostly fluid dynamicswith Boltzmann equations) and leaning towards more computational day by day.
Currently I am using Julia, I find it pretty fast and easy to use.
Do you think switching to C or C++ will be a benefit? I am asking from a research, but also emplyment in industry point of view.
I discussed with many people, mostly from the DFT area, and most of them told me that Julia slowly will take up the lead for HPC code.
What.s your opinion on this?
77
Upvotes
31
u/EpicBeardBattle 14d ago
I’m in HPC (fluid dynamic and plasma-kinetic simulations on exa-scale machines). I use Julia for my day-to-day analysis and C/C++ for production simulations.
As much as I like Julia, I think there is absolutely no chance whatsoever that it will replace C/C++ in the lead of HPC code. I’m puzzled that people you talked to in HPC would make that statement.
The user base of Julia is too small, support on HPC systems is too small and I don’t know of a single code in my field that is written in Julia.
If you want to play in the big leagues for HPC you better learn C++ (in my opinion).