Re: A question on Newton's Method
- From: beliavsky@xxxxxxx
- Date: 2 Apr 2005 06:26:48 -0800
Jon Harrop wrote:
> Even the compiler is written in an inappropriate
> language. <sigh>
G95 is written in C, as are most operating systems, compilers, and
interpreters I know of. What is OCaml written in, and why does it make
a difference?
<snip>
> I am not familiar with this. Looking at the Fortran source code from
the
> book you were advertising, it contains explicit deallocations.
Presumably
> omitting these would cause a memory leak?
One of the features Fortran 95 added to F90 was "automatic deallocation
of allocatable arrays at exit of scoping unit", as mentioned at
http://www.nsc.liu.se/~boein/f77to90/f95.html . Maybe the book was
being careful to present code that works with both F90 and F95
compilers.
<snip>
> This is well known stuff, not personal belief. Fortran is still based
on an
> archaic theoretical foundation, other languages aren't. Unless you
are
> forced to use old code, I see no reason to use Fortran. I certainly
see no
> reason for a new programmer to bother learning it. Does Fortran 95
have a
> single feature worth learning that isn't implemented in modern
languages?
>
> Also, we haven't touched on the lack of support for Fortran 95. Doing
a
> Google search for "fortran 95" gives 85k pages compared to 508k for
ocaml
> and 79M for Java. Searching for "fortran 2003" gives <4k pages. LOL.
There are about 10 Fortran 95 compilers, available for all major
platforms used in scientific computing, with links at
http://www.dmoz.org/Computers/Programming/Languages/Fortran/Compilers/
.. Numerous tutorials can be found online. Searching Amazon.com books
for "fortran 95" produces 24 hits, doing so for "ocaml" produces none
(is there a better search string?). I see Fortran mentioned much more
than OCaml on this newsgroup.
.
- Follow-Ups:
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: bv
- Re: A question on Newton's Method
- References:
- A question on Newton's Method
- From: David M
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: beliavsky
- Re: A question on Newton's Method
- From: Jon Harrop
- Re: A question on Newton's Method
- From: beliavsky
- Re: A question on Newton's Method
- From: Jon Harrop
- A question on Newton's Method
- Prev by Date: Re: A question on Newton's Method
- Next by Date: Best OS version for Opteron cluster?
- Previous by thread: Re: A question on Newton's Method
- Next by thread: Re: A question on Newton's Method
- Index(es):
Relevant Pages
|