I want bitcoin running in a browser because browsers work on every platform and can bring bitcoin to more people. Also keep in mind that reddit is primarily a website, to using javascript is a pretty appropriate first choice of language for bitcoin stuff.
Can you do serious crypto in C? Only if you know what you're doing and don't screw up. Same goes for javascript.
Overall I am sympathetic to your cause, but this raises alarms. JavaScript crypto is nonsense, you could have the implementation silently replaced with a naughty one at the hosts leisure.
EDIT: To respond to all of you at once - everything I've seen so far says that he was aiming for JS in the browser. Did I miss something?
What makes you think this?
There are plenty of ways to avoid that particular trap of JS crypto (or more specifically web crypto). Bundling it inside an extension comes to mind.
All that said, I'm not even convinced this attack is within the threat model of Redditcoin, given that it's resources for a specific website that is also the JS origin.
But where do you store the 25GB blockchain in a client-side full-node implementation?
Isn't this just an implementation only for Node?
That said, a browser-based bitcoin client does expose its user to potential XSS exploits 'n such; especially if the private key is in the browser's memory.
1. https://en.bitcoin.it/wiki/Raw_Transactions , basically if you mess this stuff up you lose coins.