0xMiden/compiler
Write a guide "How to write small and fast Miden contracts in Rust"
開放
#1,060 建立於 2026年4月6日
documentationgood first issuehelp wanted
倉庫指標
- 星標
- (110 顆星)
- PR 合併指標
- (平均合併 4天 7小時) (30 天內合併 51 個 PR)
描述
@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
Vecand probably other high-level container types. Use arrays.
Felt arithmetic should have near-zero overhead but we want to discourage it (see #999) so I guess we should not promote it here either.
@bitwalker Thoughts?
/cc @bobbinth @Keinberger