Questions tagged [compiler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
1answer
150 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: ...
2
votes
0answers
31 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 ...
12
votes
0answers
207 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++ ...
55
votes
1answer
895 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
566 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
60 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 ...