Wolfram Language Fast Introduction for Programmers
Get Started »

External Connections

Import and Export automatically handle hundreds of formats from files, programs, the web, etc.:

In[1]:=
X
Out[1]=

The Wolfram Language unifies importing and exporting different file types with Import and Export. Java's file format support is spread across different packages and libraries, often with different semantics for how the data is represented.

While the Wolfram Language unifies importing and exporting different file types with Import and Export, Python's file format support is spread across different functions, packages and libraries, and each often has different semantics for how the data is represented.

The Wolfram Language curates connections to many external APIs:

In[1]:=
X
Out[1]=

The Device Framework allows direct input from connected devices:

In[1]:=
X
Out[1]=

The built-in connections and configurations of the Wolfram Language allow seamless access to devices and APIs that would require custom code or third-party libraries in Java.

External API access and device I/O often require third-party libraries or custom code.

Use EmbedCode to create code to call an instant API from another language:

In[1]:=
X
Out[1]=

Use WSTP for two-way communication between the Wolfram Engine and other programs.

Use C/Link, J/Link, etc. to create external code to interact with WSTP.

J/Link provides a comprehensive seamless interface between Java and the Wolfram Language, allowing any Java classes and methods to be called from the Wolfram Language, and to call the Wolfram Language. Many Java developers find the Wolfram notebook environment and J/Link to be an ideal environment for exploring Java classes and libraries.

One way to run Python through the Wolfram Language is by launching a Python executable with the RunProcess function.

QUICK REFERENCE: WSTP (Wolfram Symbolic Transfer Protocol) »