r/CFD • u/Overunderrated • Feb 03 '21
[February] Programming languages for CFD
As per the discussion topic vote, February's monthly topic is "Programming languages for CFD"
User /u/SignificantCell2 asked for Rust experiences, but that sounded overly specific so i op'ed'd it into this.
Talk about your experiences and preferences with various programming languages in the context of CFD programming.
43
Upvotes
View all comments
Show parent comment
1
u/Underfitted Feb 07 '21
Rust is the futuuuuuuuuuuure!
More seriously, Rust seems like the successor for C++ that everyone secretly wished for but no one really wants to move to.
Julia is in a weird spot of trying to usurp Python which is already in the slow process of trying to usurp academia from C++, which is in the slow process of trying to usurp FORTRAN, and which it can't really since it doesn't scale as well as C++ unless it uses C libraries wrapped up.
I remember the recent Julia con highlighting CFD as one of the use cases for Julia, so it can work.
The you have the real weird stuff like OCaml and PASCAL, whose fans are adamant is the superior branch? I dunno. Can someone please create an AI that can translate a codebase from one language to another.