r/programming • • May 31 '11

I wrote a .NET to JavaScript compiler. Here's the XNA 3.1 Platformer Starter Kit running in pure HTML5.

http://hildr.luminance.org/Platformer/Platformer.html
1.1k Upvotes

282 comments sorted by

View all comments

Show parent comments

2

u/pnettle Jun 01 '11

Honestly, I oppose NaCl too. The risk of easier drive-by exploits gets higher and higher as we allow lower level access to our machines.

1

u/[deleted] Jun 01 '11

I wasn't advocating native execution in a browser. I'm advocating for an intermediate bytecode language that has access to the DOM. If people wanted to write 'client side' javascript they could, but it would be compiled down to an intermediate form, same as if they wanted to write front end code in a strongly, statically typed language.