Simulations - Programming languages?

AI Thread Summary
The discussion centers on programming languages suitable for astronomy simulations, with participants sharing their experiences. Python is frequently recommended for its ease of use, while others mention FORTRAN, C, and CUDA for more advanced simulations. Concerns are raised about the availability of graphics packages for Windows users, with a suggestion to consider Java as an alternative. Participants are also seeking resources and websites to help them get started in astronomy programming. Overall, the conversation highlights the diversity of programming languages used in the field and the need for accessible learning materials.
Shaybay92
Messages
122
Reaction score
0
I was wondering whether anyone has experience in astronomy simulations. If so, what language do you use and recommend? I've done Haskell and a very small bit of C++... I've been told Python is good, what are your thoughts?

Also are there any good websites that may get me started?

Thanks
 
Astronomy news on Phys.org
Shaybay92 said:
I was wondering whether anyone has experience in astronomy simulations. If so, what language do you use and recommend? I've done Haskell and a very small bit of C++... I've been told Python is good, what are your thoughts?

Also are there any good websites that may get me started?

Thanks
Great question! I would love to study the basic of Astronomy via computer programming.
 
Same here! Any leads?
 
I've seen simulations written in both FORTRAN and C. However, I have come across an N-body simulation written in CUDA, which is based on C. CUDA gives you the ability to program a new Nvidia graphics card, so you can run simulations using the graphics card's GPU to do calculations, instead of using the computer's CPU.
 
Funny, I was expecting a whole forum about simulation here.

I started working with Fortran last year, but since I'm a Windows user, I feel like I'm missing on a lot of things. Most graphics packages are for Linux, for example.

This year I'm thinking about changing my direction to Java. Does anyone knows of some kind of limitation for Java simulations? Is it safe to do simulations with it, with scientific purposes?
 
Is a homemade radio telescope realistic? There seems to be a confluence of multiple technologies that makes the situation better than when I was a wee lad: software-defined radio (SDR), the easy availability of satellite dishes, surveillance drives, and fast CPUs. Let's take a step back - it is trivial to see the sun in radio. An old analog TV, a set of "rabbit ears" antenna, and you're good to go. Point the antenna at the sun (i.e. the ears are perpendicular to it) and there is...
This thread is dedicated to the beauty and awesomeness of our Universe. If you feel like it, please share video clips and photos (or nice animations) of space and objects in space in this thread. Your posts, clips and photos may by all means include scientific information; that does not make it less beautiful to me (n.b. the posts must of course comply with the PF guidelines, i.e. regarding science, only mainstream science is allowed, fringe/pseudoscience is not allowed). n.b. I start this...
Back
Top