Thread View: sci.math.num-analysis
1 messages
1 total messages
Started by Ajay Shah
Tue, 02 Apr 1991 19:29
Languages for NumAnal: my opinions
Author: Ajay Shah
Date: Tue, 02 Apr 1991 19:29
Date: Tue, 02 Apr 1991 19:29
42 lines
2050 bytes
2050 bytes
Fortran:
- great base of library code around
- your boss/advisor probably uses it
- you don't want to touch it.
Pascal:
- Standard pascal is crippled.
- Turbo Pascal is fantastic, but locks you into the PC,
- strong strong typing cripples scientific libraries (OOP has
solutions, but that locks you into the PC even more).
- you don't want to use the PC!
C:
- Better than Fortran as a language,
- decent libraries available, especially with f2c around,
- terrible syntactic&semantic irritations like clumsy matrices.
CS types may claim C's pointers are elegant, but to a
mathematician they're a pain in the butt.
- great portability, the best available today.
- excellent hooks into Unix internals; standard C library is
wonderful -- so everytime you need to do something
non-number-crunching you are well off.
C++:
- Gorgeous code quality enabled by operator and function
overloading
- Usual C strengths on portability-Unix integration, availability
of old fortran libraries via f2c.
Modula, APL, lisp etc:
- Way too flaky for serious consideration.
- I love what I've read about Modula but I don't want to
touch something so far from being a standard.
In all, I'm moving to C++ for my numerical work.
--
_______________________________________________________________________________
Ajay Shah, (213)734-3930, ajayshah@usc.edu
The more things change, the more they stay insane.
_______________________________________________________________________________
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads