Questions tagged [compiler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
47 views

LTemplate and external library Armadillo

As a great fan of the simplicity of the LTemplate library for the end user I am now faced with a problem when apparently everything compiles correctly but the functions are not loaded from the library....
0
votes
0answers
49 views

Basic question of “good” habits during the evaluation of a notebook in mathematica

Suppose that I have notebook, call it Nb1. And I want to evaluate the notebook Nb1, next suppose that the process is slow, but I have to evaluate other notebooks, suppose Nb2, and Nb3. I see that ...
10
votes
1answer
104 views

How to use CompilerOptions?

The refpage for FunctionCompile's option CompilerOptions is empty of examples: Does anyone know what keys and values can be ...
13
votes
1answer
236 views

How to use DataStructure in FunctionCompile?

The official document said compile a function that can work with data structures but how to use it? There is no doubt that it is possible to use DataStructure as a function parameter: ...
3
votes
0answers
45 views

any way to study the number of CPU cycles used for a computation?

I do speed comparisons for various functions and algorithms, and ultimately, the speed of some section of program code depends on the number of CPU cycles. This can vary wildly across operating ...
13
votes
0answers
226 views

How to link C++ code through the new compiler in V12?

The Advanced Compilation Topics talk in the WTC 2018 shows that one can easily link C++ code through the new compiler technology. This feature seems very useful as one can easily load existing C++ ...
57
votes
1answer
1k views

New Compiler Technology in V12

I am wondering whether the speed of compilation for the new compiler can be improved. Here are the results from my test. Consider the following function for generating a random draw from a gamma ...
18
votes
3answers
630 views

How to use the library exported from FunctionCompileExportLibrary outside of Mathematic (e.g., in Visual Studio)?

Mathematica 12 has a new function FunctionCompileExportLibrary, which can export a pure function as a .dll file like this: <...
3
votes
1answer
64 views

Why will functions from the SystemModelConfiguration` package not evaluate?

A support case with the identification [CASE:4155306] was created. According to the tutorial Compiler for System Modeling I should be able to verify the installation of a C++ compiler for the system ...
35
votes
1answer
2k views

What's the deal with next generation Wolfram compiler?

Sources: Old Compiler (Rob Knapp Nov2011) Computer Science in Mathematica (Abdul Dakkak Dec2014) Compilation Technology (Tom Wickham-Jones, Abdul Dakkak & Steve Wilson Dec2015) The Wolfram ...