WeSearch

Slimcc: C23 compiler with C2y/GNU extensions for x86-64 Linux/BSD, written in C9

·4 min read · 0 reactions · 0 comments · 14 views
#programming#software#development
Slimcc: C23 compiler with C2y/GNU extensions for x86-64 Linux/BSD, written in C9
⚡ TL;DR · AI summary

Slimcc is a new C compiler that has evolved significantly from its predecessor, chibicc. It supports a wide range of C standards and GNU extensions, making it suitable for various projects. The compiler is designed to be portable and efficient, with a focus on compatibility with existing build systems.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

slimcc started as fork of Rui Ueyama's chibicc, after three years about 85% of the code is new. It fixed issues compiling real projects, added basic codegen optimizations, reduced RAM footprint, mostly-completed support for older (C89) to newer (C23) standards, and implemented commonly used GNU extensions. It is mature enough to serve as a drop-in C compiler for most portably-written programs in glibc environment, and able to bootstrap a chroot with musl/binutils/userland all compiled by itself.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub