Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently I have read some interesting things about CompilationTarget->"C" on SE, e.g. in where @MichaelE2 mentioned that "compilation to C and Listable do not always get along". In this regard, I want to pose three questions:

  1. What are other things that are incompatible with CompilationTarget->"C"?

  2. According to this "double inequalities is not yet implemented for CompilationTarget -> "C"." What are some other functions that fall in that category? Is there a way to get the list of implemented functions?

  3. Are there some guidelines on when CompilationTarget -> "C" performs better than CompilationTarget -> "WVM"?

share|improve this question
@blochwave. Thanks for the link. However, that link only talks about the compilable functions, which does not imply seamless compatible among all options/functions. In this question, I want to explore the limitations of CompilationTarget -> "C" only. – brama Jul 11 '14 at 11:00
Indeed, there may be some ideas presented in a few of the answers that might help with the investigation. – blochwave Jul 11 '14 at 11:01
If CompilationTarget -> "C" doesn't work the same as CompilationTarget -> "MVM" then it's a bug in the CCodeGenerator` package because the C code is generated directly from the MVM bytecode. If "RuntimeAttributes" -> Listable crashes the kernel, that's a bug in the kernel or the runtime. So I think you won't get many (any?) useful answers here, and should just report the bugs to WRI as you find them. – Oleksandr R. Jul 11 '14 at 16:22
@OleksandrR. Point taken. However, I was looking for any known compatibility issues within/across the compile options and functions. For example what @MichaelE2 and @ybeltukov stated above are not mentioned in any document I came across. So I started this thread as a synthesis of known compatibility issues. I will report any bugs to WRI, but I think it is worth aggregating known issues till they are fixed by WRI. – brama Jul 11 '14 at 18:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.