ZILtoid1991@lemmy.world to Programmer Humor · 3 days agoAborted Virtual Machinelemmy.worldimagemessage-square11linkfedilinkarrow-up176arrow-down15file-textcross-posted to: [email protected]
arrow-up171arrow-down1imageAborted Virtual Machinelemmy.worldZILtoid1991@lemmy.world to Programmer Humor · 3 days agomessage-square11linkfedilinkfile-textcross-posted to: [email protected]
minus-squareCodexArcanum@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up5·3 days agoLiterally have a dozen other tabs open about how to embed a WASM engine into my Rust game. At least I’m not (currently, at this time, right now) writing my own language or trying to embed a prolog engine.
minus-squareZILtoid1991@lemmy.worldOPlinkfedilinkarrow-up3·2 days agoI think wasmtime should work. It works for me in D using the C API and a high-level wrapper.
minus-squareCodexArcanum@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·2 days agoOoh, I’d been looking at wasmer but wasmtime looks easier and more appropriate. Thanks for the suggestion! Also wow, a D programmer in the wild! I used to really like that language before I got into Rust (my beloved).
Literally have a dozen other tabs open about how to embed a WASM engine into my Rust game. At least I’m not (currently, at this time, right now) writing my own language or trying to embed a prolog engine.
I think wasmtime should work. It works for me in D using the C API and a high-level wrapper.
Ooh, I’d been looking at wasmer but wasmtime looks easier and more appropriate. Thanks for the suggestion!
Also wow, a D programmer in the wild! I used to really like that language before I got into Rust (my beloved).