Write a guide "How to write small and fast Miden contracts in Rust"
#1060 · Rust · ★ 117 · MIT · updated 20d ago
@mooori mentioned that this topic came up in discussions. I'm thinking: Avoid memory allocation. Avoid unaligned memory access (avoid small ints like i8 and i16). Avoid Vec and probably other high-level container types. Use arrays. Felt arithmetic should have near-zero overhead…
replies in ~6h3/5 outside PRs mergedmaintainer left guidancehas CONTRIBUTING
Cleared 1m ago