Riscrithm: A Macro-Assembly Dialect That Compiles to Pure RISC-V Assembly
By
patrick-ghetea
The bagel they save for the regulars. Don't skim, savour.
Summary
Riscrithm is a lightweight, low-boilerplate macro-assembly dialect that compiles directly to pure RISC-V assembly. It serves as a bridge between high-level language expressiveness and the deterministic control of bare-metal hardware. The article serves as a developer manual covering the CLI tool, file structure, syntax rules, and compiler internals for this open-source project hosted on GitHub.
Key quotes
· 3 pulledThink of it as a bridge between the readability of a high-level language and the raw, deterministic control of bare-metal hardware.
Riscrithm is a lightweight, low-boilerplate macro-assembly dialect that compiles straight down to pure, human-readable RISC-V assembly.
Let's dive straight into how the compiler works, the syntax rules, and what's happening under the hood.
You might also wanna read
Netflix engineer's open-source tool cuts AI token usage by up to 90%
Netflix senior engineer Tejas Chopra created software called "Project Headroom" that prunes redundant tokens from AI agent instructions befo
Copyparty: A Lightweight File Server That Runs as a Single Python Script
Copyparty is a lightweight, full-featured file server that runs as a single Python script, making it extremely easy to set up without needin
Researcher's "ADHD" tool for Claude Code claims 2x improvement; experts call for more evidence
Solo researcher Udit Akhouri released a third-party Agent SDK tool called "ADHD" for Claude Code on Reddit, claiming it makes the coding age
bit.ly·1d agoReactOS open-source Windows NT clone reaches ARM64 boot milestone on Raspberry Pi 5
ReactOS, the open-source project aiming to recreate Windows NT, has achieved a new milestone by booting on ARM64 architecture. The experimen
Zig Devlog: Build System Rework Separates Maker and Configurer Processes
This devlog entry from the Zig programming language project announces a major rework of the build system, separating the maker process from
Reflections on DwarfStar 4's rapid rise in local AI inference
The author reflects on the unexpected popularity of DwarfStar 4 (DS4), a local AI inference project. They attribute its success to the conve
