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: [mg28075] Re: C, MathLink or Java, J/Link
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 30 Mar 2001 04:12:26 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <99usl9$61j@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

J/Link is great for the creation of new user interaces. But
in general Java is too slow, especial if you are looking for
speed.

Here at the computer graphics department we had serval
web-based visualisation applications (2d, 3d) and 
for these applications Java was selected as an "ideal"
language ...

*All* these applications switch back to C/C++, only
due incredible slow speed.

An applications, that are more complex than to play 
Tick Tack Tao are too slow.

If you like the feeling of a 12 MHz 8086 computer you
must use Java. It bring's you back in time by 10 years.

Since Java *and* Mathematica are well known as lighting fast, 
it is a wonderful idea to couple these two racing horses ;-)

Regards
  Jens

"Ersek, Ted R" wrote:
> 
> I am working on an algorithm and am puzzled about which way to proceed.  I
> always knew my algorithm would run much faster if I wrote it in C and used
> Math Link.  I recently decided to become proficient in C and MathLink so I
> could do just that.  But then I read in Todd Gayley's J/Link User Guide that
> 
> -- Java is the ideal language for writing programs that use the
> computational services of Mathematica.
> -- You can use Mathematica to in effect, write a Java program in
> Mathematica.
> -- Essentially anything you can do from Java you can now do from
> Mathematica, perhaps even more easily.
> -- Java is fast, robust, portable, and an excellent general-purpose
> programming language.
> -- Java with J/Link is easier than using the traditional MathLink interface
> from C or C++.
> -- The syntax and intricacies of the Java language are not relevant, since
> you will be writing Mathematica programs, not Java ones.
> 
> After reading all these great things about Java and J/Link I am wondering if
> I should write my program using Java and J/Link. Can anyone provide advice?
>


  • Prev by Date: ToExcel
  • Next by Date: Fitting an ellipse
  • Previous by thread: C, MathLink or Java, J/Link
  • Next by thread: Re: Re: C, MathLink or Java, J/Link