MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: C, MathLink or Java, J/Link

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28262] Re: C, MathLink or Java, J/Link
  • From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
  • Date: Fri, 6 Apr 2001 01:53:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Todd Gayley recently wrote:
.... my opinion is that for people who are not overwhelmingly concerned
about performance, Java is the best choice for programs that call, or are
called by, Mathematica ....

-------------------
but I think for some of us there is another factor to consider besides
performance and convenience.

The program I am working on can be fully portable if I write it in C or
Java, and I plan to post the source code on MathSource when it's done.  I
hope my program will be just as portable for the next 7 years or more.
Since C is very well established, I suspect both MathLink and  most C/C++
compilers will be compatible with ANSI C for a long time to come.  However,
it seems Java and J/Link are not fully mature.  How confident can I be that
my Java source code will work with a 2008 version of Java?  We don't yet
have ANSI Java, right?  Because of this concern I think I will write my
program in C and use MathLink even though it's less convenient.

-----------------
Ted Ersek

Mathematica tips, tricks have moved to
http://www.verbeia.com/mathematica/tips/Tricks.html



  • Prev by Date: Manipulating Strings
  • Next by Date: Re: Help with Fold/outer one-liner (II)
  • Previous by thread: Change of variables in integration
  • Next by thread: Re: C, MathLink or Java, J/Link