Hacker News new | ask | show | jobs
by seotut2 2521 days ago
As this seems to be a fairly unknown project, some benchmarks against clang/gcc would surly spark more interest in the project.

Afaict, the XOC infrastructure, released by Alibaba, hasn't seen any commits in the last few years.

So my question then is, does this project offer something that the others (gcc/clang/icc) don't, or why should someone use it? Or is it just a hobby project, or a purely academic exercise?

2 comments

XOC provides multi-level IR, it can express and model a program at very high level semantic, whereas gcc/llvm could not. With our experience, keeping all well-tuned transformation and optimization on same IR expression(multi-level) are very important. XOC used to be JavaVM AOT IR, C/C++ compiler IR, JavaScriptVM AOT IR, and it was doing very well. In some new project, XOC even could be used as Deep Learning compiler IR. So XOC is very scalable. In my opinion, perhaps the most interesting feature is its memory description that runs through the framework.
I may be misinterpreting, but I think are based on BSD license is what this does that others don’t (clang comes close, but is moving slightly further away from it, towards Apache 2.0)
Yes, XOC's licenses are very business-friendly.