Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] rewriting a few million lines of Fortran code (was Re: Fortran --> Python (was linux engineer))
- Date: Fri, 08 Jun 2012 14:40:50 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] rewriting a few million lines of Fortran code (was Re: Fortran --> Python (was linux engineer))
- References: <CA+hLB24QCwzJdnUAqb_xgQJuTuERrxy8o8VnRRRXpZNyP45dPw@mail.gmail.com> <20120606145641.d069eb462b8be9a831d855f9@kinali.ch> <20120606182726.5c175889.jep200404@columbus.rr.com> <87k3zk9dcy.fsf@uwakimon.sk.tsukuba.ac.jp> <CAA2hLfE_yS16cNUA3WcvJ7TQ_rhWNH1nwJ+Zbp=Qx+KwTAE9kQ@mail.gmail.com> <20120607065721.GB7452@xray.astro.isas.jaxa.jp> <20120607075643.52e1c288.jep200404@columbus.rr.com>
jep200404@example.com writes: > On Thu, 7 Jun 2012 15:57:21 +0900, BALUTA Chris <baluta@example.com> wrote: > > So... Who is going to re-write a few million lines of Fortran > > code into Python? (And why?!) > > Somebody who understands Occam's razor. It's unlikely that anybody would *re*-write millions of lines of FORTRAN code in Python. It's like the problem my wife is moaning about: our refrigerator is only 4 years old, but it's a two-door model and for the last few months one door tends to pop open and remain ajar when the other is closed. So she wants to buy a new one (which is about 40% more electricity-efficient even before accounting for the open door losses), but she can't justify it based on the numbers. What's more likely to happen is that somebody *else* is going to have a problem sufficiently different that merely tweaking the FORTRAN code is not enough, and they need to *understand* it. At that point, writing the driver in Python, with very expressive and (relatively) efficient techniques like object types, iterables, and comprehensions, and using highly optimized and robust numerical libraries, makes a lot of sense.
- Follow-Ups:
- References:
- [tlug] linux engineer
- From: S Gibson
- Re: [tlug] linux engineer
- From: Attila Kinali
- [tlug] Fortran --> Python (was linux engineer)
- From: jep200404
- [tlug] Fortran --> Python (was linux engineer)
- From: Stephen J. Turnbull
- Re: [tlug] Fortran --> Python (was linux engineer)
- From: jrjohansson@example.com
- Re: [tlug] Fortran --> Python (was linux engineer)
- From: BALUTA Chris
- [tlug] rewriting a few million lines of Fortran code (was Re: Fortran --> Python (was linux engineer))
- From: jep200404
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Fortran --> Python (was linux engineer)
- Next by Date: Re: [tlug] Fortran --> Python (was linux engineer)
- Previous by thread: Re: [tlug] rewriting a few million lines of Fortran code (was Re: Fortran --> Python (was linux engineer))
- Next by thread: Re: [tlug] [OT] Refrig doors (was: rewriting a few million lines of Fortran code (was Re: Fortran --> Python (was linux engineer)))
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links