Skip to content
S

Shecc

A self-hosting and educational C optimizing compiler

by sysprog21Free

#1746in Developer Tools
0In stores

Description

shecc is a self-hosting, educational C optimizing compiler, built from scratch in ANSI C. It targets 32-bit Arm, AArch64, 32-bit RISC-V and…

Highlights

  • Self-hosting C compiler built from scratch
  • Targets Arm, AArch64, RISC-V and x86-64
  • Own front end and machine code generator
  • SSA-based optimization with VIR
  • Dynamic linking with glibc

Ratings & Reviews

No ratings yet

Be the first to rate Shecc.

People also visit

X

XCC

Standalone C compiler/assembler/linker/libc for x86-64/aarch64/riscv64/wasm

Developer Tools
Launch
A

Amacc

Small C Compiler generating ELF executable Arm architecture

Developer Tools
Launch
S

selfie

An educational software system of a tiny self-compiling C compiler

Developer Tools
Launch
S

SmallerC

Simple C compiler

Developer Tools
Launch
C

Cowgol

A self-hosted Ada-inspired programming language for very small systems

Developer Tools
Launch
C

Compiler Explorer

Compile code with thousands of compilers, inspect the assembly

AI Skills
Get

Shecc FAQ

What is shecc?

A self-hosting educational C compiler that targets four architectures and can compile itself.

Does it need an assembler or linker?

No. The README says it has its own front end and machine code generator, with no external assembler or linker.

Which C features are supported?

A subset that includes common types, control flow, arrays with initializers and most operators, according to the compatibility notes.

How do I start?

Follow the bootstrapping section of the README.

What are the best Shecc alternatives?

Popular alternatives to Shecc include XCC, Amacc and selfie. See all Shecc alternatives

Developer Stuff

Badges