Message Boards Message Boards

How faster is native C-code in comparison to C-code in Mathematica?

Posted 8 years ago

I successfully compiled a function to C-code in Mathematica. As a consequence, it became almost 3 times faster than the normal compiled code. So I wonder if it is worth to write the function directly in C and to compile it with VisualStudio. Will this still boost the speed? It should increase about 10 times otherwise it is not worth as I can parallelize it in Mathematica, while in VisualStudio I don't know how to parallelize.

POSTED BY: Ulrich Utiger
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract