3 ms·
I've worked with these types of bridges before. They are terrible if you want to keep the program running and intermittently call Mathematica throughout the cou
by throwawaysocks 10y ago
I've worked with these types of bridges before. They are terrible if you want to keep the program running and intermittently call Mathematica throughout the course of a multi-hour session.
If you have a small script that makes a single one-off call to Mathematica, and the interface already exists for your language, which it probably doesn't, even if you're using an extremely popular language, and even though you're paying hundreds of dollars a year just for PERSONAL use, then things can be ok. But if you want to make a bunch of calls and keep the program running reliably then you're SOL.
Oh, and don't even think about deploying. It will cost you so much that it's more cost-effective to just rewrite the thing or do the work of switching out with a different library/tool.
- dekhn 10y agoI don't understand why you consider a problem to intermittently call mathematica's kernel in a multi-hour session. There's nothing that would make this not work. The mathematica C interface launches a copy of the kernel and communicates with it over a straightforward protocol. In this case, I wrote that interface and open sourced it. http://library.wolfram.com/infocenter/MathSource/585/ http://library.wolfram.com/infocenter/MathSource/585/