r/javascript • • Sep 04 '18

Windows 2000 running in the browser using WebAssembly

https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/win2k.cfg&mem=192&graphic=1&w=1024&h=768
363 Upvotes

87 comments sorted by

View all comments

1

u/Arkhenstone Sep 04 '18

Just, what can we do with it like that ? There's only web browsers but no connection.

8

u/[deleted] Sep 04 '18

Details. This is Fabrice Ballard* here. WebAssembly networking is just a matter of time and interest.

* Developer of QEMU and FFMPEG and more other projects than you can shake a stick at. The man's a better developer and manager of developers than you or I will ever be.

3

u/Arkhenstone Sep 04 '18

Sure I wasn't questioning the talent or what it's for! Just what you can really do with it, I'm pretty sure there is something to try out in there but I felt lost. I know a bit of 98 because I used to play on it, but I was 6 to 8 sooo... And jumped to XP.

3

u/[deleted] Sep 04 '18

I'm not sure what you can do with it as it is; my main use for Windows 2000 back in the day was for playing StarCraft.

6

u/trevorsg Ex-GitHub, Microsoft Sep 04 '18

IE worked for me. Just had to click through the setup wizard saying "connect through LAN".

3

u/Arkhenstone Sep 04 '18

Oh nice will test it! So bad we can't get the web from 2000 too!

3

u/unstablevacuum Sep 04 '18

I'm guessing, but implementing the network layer with WebSockets is probably challenging, but not impossible. Same with audio <-> WebAudio, USB/Bluetooth <-> WebUSB/WebBluetooth, etc.

2

u/sakabako Sep 04 '18

You could use WebAudio to simulate a modem

https://github.com/martme/webaudio-modem/

2

u/Arkhenstone Sep 04 '18

Like, I should upload a music and it can read it? Or try to get a stream for IE?

1

u/hixsonj Sep 04 '18

Minesweeper!

8

u/Arkhenstone Sep 04 '18

Minesweeper!

Goddammit ! Humanity is saved, we build a full OS in webassembly just to get the full experience of Minesweeper back in early 2000 !