Riscrithm – An intuitive RISC-V assembler and optimizer coded in Go

patrick-ghetea 27 points 3 comments May 25, 2026
github.com · View on Hacker News

Discussion Highlights (2 comments)

patrick-ghetea

Riscrithm is an intuitive RISC-V assembler designed to make writing assembly simpler. Its syntax is meant to be clean while staying strictly aligned with native machine instructions. The GitHub repository offers a detailed description of Riscrithm v1.0.0, along with a Developer Manual in the README.md for an deep dive into its syntax (the README.md also includes a short summary of what v1.1.0 will include). While v1.0.0 isn’t perfect, work is underway on version 1.1.0, which will add important new features to the language. The compiler is written in Go, with versions available for Windows, Linux, and Apple (both AMD64 and ARM64). For any further questions, feel free to leave a comment on the post.

Joker_vD

Ah, so it's a so-called "high-level assembler" like PL/360 [0] for System/360 or PL-11 [1] for PDP-11? The problem with such languages is, well, C has killed them pretty thoroughly. You can take PCC, or LCC, or Tiny CC, and cobble a new instruction-emitter (for a relatively sane ISA) of decent quality in a week or so. [0] https://en.wikipedia.org/wiki/PL360 [1] https://en.wikipedia.org/wiki/PL-11

Semantic search powered by Rivestack pgvector
8,444 stories · 79,672 chunks indexed