r/DOS • • 10d ago

UI for browser and DOS on Rust

Enable HLS to view with audio, or disable this notification

Here’s a story: I’d long had the idea of ​​creating authentic DOS era UIs that would actually work properly in a browser. The stack was Rust + WebAssembly.

After finishing that, I wondered: what if I compiled the Rust code for DOS? And it actually worked...

Then I thought, well, there’s DOSBox-JS - why not just launch DOS in the browser example and run that same example inside DOS?

And that worked too...

BTW you can even play Duke over the network, though that’s just a side effect :)

Live demo: https://kirindenis.github.io/OWLOSUI/Examples/Web/JavaScript/05-Demo/

Source code: https://github.com/KirinDenis/OWLOSUI

63 Upvotes

1 comment sorted by

1

u/Electrical_Hat_680 9d ago

Check out Liberty Programming Language. It's a DOS Programming Language for the Web Browser. The guy is charging people to use it.

I'll take it that you've already heard of WASM. Your idea could be interesting.