Proxying Mutability in Javascript | Live Rust Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มิ.ย. 2024
  • Passing a mutable struct from WASM into JS is hard when you try to adhere to Rust's memory model. Let's work around that completely by using a proxy object! This object will accumulate the actions we want to commit to the data on the Rust/WASM side, and we'll think of a clever way to pass data from reads back to JS... hopefully :D
    Stream date: 2024-06-26
    Support the stream: ko-fi.com/tommarkstalkscode
    Source: github.com/phy1um/rust-simple-vm
    Streamed live @ / tommarkstalkscode
    Follow me at coding.tommarks.xyz
    Email: tom@tommarks.xyz
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1

  • @DMWatchesYoutube
    @DMWatchesYoutube 7 วันที่ผ่านมา

    Someone is watching this right now with me 👋 good stuff huh