0xMiden / 0xMiden/tutorials

Use `procref` for FPI tutorials

Offen
#122 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @partylikeits1983 Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
18
Forks
34
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature description

Instead of string formatting, we should use `procref` opcode for FPI tutorials.

### Why is this feature needed?

Code clarity.

### Motivation

https://github.com/0xMiden/miden-base/pull/1883#discussion_r2349184113

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look at the linked PR discussion to understand the context of using `procref` opcode instead of string formatting in FPI tutorials. Examine the tutorial files in the repository to find where FPI (Foreign Procedure Interface) examples are currently using string formatting. Replace those instances with the `procref` opcode as specified, ensuring the tutorials still compile and run correctly.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.