0xMiden / 0xMiden/compiler

Heap-allocated values in cross-context calls

Ouverte
#369 2 commentaires 0 réactions 1 personne assignée Réclamée par @greenhat Voir sur GitHub
Langage dominant
Rust
Étoiles
115
Forks
84
Merge moyen
1 j 8 h
PR mergées (30 j)
15

Description

After https://github.com/0xMiden/compiler/issues/111

We support scalar values (felt, integers) in function signatures in WIT. To support heap-allocated values (words, structs, etc.) in cross-context calls we need to implement lowering/lifting Wasm CM types for the Miden ABI for `call` op (pointers to stack/advice provider, etc. and back).

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The issue references implementing lowering/lifting of Wasm CM types for the Miden ABI for the `call` op, specifically for heap-allocated values like words and structs. Start by examining the code around the `call` op and the existing ABI handling for scalar values. Look at the linked issue #111 for context on WIT function signatures. Determine how pointers to stack/advice provider are managed and what changes are needed to support these new types.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust, wasm
Domaine
backend, compilers
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.