▲ 867 ▼ Moving to rust (media.piefed.zip) submitted 7 months ago by Maven@piefed.zip to c/programmer_humor@programming.dev 98 comments fedilink hide all child comments
[–] kopasz7@sh.itjust.works 15 points 7 months ago (3 children) I'm only asking this half jokingly, what the fuck? permalink fedilink source parent hideshow 3 child comments replies: [–] The_Decryptor@aussie.zone 17 points 7 months ago Makes it portable across architectures while also providing sandboxing. The fedi software I use (GoToSocial) runs both ffmpeg (Sorry, ffmpreg) and sqlite through WASM, also makes it easier to integrate it with Go code apparently. permalink fedilink source parent [–] SlurpingPus@lemmy.world 7 points 7 months ago Reminder that Fabrice Bellard, who originally wrote FFMpeg (and QEMU), also made JSLinux, currently based on his other PC emulator TinyEMU and using WASM. permalink fedilink source parent [–] gandalf_der_12te@discuss.tchncs.de 15 points 7 months ago WASM is great :) unironically everything should switch to wasm. i'm not saying this because of arbitrarily. it's just very well thought-through. wasm automatically provides portability, sandboxing, and integration with other languages. like, one of the things i still don't understand is why we don't have automatic sandboxing for every application. like, when i download and run a new game from steam, why isn't it automatically put in a sandbox? Why does it have full read/write access to my entire disk? i don't like that at all... Converting everything to wasm would solve that automatically, and very easily on top of that. permalink fedilink source parent
[–] The_Decryptor@aussie.zone 17 points 7 months ago Makes it portable across architectures while also providing sandboxing. The fedi software I use (GoToSocial) runs both ffmpeg (Sorry, ffmpreg) and sqlite through WASM, also makes it easier to integrate it with Go code apparently. permalink fedilink source parent
[–] SlurpingPus@lemmy.world 7 points 7 months ago Reminder that Fabrice Bellard, who originally wrote FFMpeg (and QEMU), also made JSLinux, currently based on his other PC emulator TinyEMU and using WASM. permalink fedilink source parent
[–] gandalf_der_12te@discuss.tchncs.de 15 points 7 months ago WASM is great :) unironically everything should switch to wasm. i'm not saying this because of arbitrarily. it's just very well thought-through. wasm automatically provides portability, sandboxing, and integration with other languages. like, one of the things i still don't understand is why we don't have automatic sandboxing for every application. like, when i download and run a new game from steam, why isn't it automatically put in a sandbox? Why does it have full read/write access to my entire disk? i don't like that at all... Converting everything to wasm would solve that automatically, and very easily on top of that. permalink fedilink source parent