Skip to content

cyberia-to/rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tags cyber, rs, rust, language, research
icon βš™οΈ
stake 2440926101748440

Rs: Safer, Faster, Field-First Rust

Rust treats bytes as machine integers. Rs treats bytes as elements of F_p. This single shift makes determinism, addressing, and bounded computation natural rather than enforced.

Rs is a minimal, strict superset of Rust for building systems where every byte is a field element. Rust manages memory safely. Rs manages state safely β€” where the word is not a machine integer but an element of a finite field, and where correctness means every node produces identical output for identical input.

 Universe     Language   Type      Algebra            Purpose
 ─────────────────────────────────────────────────────────────
 Binary       Bt         Bit       F_2 tower          Circuits
 Byte         Rs         Word      Bitwise on F_p     Systems
 Field        Trident    Field     Arithmetic on F_p  Proofs

The file extension is .rs. The edition identifier is rs. The compiler binary is rsc.

Seven Primitives

# Primitive Compiler Library Guarantee
1 Typed Registers βœ“ β€” MMIO without unsafe
2 Bounded Async βœ“ β€” No unbounded waits
3 Deterministic Functions βœ“ β€” Same output everywhere
4 Addressed Types β€” βœ“ Identity from content
5 Step-Scoped State β€” βœ“ No state leaks
6 Cell Declarations β€” βœ“ Hot-swap + lifecycle
7 Edition Restrictions βœ“ β€” No heap, no leaks

Compiler patch: ~2,000 lines. Library + macros: ~6,550 lines. Rust compatibility: 100%.

Documentation

Any Rust programmer can write Rs. Any LLM trained on Rust can generate Rs. Any no_std crate works with Rs. The ecosystem is not forked β€” it is extended.

Rust made systems programming safe. Rs makes it algebraic. When the word is a field element, determinism is not a discipline β€” it is the default.

About

🏍 safer, faster, field-first rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors