Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings

The high-energy physicist’s guide to MathLink

Thomas Hahn
Organization: Max-Planck-Institute for Physics (Werner-Heisenberg-Institute)
URL: http://wwwth.mppmu.mpg.de/members/hahn/
Journal / Anthology

Computer Physics Communications
Year: 2012
Volume: 183
Issue: 3
Page range: 460-469

MathLink is Wolfram Research’s protocol for communicating with the Mathematica Kernel and is used extensively in their own Notebook Frontends. The Mathematica Book insinuates that linking C programs with MathLink is straightforward but in practice there are quite a number of stumbling blocks, in particular in cross-language and cross-platform usage. This write-up tries to clarify the main issues and hopefully makes it easier for software authors to set up Mathematica interfacing in a portable way.