On Sat, Mar 31, 2018 at 10:57 PM, 'André Hentschel' via RISC-V SW Dev
<
sw-...@groups.riscv.org> wrote:
> Well, for porting Hangover real HW is needed, it simply makes no sense to
> run an emulator in an emulator to see every frame without a feeling for
> speed bottlenecks...
ahh come ooon, it's fuuun! try this: install linux. then wine.
then MSYS and MingW32... both under wine. then get the python 2.7
source code, and track down and apply the mingw32 patches. then
compile python-win32.... using a native win32 port of gcc... emulated
under wine... mwahahaha. it's really quite educational to see what
keels over and what doesn't, and you will be very surprised to learn
how far it gets: the unit tests actually score *higher* than the
python software foundation's own python-win32 build!
but seriously, the reason i recommend running emulators under
emulators is because if anything is truly, truly dreadfully slow, then
congratulations you've just found a bug [which otherwise you would not
notice].
with systems being so utterly insanely fast now, severe performance
bugs are often completely overlooked. in the case of the above
insanity there was a bug... *in bash* that was (eventually) tracked
down after 6-8 months... thanks to running autoconf scripts where
everything was compiled for win32's posix emulation *and then itself
emulated*. the bug resulted *literally* in each line of an autoconf
script taking between 1-4 seconds, where normally it takes
milliseconds natively.
plus it's just hilarious to run emulators inside emulators.
l.