Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
steven_known
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
steven_known
2y ago
The doc is being written. Until it is ready, I think it might be helpful to build a testcase such as xgen/test/compile/void.c, and debug the xocc.exe to see how it generate IR and lowest IR (wasm) from C-language AST tree.
2.
▲
Show HN: XOC 1.6.0: A Powerful, Commercially-Proven Compiler Framework
4 points
by
steven_known
2y ago
|
2 comments
3.
▲
Release of XOC Compiler Framework: A Powerful, Commercially-Proven Solution
4 points
by
steven_known
2y ago
|
0 comments
4.
▲
by
steven_known
6y ago
By some feedback of AI compiler performance tuner, the compiler based on XOC is 20% average faster than LLVM based.
5.
▲
by
steven_known
6y ago
Good question! In a simply word, GCC&LLVM compilers are good at traditional RISC-like hardware, namely, IR expected to be load/store/compute/branch, etc. More important is, these compilers do not allow user to add custom
6.
▲
by
steven_known
6y ago
Sure, not only Alibaba, there are lots of applications of XOC. XOC has been used in Java AOT compiler, JavaScript AOT compiler and Type Inference Engine, VLIW/DSP compiler, etc. And XOC is also used in some teaching. For now, XOC is us
7.
▲
by
steven_known
6y ago
For now, xocc supports C99, but does not support GNU extensions yet.
8.
▲
by
steven_known
6y ago
Sorry for the inconvenience caused by documents. There is Manual.txt under xoc/doc/ that describes key concepts to XOC IR, Var, MD, etc.We will do our best to supplement documents.
9.
▲
by
steven_known
6y ago
Thanks for your attention! XOC infrastructure has been widely used in many field. Recently, some famous AI chip design manufacturers has implemented DSL compiler of AI chip based on XOC. We hope the AI compiler will be open source soon.
10.
▲
Show HN: xocc – C compiler based on BSD license
39 points
by
steven_known
6y ago
|
17 comments
11.
▲
by
steven_known
7y ago
Yes, XOC's licenses are very business-friendly.
12.
▲
by
steven_known
7y ago
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
13.
▲
Major release of xocc C compiler, 0.9.2, based on BSD license
6 points
by
steven_known
7y ago
|
4 comments