Slashdot Mirror


Linux Kernel Running In JavaScript Emulator With Graphics and Network Support

New submitter warmflatsprite writes "It seems that there have been a rash of JavaScript virtual machines running Linux lately (or maybe I just travel in really weird circles). However until now none of them had network support, so they weren't too terribly useful. Sebastian Macke's jor1k project uses asm.js to produce a very fast emulation of the OpenCores OpenRISC processor (or1k) along with a HTML5 canvas framebuffer for graphics support. Recently Ben Burns contributed an emulated OpenCores ethmac ethernet adapter to the project. This sends ethernet frames to a gateway server via websocket where they are switched and/or piped into TAP virtual ethernet adapter. With this you can build whatever kind of network appliance you'd like for the myriad of fast, sandboxed VMs running in your users' browsers. For the live demo all VMs connect to a single private LAN (subnet 10.5.0.0/16). The websocket gateway also NATs traffic from that LAN out to the open Internet."

6 of 177 comments (clear)

  1. Re:So...? by Sockatume · · Score: 4, Funny

    As a component of a Beowulf cluster, obviously.

    --
    No kidding!!! What do you say at this point?
  2. Yeah, but does it run... by sl4shd0rk · · Score: 3, Funny

    ..er, forget it.

    --
    Join the Slashcott! Feb 10 thru Feb 17!
  3. Re:Yes, network support. by Anonymous Coward · · Score: 4, Funny

    2014 will be the year of the Javascript emulated Linux Desktop

  4. Re:So...? by Sloppy · · Score: 5, Funny

    It lets you be a VPS provider, using nothing other than a copy of Chromium. No need for fancy processors and virtualizing instructions, no hypervisors, no containers, whatever.

    Scales beautifully: Got a new customer? Just open another tab!

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  5. Re:Yes, network support. by Trepidity · · Score: 3, Funny

    Just as long as we get a year of the Linux desktop, I'm willing to settle for it at this point.

  6. Re:So...? by David_Hart · · Score: 5, Funny

    What does one use this for?

    The same thing we do every night, Pinky - try to take over the world!