Skip to content

Comment on Boxedwine is an emulator that can run Windows applications in the browserparent

Comments

I have no idea of the details as to why, but in all the years I've used emulators, turning off the audio has always increased the speed of emulation in emulators that are struggling.

I realize Wine is not an emulator...but...same shit.

Processing audio is expensive, when done by the CPU.

The WASM build uses the 'normal' CPU core. In this core the CPU emulator is a collection of indirect calls that performs poorly in WASM due the runtime checks to verify the number of parameters and their types. For other builds there is a dynamic code generator. A similar approach would work wonders. Assistance gratefully accepted! - see source folders under emulation/cpu for armv7, armv8 & x32 for the 30 odd method implementations. To get native like performance a binary translator like that used for the x64 core is required

Probably something to do with html5 audio api

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.