iCreatAI News
Skip to content
Trending storyUpdating

408-byte seed self-hosting compiler covers ARM64, WASM, and SPIR-V

1 reports1 sources20 hr agoUpdated

Understand this story

AI overview

Developer drakestapleton released the project seed: starting from a 408-byte handwritten machine code seed, it progressively self-hosts the compiler chain omc, with backends covering ARM64, WebAssembly MVP, and SPIR-V 1.0 OpenCL Kernel. According to the project description, on an AArch64 Linux machine you can use sh seed/challenge/run.sh to rebuild omc from this seed and verify it step by step against the published hashes, without modifying tracked files. C tools serve only as a referee; seed/host/check.sh runs gate-ir only when the three oracle binaries are present, otherwise it prints SKIP and the build command. The compiler itself does not require C tools.

AI overview based on source reports · Updated 19 hr ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 21
  1. Hacker News AI
    Show HN: Bootstrapping a compiler with AI run on to ARM64, WASM, SPIR-V

    A project grows a compiler toolchain from a 408-byte hand-written ARM64 seed, with each rung written in the language of the rung below and required to rebuild itself byte-for-byte, using existing C and GNU tools only as referees. The chain reaches omc, an Omega compiler written in Omegese that emits ready-to-run Linux programs with hand-laid file headers and no linker, and adds scalar WebAssembly MVP and SPIR-V 1.0 OpenCL Kernel backends. At commit e5b32567 the compiler source omc/omc.om is 12,040 lines and 208,168 bytes, and the seed chain uses 164 machine words against the C path's 600 on the 10 practice tasks.

Activity for this story

Current comparable activity
6
Peak comparable activity
10Nov 21 13:00
Change in the past 24 hours
–

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.