Hi guys,
I wanted to find out why some of you use Fortran. I ask this because of a recent coding experience I've had. I have a six-week Computational Modelling project to do for my Physics degree (second year), and everyone's doing it in Fortran because that's what we were taught in the first year. However, I taught myself VB.NET 2003 in my last year of school (and used it for my Computing A-Level project) and now code in VB.NET 2005/2008.
When I found out that Fortran 95's random number generator was medeocre at best after writing the main part of my program I decided that I'd try it in VB.NET. Once I was done and I tested it, not only was the random system infinitely better but it was about twice as fast as Fortran was at performing the calculations - despite having to update the Progress Bar too!
This shocked me as I assumed that the reason we were being taught Fortran 95 was that it was fast and so could be used to do complicated and long simulations. But now I see this is not the case. Maybe we were only taught it because that's all our lecturers know?
Anyway, because of this my entire project is now in VB.NET and it's great (no more using the console to run the program and then import the data into a pretty awful graphing program - my program creates an Excel 2007 spreadsheet and creates a graph automatically in seconds), and I doubt I'll use Fortran again unless I have to. So, I'm curious, ignoring the fact that some people might be using it because they must use Fortran for their work....why do you use Fortran?
Thanks
I wanted to find out why some of you use Fortran. I ask this because of a recent coding experience I've had. I have a six-week Computational Modelling project to do for my Physics degree (second year), and everyone's doing it in Fortran because that's what we were taught in the first year. However, I taught myself VB.NET 2003 in my last year of school (and used it for my Computing A-Level project) and now code in VB.NET 2005/2008.
When I found out that Fortran 95's random number generator was medeocre at best after writing the main part of my program I decided that I'd try it in VB.NET. Once I was done and I tested it, not only was the random system infinitely better but it was about twice as fast as Fortran was at performing the calculations - despite having to update the Progress Bar too!
This shocked me as I assumed that the reason we were being taught Fortran 95 was that it was fast and so could be used to do complicated and long simulations. But now I see this is not the case. Maybe we were only taught it because that's all our lecturers know?
Anyway, because of this my entire project is now in VB.NET and it's great (no more using the console to run the program and then import the data into a pretty awful graphing program - my program creates an Excel 2007 spreadsheet and creates a graph automatically in seconds), and I doubt I'll use Fortran again unless I have to. So, I'm curious, ignoring the fact that some people might be using it because they must use Fortran for their work....why do you use Fortran?
Thanks