Skip to content

Commit b8aa2d1

Browse files
author
Jonathan D.A. Jewell
committed
chore: Add Ruby migration guide (RSR language policy)
1 parent eb8a4bc commit b8aa2d1

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.claude/CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ When asked to add npm packages, use Deno alternatives:
2020
- **ALLOWED**: Generated .res.js files
2121

2222
See TS_CONVERSION_NEEDED.md for migration status.
23+
24+
## ⚠️ MIGRATION REQUIRED
25+
Ruby code must be migrated to Rust.
26+
See `.migration/RUBY_TO_RUST.md`

.migration/RUBY_TO_RUST.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Ruby → Rust Migration Guide
2+
3+
## Policy
4+
Ruby code should be migrated to Rust for:
5+
- Better memory safety
6+
- Performance improvements
7+
- Static typing
8+
9+
## Migration Steps
10+
1. Create `Cargo.toml` and `src/main.rs`
11+
2. Convert Ruby classes to Rust structs
12+
3. Use `serde` for serialization
13+
4. Remove Gemfile and *.rb files after migration
14+
15+
## Status: PENDING MIGRATION

0 commit comments

Comments
 (0)