Protocol buffers for JavaScript?
Is there a way to do protocol buffers in JavaScript? Why for .js? If you think about sciencey requirements for a moment, situations pop up where you might want to send a large block of data to the client. With CRUD-style it doesn't really matter so much what you use. With sciencey stuff it does matter (at least I think it does). tradeoffs: protobuffs balances compactness, serialize and deserialize speeds well. text based protocols (xml / json) have a larger message size... but with javascript I wonder which is more effective. reference: code.google.com/p/protobuf-plugin-closure Google Protocol