News for hackers. Stuff that matters.
Re:Major release of xocc C compiler, 0.9.2, based on BSD lic... by seotut2 on Saturday July 20, 2019 @05:16AM (#20484833)
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?

Re:Major release of xocc C compiler, 0.9.2, based on BSD lic... by steven_known on Saturday July 20, 2019 @11:59PM (#20489879)
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.
Re:Major release of xocc C compiler, 0.9.2, based on BSD lic... by Someone on Saturday July 20, 2019 @02:45PM (#20487560)
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)
Re:Major release of xocc C compiler, 0.9.2, based on BSD lic... by steven_known on Sunday July 21, 2019 @12:01AM (#20489885)
Yes, XOC's licenses are very business-friendly.