66 points · by robin_reala · 14y ago · 22 comments
Another benefit is C++ compiled to JS tends to be faster than handwritten JS, because it avoid things like GC and property accesses and focuses on things JS engines can easily do fast, like typed array accesses.
Having played it, I must report back to say: this is stunning. It's wicked fast. Wow. Just wow.
Was playable in low-ress mode, though sometimes laggy, on my 2010 MacBook Air with Chrome.
Edit: The "troubleshooting" section on the page might help.
Edit2: If that doesn't help, try clearing the cache and reloading, I've seen that fix things on Chrome, not sure why.
Edit3: And specifically for Chrome, make sure pointer lock is enabled, it's disabled by default.
Edit4: I think I can reproduce this, once every few runs it stalls like that, because Chrome fails to decode audio sometimes. Reloading fixes it for me.
Debug build is up at http://dl.dropbox.com/u/80664946/index.html which tells you what is causing startup to fail in the error console.
Maybe next time ;)
(However, we haven't implemented saving the config file for next run yet, so it will just be for that run.)