Write a guide "How to write small and fast Miden contracts in Rust"
#1060 · Rust · ★ 116 · MIT · updated 2mo 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 ~24h18/19 outside PRs mergedmaintainer left guidancehas CONTRIBUTING
Cleared 3m ago