Live data from Hacker News

Show HN: Windows 98 in browser

copy.sh

101–110 of 171 posts

Re: Show HN: Windows 98 in browser

#101

How bad is it that Windows 98, running in a ^%%^@#!ing emulator, in my browser no less, runs better than the latest versions of Android OR iOS?

I'm on a beefy 12-core 'nix box with 64 GB of RAM, and this emulator is extremely sluggish for me.

Perhaps because it doesn't run well for everyone?

Re: Show HN: Windows 98 in browser

#102
post #76

But is the A20 gate being properly emulated? :) I know a verification engineer who left AMD because he was tired of dealing with the ancient testbench which checked the ancient hardware. The browser should run in the hypervisor and provide a real hardware virtual machine. Provide both ARM and x86, one is emulated and one is real.

It's not. I haven't come across any software that relied on it.

Somewhat infamously, GRUB failed on Intel Macs (in 2006?) because it tried to use the A20 gate, and Apple refused to emulate it. It's fixed now, though.

Re: Show HN: Windows 98 in browser

#104
post #78

This is such a great demonstration of both how fast JS engines have become in the browser, and how much less efficient native software has become overall. Running on top of an x86 emulator in JavaScript , it's still faster to pop open a file browser and click around than it is on some modern smartphones.

Most modern smartphones run Android, which means they have a bastardized Java VM between your "native code" and actual metal... not unlike having a JS VM.

It's not that "native software" has become less efficient, but rather that it is slowly disappearing.

Re: Show HN: Windows 98 in browser

#106
post #81
post #25

Earlier quoted context omitted.

Learning about CPU internals was a huge part of your first year in CS? Where did you go to school? At my school and every other school I'm remotely familiar with, the knowledge needed to emulate a CPU would be covered in upper division computer engineering courses, and not covered by CS undergrads at all, certainly not in their first year.

Back in 2007, my first semester in a technical CS school had plenty of assembly, binary, MMU emulation, OSI / TCP/IP, boolean math and so on. I know this is mostly gone at this point, but it should not. The fundamentals are essentials. I often meet people who are totally clueless how a computer work and have CS degrees. "How can you do C, it is so old? By now, we must have invented faster languages. Computers changed…

Those aren't the fundamentals of CS. The fundamentals of CS are data structures and algorithms, as the Good Book says. Hardware is important, practically, but don't let practicality blind you to the actual core of the field: Practicality has a way of becoming obsolete, and an actual education is for life.

Re: Show HN: Windows 98 in browser

#107
"My Briefcase" could have been Dropbox, 10 years earlier, if only 1) it could work decently, which it never did, and 2) had an option to sync to MS servers. Bandwidth was an issue at home, back then, but for offices it would have been fine.

Re: Show HN: Windows 98 in browser

#108
post #25
post #20

Earlier quoted context omitted.

University courses? I'm pretty sure CPUs were a huge part of my first year of CS.

Learning about CPU internals was a huge part of your first year in CS? Where did you go to school? At my school and every other school I'm remotely familiar with, the knowledge needed to emulate a CPU would be covered in upper division computer engineering courses, and not covered by CS undergrads at all, certainly not in their first year.

First year, second semester we learned binary logic, system bus, how a CPU works, etc. I think it was seen as the foundation so you actually understand how a computer works.

Re: Show HN: Windows 98 in browser

#109

Earlier quoted context omitted.

Yeah, I always feel the same when I see similar things. How do you even start?

Personally, I had some courses on computer architectures, and those covered the theory of how CPUs are constructed, how they run programs, etc. I decided to write an NES emulator. So: - Find Wikipedia articles, and learn that it used a variant of the MOS Technology 6502, which was used in a lot of computers in the 80s. - Find some digitized assembly programming manuals from the time (I think the one I used was distri…

One of my friends at uni wrote a Z80 emulator/assembler in PDP-10 assembler as a hobby project - and he was studying chemistry, not CS...

I don't understand why a basic understanding of CPU architectures isn't a CS fundamental everywhere.

Even if you have no interest in emulating a CPU or an OS, you really do need to know what registers are, how caches work, what interrupts do, and how basic IO happens.

At the very least it's a practical demonstration of one particular kind of VM, and - if you want to - you can generalise from that to VMs of your own design.

For web apps, not understanding these things can get expensive. Cycles, even cloud cycles, aren't free, and if you take zero interest in optimisation and efficiency you're literally throwing money away.

Re: Show HN: Windows 98 in browser

#110
post #101

How bad is it that Windows 98, running in a ^%%^@#!ing emulator, in my browser no less, runs better than the latest versions of Android OR iOS?

I'm on a beefy 12-core 'nix box with 64 GB of RAM, and this emulator is extremely sluggish for me. Perhaps because it doesn't run well for everyone?

Oh, I wouldn't call this emu fast... but its still faster than a lot of smartphones I encounter
Post reply on HN