If my Linode falls over while hosting this, or you want to download all the files and host them locally to play with it, I've put a ZIP file of the demo up on my dropbox here:
http://dl.dropbox.com/u/1643240/Platformer.zip
Please note that it won't work if loaded from file:// because Firefox and Chrome are really aggressive about cross-origin checks (I think IE9 and IE10 will load it just fine from disk, though).
Questions and comments highly welcomed. :) The compiler is still relatively immature, but I'm very optimistic about where I can take it in the future.
Yeah, Azakai's brilliant. The paper he published was useful when figuring out how to translate goto statements to JS (C# supports them, though thankfully, they aren't used much.)
Nice! I've always thought emscripten is a bit annoying, as it doesn't integrate with the LLVM infrastructure, but instead re-parses everything in Python...
It's not. It might be possible to implement it in the future with Web Workers, but it'd be a stripped down implementation.
You could certainly run the managed bits of System.Threading through the translator, though; I've done that before. But the shiny bits happen to live on the native side of things, in both MS's CLR and Mono... :(
Please note that it won't work if loaded from file:// because Firefox and Chrome are really aggressive about cross-origin checks (I think IE9 and IE10 will load it just fine from disk, though).
Questions and comments highly welcomed. :) The compiler is still relatively immature, but I'm very optimistic about where I can take it in the future.