Group Abstract Group Abstract

Message Boards Message Boards

MathCompile - my implementation of code compilation

Posted 6 years ago
POSTED BY: Brian Lu
5 Replies

My motivation of working on this project is not performance but to make the process of compilation more user-friendly. For example, when I tried this in v12.0

FunctionCompile@Function[{},Range[0.0,5.0,1.5]]

I found the error message very confusing, where I assumed that it should be compilable without problem. I don't know about the progress of development on these issues, but I guess it may have been improved in v12.1.

I typically do not care too much about the performance of Mathematica, otherwise it would be easier for me write LibraryLink functions in C/C++, which almost always happens in my research actually. But it's good to see performance improvements. I feel like it is important to those who are not very familiar with lower-level languages.

POSTED BY: Brian Lu

Thanks, Silvia. Will do.

POSTED BY: Brian Lu
POSTED BY: EDITORIAL BOARD

This looks really impressive! Thank you for sharing this with the WL user community, Brian. I hope to explore its functionality over the upcoming Christmas break.

I have to admit to being a bit curious as to your motivation(s) for building such a package. Are there WL projects that you really need more speed than the current internal compiler implementations can provide?

POSTED BY: Todd Allen

This looks cool! Thanks for sharing!

Also saw the wll-interface project from your GitHub page. Very nice if you would take some time talk about it!

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