Skip to content

Update docs: tutorial and quickstart improvements for Audulus users#13

Closed
jersmi7 wants to merge 2 commits intoaudulus:mainfrom
jersmi7:update-docs
Closed

Update docs: tutorial and quickstart improvements for Audulus users#13
jersmi7 wants to merge 2 commits intoaudulus:mainfrom
jersmi7:update-docs

Conversation

@jersmi7
Copy link
Copy Markdown
Contributor

@jersmi7 jersmi7 commented Apr 20, 2026

Corrections and additions based on practical experience writing Lyte in Audulus, including things discovered through iterative use of lyte-cli --check. Covers Audulus-specific patterns, Do's and Don'ts, and common pitfalls not covered in the existing docs.

wtholliday and others added 2 commits April 20, 2026 12:45
New instruction set: [opcode:8][rA:4][rB:4] = 16 bits, 256 opcodes,
16 registers. Destructive 2-operand arithmetic (rA op= rB). Offset-encoded
load/store opcodes for common struct field offsets (0-32 bytes) avoid
trailing data words in hot loops.

Pipeline: shared codegen/optimizer → 16-reg linear scan with spilling →
3-op to 2-op destructive lowering → pack to Vec<u16> → Rust dispatch loop.

Phase 2 will add full opcode coverage and golden test equivalence.
Phase 3 will add ARM64 assembly dispatch with all 16 VM registers pinned
to CPU registers and a 65K-entry jump table.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@wtholliday wtholliday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes under src were probably not intended

@wtholliday wtholliday closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants