3 ms·
Show HN: I wrote a .NET to JS compiler. Here's an XNA demo compiled to JS.
- Alg0r1thm 15y agoWorked on OSX just fine w/ FF4. Great job so far! Can't wait to checkout and play with it on a Windows box later.
- nl 15y agoThis is pretty impressive. Are the any details on the C#->Javascript compiler? Any comments about Ray Cromwell's comments on the lack of suitable sound APIs for games in HTML? http://cromwellian.blogspot.com/2011/05/ive-been-having-twitter-back-and-forth.html http://cromwellian.blogspot.com/2011/05/ive-been-having-twit...
- tknv 15y agoWow
- diegoponciano 15y agoAwesome, the demo is pretty slick! (unlike some other demos, it runs pretty fast on chrome, very impressive).
- kevingadd 15y agoIf 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 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.
- peregrine 15y agoThis worked surprisingly well. Nice work!
- hugh4life 15y agoReally nice... I found it interesting that you are with Mozilla considering the guy behind the llvm-to-javascript compiler works there too... https://github.com/kripken/emscripten https://github.com/kripken/emscripten
- cheez 15y agoReally good.
- greendot 15y agoI'm impressed. Definitely an upvote.
- cyanbane 15y agoVery, very cool. Interested to see how System.Threading is implemented/converted.
- kevingadd 15y agoIt'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... :(
- cyanbane 15y agoGotcha, looking at the JS. Still very impressive. Been interested in the Script# project for awhile, this looks along same lines. Good stuff.
- HardyLeung 15y agoAmazing!
- jwatte 15y agoNice! 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...
- dtzWill 15y agoI created an account just to upvote this, very cool and keep up the good work! :)
- diegoponciano 15y agoMe too haha =)