Forgot your password?
typodupeerror
Linux

Linux In JavaScript, With Persistent Storage 171

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 @10: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 @10: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 @10: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.

In the future, you're going to get computers as prizes in breakfast cereals. You'll throw them out because your house will be littered with them.

Working...