Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Linux In JavaScript, With Persistent Storage 171

Posted by timothy
from the and-all-I-want-is-a-working-wireless-card dept.
An anonymous reader writes "Remember Fabrice bellard's [Linux-booting PC emulator in JavaScript] ? This modified version [Note: click on "emulator.html" in that directory to see it in action] allows the same emulator to boot the most recent linux kernel, 3.0.4, as well as providing the user with persistent storage. It is achieved by building a virtual block device, which stores data in HTML5 local storage. The block device can be partitioned and formatted as ext2, so it can be easily used."
This discussion has been archived. No new comments can be posted.

Linux In JavaScript, With Persistent Storage

Comments Filter:
  • Educational sandbox? (Score:4, Interesting)

    by Irick (1842362) on Saturday October 08, 2011 @09:35AM (#37647718)
    This could be a great thing to embed into online how-tos and the like for teaching basic or even advanced linux. ... heh, embedded linux on the rise again :P
  • by somersault (912633) on Saturday October 08, 2011 @09:41AM (#37647758) Homepage Journal

    I think it's very cool. Technical, yes. Difficult? Probably not that difficult seeing as Linux is designed to be amazingly portable. It doesn't even need the C standard IO library to compile, so really you'd just need to emulate a few low level interfaces for things like memory access, keyboard input and a terminal display. There are a few different ways to implement it, but if he has it running quickly then that would be quite impressive :)

  • New malware vector? (Score:3, Interesting)

    by Anonymous Coward on Saturday October 08, 2011 @09:46AM (#37647798)
    Rather than using javascript to load infected files that use *.pdf and other infectible formats, they can now run a botnet just using an infected ad straight inside your web browser.

Life is a game. Money is how we keep score. -- Ted Turner