Please create an account to participate in the Slashdot moderation system


Forgot your password?
Emulation (Games)

Submission + - Linux Running in a Javascript Engine (

eldavojohn writes: Fabrice Bellard claims to have emulated a PC completely in JavaScript using Typed Arrays (which means you'll need Firefox 4 or Chrome 11 to check out the demo page). His emulation boasts a 32 bit x86 compatible CPU, a 8259 Programmble Interrupt Controller, a 8254 Programmble Interrupt Timer and a 16450 UART. It's running the 2.6.20 Linux kernel with some very basic programs but definitely a neat accomplishment. Even Bellard, of FFMPEG fame, isn't quite sure what it could be useful for but says he did it for fun and suggests its use as a benchmarking for JavaScript engines. It could also be used to do client side x86 emulation of x86 libraries or even eventually running DOS so users could play old PC Games in JavaScript. Despite its painful early years trapped manipulating the DOM, JavaScript is slowly gaining a reputation as a very capable language.
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Linux Running in a Javascript Engine

Comments Filter:

System checkpoint complete.