473,466 Members | 1,360 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is C faster than fortran?

Hi
I've been thinking of learning Fortran as number crunching kinda
language for my Physics degree......but then looking around the
internet, people are saying that the libraries/ Algorithms once used
for number crunching is now slowly converting into C, so do you think
I should stick with C, since I know C already, or should I proceed
learning fortran??

Any advice??
Thanks
Chris

Mar 26 '07
52 5040
"James Giles" <ja********@worldnet.att.netwrote in message
news:53********************@bgtnsc04-news.ops.worldnet.att.net...
Bruce Bowler wrote:
>On Sun, 08 Apr 2007 18:42:23 +0200, Fernando M. Roxo da Motta wrote:
...
>Of course C is faster faster the Fortran.
Fortran is from the dark ages (of computing) and
C is the speed of light.

Well, C is a case sensitive language (whose name is
upper-case). While the speed of light is c (lower case).
Physically, C (upper case) is a coulomb: a moderate
amount of electrical current. How that corresponds to
^^^^^^^ charge
speed at all is questionable.
P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
Apr 9 '07 #51
"P.J. Plauger" <pj*@dinkumware.comwrote in
news:za******************************@giganews.com :
"James Giles" <ja********@worldnet.att.netwrote in message
news:53********************@bgtnsc04-news.ops.worldnet.att.net...
>Bruce Bowler wrote:
>>On Sun, 08 Apr 2007 18:42:23 +0200, Fernando M. Roxo da Motta
wrote:
...
>>Of course C is faster faster the Fortran.
Fortran is from the dark ages (of computing) and
C is the speed of light.

Well, C is a case sensitive language (whose name is
upper-case). While the speed of light is c (lower case).
Physically, C (upper case) is a coulomb: a moderate
amount of electrical current. How that corresponds to
^^^^^^^ charge
And if you were holding one in your hand, you would not think it
moderate :-)
>speed at all is questionable.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com


--
*********** To reply by e-mail, make w single in address
**************
Apr 10 '07 #52
On 26 Mar 2007 17:41:06 GMT, Chris Torek <no****@torek.netwrote:
In article <11*********************@y80g2000hsf.googlegroups. com>
No*****@gmail.com <No*****@gmail.comwrote:
I've been thinking of learning Fortran ...

Learning additional computer languages is often good. Note (as
someone else did) that there are lots of different versions of
Fortran, though. The current standard is F95.
It's now 'F03' which was actually approved in 04, although as one
would expect there is variation in how fast different implementations
are being upgraded, if at all. (If you care about specific F03
features as opposed to F95, or F95 + TRs, 'goto' comp.lang.fortran .)

But the BIG difference was F77 to F90; in terms of new syntax and
features this was at least as big as the difference from C to C++. The
changes from F90 to F95 were barely more than a TC, and from F95 to
F03 less than C90 to C99, perhaps a little more than C90 to NA1.
As for the question in the "subject" line, "is C faster than
fortran?": the answer is the same as the answer to the question,
"is chocolate ice cream tastier than strawberry?".
And of course that answer is, test, test, and test some more. <G!>

<OT>Aside to downthread: although -- in my opinion as a US native who
does not find 'USAnian' inherently insulting, although like almost any
descriptive it can be used so, viz 'French leave', 'Dutch treat',
'Gypsy $various' etc. -- Bush#2 has done plenty of stupid and wrong
things, the new requirement for passports on (re)entry to US from the
rest of the Americas, called the Western Hemisphere Travel Initiative,
is actually Congress' fault, which the administration (executive)
actually delayed and weakened some.

Apr 15 '07 #53

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: zhaoyandong | last post by:
In one of my interview, some people asked me why C is faster C++, and tell me to illustrate at least two reasons. I can't find the answer in the web. I'll appreciate any suggestion on this....
11
by: Stef Mientki | last post by:
hi All, instead of questions, my first success story: I converted my first MatLab algorithm into Python (using SciPy), and it not only works perfectly, but also runs much faster: MatLab:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.