Run Linux on… JavaScript?!

May 17, 2011

JavaScript logo 150x150Fabrice Bellard built an x86 PC emulator using JavaScript. He’s even gone so far as to install Linux kernal 2.6.20 on top of it. “Thee code is written in pure Javascript using Typed Arrays which are available in recent browsersm,” Bellard wrote. It works in Firefox and Chrome 11, but not not Chrome 12.

As for the Linux instance, Bellard wrote: “The disk image is just a ram disk image loaded at boot time. It contains a filesystem generated with Buildroot containing BusyBox. I added my toy C compiler TinyCC and my unfinished but usable emacs clone QEmacs.” You can see Linux running JavaScript here.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Like Box

- Facebook Members WordPress Plugin

Links

  • 4 Hour Workweek Blog
  • All Things Digital
  • Beyond The Pedway
  • Business Hackers
  • Entrepreneur.com
  • Fast Company
  • Gigaom
  • Hacker News
  • Jonathan Fields
  • Mashable
  • Mixergy.com
  • Read Write Web
  • Seth Godin's Blog
  • Startup Nation
  • TechCrunch
  • The Next Web
  • Venture Beat