Sign in with
Sign up | Sign in

Linux Emulator That Runs In Your Web Browser

By - Source: Fabrice Bellard

JavaScript is showing off more of its potential as French developer Fabrice Bellard published a PC emulator using the platform.

Bellard's jslinux runs within a web browser and provides a 32-bit X86 CPU, an interrupt controller, interrupt timer as well as serial interface within 90 KB. According to the developer, the emulator has been tested with Firefox 4 and Chrome 11 (it does not work in Chrome 12 beta) under Windows, Mac OS X and Linux. The code runs substantially faster in Firefox than in Chrome.

Since it works with Firefox 4, it also works on Android smartphones and tablets using the browser (which we briefly tested). jslinux is not compatible with the standard Android browser.

Bellard said that the the Linux kernel in the emulator is version 2.6.20; the emulated CPU is similar to a 486 processor without FPU, which, however, is not a big deal as Linux integrates a FPU emulator anyway. The developer stated that he was inspired by Qemu and was interested in finding out how optimized JavaScript code could be programmed for modern JavaScript engines. The result has rather limited use, but further development could turn the application into a full emulator that could run old software or games within a web browser.

(Check out all web browser software, on our download section)

There are 12 Comments.
Other Comments
  • 1
    radiumburn , May 19, 2011 7:12 PM
    So I could run firefox within firefox within a firefox that is running within a firefox and then go to tomshardware site and read a comment about how I should buy something at madeshopping.net and buy a "New era cap for $9" sounds like alot of work for spam..
  • 1
    enforcer22 , May 19, 2011 2:32 PM
    VampyrbyteI'm sure that made sense when you wrote it. I cant comprehend. However a picture of xzibit came into my head.


    No imagination...
  • 1
    DSpider , May 19, 2011 1:29 PM
    alikumJust like you're watching youtube and you see yourself watching youtube and within the youtube you see yourself watching youtube?


    You need to go deeper...
Tom’s guide in the world
  • Germany
  • France
  • Italy
  • Ireland
  • UK
Follow Tom’s guide
Subscribe to our newsletter