PDA

View Full Version : Linux In JavaScript, With Persistent Storage



mips
October 9th, 2011, 11:48 AM
http://stud.hro.nl/0814604/jslinuxdemo/emulator.html

http://linux.slashdot.org/story/11/10/08/1340253/linux-in-javascript-with-persistent-storage?utm_source=headlines&utm_medium=email

"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."

BeRoot ReBoot
October 9th, 2011, 12:09 PM
It's called "virtualisation", and javascript isn't a particularly efficient way of doing it.