Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14010

Re: Getting an array into a C program through mathlink

From John Fultz <jfultz@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Getting an array into a C program through mathlink
Date 2013-04-02 07:26 +0000
Message-ID <kje169$h03$1@smc.vnet.net> (permalink)
References <khsbap$35l$1@smc.vnet.net> <20130401050011.AD2D46AE5@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


That's an interesting observation, but I can't say it matches my own 
experience.  I've found MathLink to be remarkably compatible across 
major version number changes of Mathematica, and to be generally robust. 
 It is the only way the FE and the kernel communicate with each other 
(not to mention other lesser components of the system), and the nature 
of that connection is not simple; I would say it uses a majority of the 
features that MathLink has to offer.

It's not clear to me exactly what you're referring to as "Wolfram 
problem reports".  But I'd certainly be interested in knowing about any 
issues that you or anyone else may be experiencing with MathLink.

John Fultz
jfultz@wolfram.com
User Interface Group
Wolfram Research, Inc.



On Apr 1, 2013, at 12:00 AM, debguy <johnandsara2@cox.net> wrote:

> my advice is to avoid mathlink because library issues cause
> compatibility problems (see Wolfram problem reports).  ie after or
> without upgrade it's broken for someone trying to use.
>
> if you can accept fast but not fastest results I suggest this:
>
> to use "exec" in C to call math binary with piped commands (we're
> talking text input output) and use Put to get what into a file (can
> even be forked, run in background, doing it that way).  then your
> application reads file when done (fread is fast, maybe not fast as
> direct read from mathlink).
>
> most tasks can be done without ever using C.  doing some special
> graphics or something?
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Getting an array into a C program through mathlink Brentt <brenttnewman@gmail.com> - 2013-03-14 11:12 +0000
  Re: Getting an array into a C program through mathlink debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000
  Re: Getting an array into a C program through mathlink John Fultz <jfultz@wolfram.com> - 2013-04-02 07:26 +0000
  Re: Getting an array into a C program through mathlink "John D. Hendrickson and Sara Darnell" <johnandsara2@cox.net> - 2013-04-03 08:08 +0000
  Re: Getting an array into a C program through mathlink John Fultz <jfultz@wolfram.com> - 2013-04-04 02:50 +0000
  Re: Getting an array into a C program through mathlink "John D. Hendrickson and Sara Darnell" <johnandsara2@cox.net> - 2013-04-04 17:10 +0000

csiph-web