Justin du Coeur (jducoeur) wrote,
Justin du Coeur

Okay, that carries the compile-to-Javascript thing to a whole new level


Yeah, sure, I've gotten used to the notion that Javascript is nowadays best treated as an object format, using the browser as its "hardware" -- enough so that I believe the next version of Querki's UI is going to be written in Scala and compiled to Javascript.

But the point has just been driven home to me by discovering that someone has (several years ago, in fact) compiled Linux to Javascript, along with an emulator of an x86 PC for it to run on, and built a complete virtual machine inside the browser. And I don't mean a little toy subset of Linux -- for giggles, I typed "emacs hello.c", and by god it booted freaking Emacs inside of my browser. It runs like mud, of course, but this is very much one of those "it's a wonder the bear dances at all" moments.

I think I need to re-evaluate my definition of the word "platform". If you can run a PC emulator, running an operating system, running a huge and complex program, all inside of a browser window, the game has definitely shifted...
Tags: programming

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment