0xMiden/compiler

Write a guide "How to write small and fast Miden contracts in Rust"

オープン

#1,060 opened on 2026/04/06

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (70 件のフォーク)github user discovery
documentationgood first issuehelp wanted

Repository metrics

Stars
 (110 個のスター)
PR merge metrics
 (平均マージ 4d 7h) (30d で 51 merged PRs)

説明

@mooori mentioned that this topic came up in discussions.

I'm thinking:

  1. Avoid memory allocation.
  2. Avoid unaligned memory access (avoid small ints like i8 and i16).
  3. Avoid Vec and 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

コントリビューターガイド