mmd <mmd....@gmail.com> skrev: (2 augusti 2020 11:31:21 CEST) >On 2020-08-01 12:42, Richard Fairhurst wrote: >> Ruffle is showing promise (https://github.com/ruffle-rs/ruffle) and >is >> under very active development, but does not yet support AS3 or the >Flash >> Player features that P2 needs. I would anticipate that P2 will be >able >> to run as WebAssembly when Ruffle reaches feature parity with AIR >2.6. > >Yes, exactly, that's one of the two approaches I had in mind: rewriting >from scratch preferably also in Rust (which obviously wouldn't fit in >the proposed budget or timeframe), or use Ruffle with the existing >code. >
I suggest we wait for ruffle to be ready and then compile P2 to first wasm and then decompile it into C and then translate it into rust. It can then be cleaned up and shipped to both as a desktop application and a wasm binary run in the browser. See https://github.com/wwwg/wasmdec https://github.com/jameysharp/corrode _______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk