Re:Boxedwine is an emulator that can run Windows application...
by ravenstine on Saturday April 24, 2021 @12:06AM
(#26922170)
Runs horribly on macOS Firefox but, does indeed run at 60fps in Chrome with audio turned off. I wonder why the audio is such a problem? I'd think that audio wouldn't be that expensive even in an emulated environment.
[ Parent
| on HN ]
Re:Boxedwine is an emulator that can run Windows application...
by grawprog on Saturday April 24, 2021 @03:54AM
(#26923124)
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.
Re:Boxedwine is an emulator that can run Windows application...
by hutzlibu on Saturday April 24, 2021 @07:05AM
(#26923984)
Processing audio is expensive, when done by the CPU.
Re:Boxedwine is an emulator that can run Windows application...
by kev_emu on Saturday April 24, 2021 @08:02AM
(#26924270)
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