cproc - new compact compiler for C language

Michael Forney, developer of the Wayland-based swc composite server, is developing a new cproc compiler that supports the C11 standard and some GNU extensions. The compiler uses the QBE project as a backend to generate optimized executables. The compiler code is written in C and distributed under the free ISC license.

Development has not yet been completed, but at the current stage, support for most of the C11 specification has been implemented. Features currently unsupported include variable-length arrays, preprocessor, generation of PIE (position independent code) executables and shared libraries, inline assembler, long double type, _Thread_local specifier, volatile types, string literals prefixed with (L"..." ).

At the same time, cproc's capabilities are already sufficient for compiling itself, mcpp, gcc 4.7, binutils, and other basic applications. Its key difference from other compilers is its focus on creating a compact and uncomplicated implementation. For example, the backend generates code that demonstrates 70% of the performance of advanced compilers, while offering only 10% of the functionality of larger compilers. Compilation is supported for x86_64 and aarch64 architectures on platforms. Linux and FreeBSD with Glibc, bsd libc and Musl libraries.

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster