News for hackers. Stuff that matters.
Re:WASM by Example by ReactiveJelly on Wednesday November 15, 2023 @02:50PM (#38281459)
Most of the 3rd-party libraries I use, I use for their side effects.

Qt opens GUI windows and sockets and such. libusb touches USB devices. OpenCV can capture video frames from a camera and sometimes use GPU acceleration. Sqlite manipulates files on disk.

So unfortunately with wasm in a sandbox, the easiest libraries to work with are only pure functions. ffmpeg would work, but HW encoding or decoding would be difficult, and I need to either enable some file system access in the wasm runtime or feed it file chunks on demand.

Re:WASM by Example by WanderPanda on Wednesday November 15, 2023 @09:38PM (#38285309)
This! Who really needs to tie together business logic components written in different languages?!