This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
New in 8.0: Core Language
Built on powerful and elegant principles, the core Mathematica language provides a uniquely deep and rich programming language that scales from rapid prototyping to large high-performance systems. Version 8.0 adds syntax-free linguistic input as a radical and innovative approach to programming. It also delivers many important performance features, such as automatic code generation, multicore parallelization, shared library linking, and GPU integration.
( at beginning of input) — use free-form linguistics to generate Mathematica output
(Ctrl+) — enter free-form linguistics for conversion to inline Mathematica input
WolframAlpha get results in many possible forms from Wolfram|Alpha
Compile increase speed of computations by compiling to native code
CompilationTarget an option that specifies the target runtime for the compiled function, including C code
RuntimeAttributes an option that specifies the Listable attribute for the compiled function
Parallelization an option that specifies whether a compiled function should run in parallel
LibraryFunctionLoad load a function from a shared library into Mathematica
LibraryFunction a function that calls into a shared library
LibraryFunctionInformation information on a library function
LibraryFunctionUnload, LibraryUnload unload functions and libraries
FindLibrary, $LibraryPath find libraries resolving system-specific file extensions
CUDAInformation list all CUDA device information
CUDAImageConvolve convolve images with specified kernel
CUDAFunctionLoad load a user-defined function to run on a GPU using CUDA
CUDAErosion  ▪ CUDADilation  ▪ CUDAFourier  ▪ CUDADot  ▪ ...
OpenCLInformation list all OpenCL device information
OpenCLFunctionLoad load a user-defined function to run on a GPU using OpenCL
Export export a Mathematica-compiled function into C code
CCodeGenerate export a Mathematica-compiled function into C code
ToCCodeString convert a symbolic C expression into a string of C code
CAddress  ▪ CAssign  ▪ CBlock  ▪ CCall  ▪ CFor  ▪ CFunction  ▪ ...
CIf  ▪ CMember  ▪ CPointerType  ▪ CReturn  ▪ CStruct  ▪ ...
CreateExecutable create an executable from C code
CreateLibrary create a library from C code
CreateScheduledTask create a task to perform timed evaluations
RunScheduledTask schedule and run a task to perform timed evaluations
ConditionalExpression represent an expression that is valid when a condition is satisfied
New in Message Handling
Assert test an assertion
$AssertFunction specify a function to apply to assertions that fail
Performance Improvements in Parallel Computing
Parallelize (modified) — performance improvements, automatic distribution of definitions
LaunchKernels (modified) — kernel-launching performance improvements
DistributeDefinitions (modified) — definition-distribution performance improvements