November 15th, 2005, 1:25 pm
QuoteOriginally posted by: crosshatchBut then I got interested in real-time graphics visualisation of a navier-stokes eq. and switched back to C++ and OpenGL. In other words, Fortran is great for pure number crunching but once you have to build something more interactive it becomes a bit annoying.I really got hooked on to modern Fortran for a few years, because it gave me access to OO features (not all though), which made me feel like I was writing good code but without much overhead. One main problem, as you hint to, is that when you want to do graphics and other stuff away from raw number-crunching, you can't easily build or include available tools into your code. You need to start writing large unformatted files, and importing them elsewhere. My datasizes were in the tens-of-GBs (wavefunctions suck) and I could start feeling the limitations quickly.I used to suggest to new grad students to "Learn Fortran. It is easy, and fast. As a scientist, you probabaly won't need anything more." I now suggest to them to learn C++.