Justin du Coeur (jducoeur) wrote,
Justin du Coeur
jducoeur

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

*boggle*

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
Subscribe

  • the dogs

    We of course ate out throughout our stay in Edinburgh, mostly at local restaurants in the residential part of town. (Part of the motivation for…

  • Vacation: Motel 1

    [And now for the promised assorted notes from me] Our hotel in Edinburgh was something I haven't encountered in the US: inexpensive without feeling…

  • Oh, right -- we took this vacation

    Kate and I spent the beginning of the month in the UK, visiting first her northern relatives and then our friends pir and Miko. Here are Kate's…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment