Linux Kernel Running In JavaScript Emulator With Graphics and Network Support 177
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."
Bored with layers of indirection game now. (Score:3, Insightful)
Can we go back to trying to target for time+space efficiency rather than buzzwords?
Yes, network support. (Score:5, Insightful)
Turtles all the way down (Score:4, Insightful)
Re:is javascript faster than java? (Score:2, Insightful)
Um, Javascript can also have fantastic performance if you "use it correctly". Neither is particularly fantastic if you use like like an average programmer, though.
Re:is javascript faster than java? (Score:4, Insightful)
javascript != java
But you can still ask the question whether JavaScript is faster than Java.