TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

BinaryJS, Streaming realtime binary data to your web browser

115 pointsby ericzalmost 13 years ago

9 comments

steve8918almost 13 years ago
Very cool, I'll have to play around with this.<p>One request: could you also include an explicit LICENSE.TXT file stating that you have licensed it under the MIT license as opposed to just putting it in the comments? It would make it a lot easier for people to find if they might have requirements in terms of various licensing.
评论 #4299722 未加载
xxbondsxxalmost 13 years ago
This is a huge step forward for the javascript community. Having _real_ binary communication for WebGL games, media streaming, data analysis, etc etc is going to be huge.<p>Can't wait to see what people do with this.
评论 #4299723 未加载
Xceleratealmost 13 years ago
Yes, perfect timing! I've been needing something like this for a video streaming project I've been working on. I've been using Node for everything and haven't wanted to resort to (and purchase) Adobe Flash.<p>Thanks for making this!<p>Are there are disadvantages to this in terms of optimization compared to something like Flash?
评论 #4299806 未加载
Joerialmost 13 years ago
They state that performance is untested. While this is interesting for transporting binary data that needs no encoding or decoding, i suspect the use cases will be minimal. JSON is actually highly efficient already. Ebay did benchmarking of the various binary formats for server-to-server api's, and while JSON wasn't the fastest, it was fast enough. <a href="http://www.infoq.com/presentations/Dealing-with-Performance-Challenges-Optimized-Data-Formats" rel="nofollow">http://www.infoq.com/presentations/Dealing-with-Performance-...</a>
azakaialmost 13 years ago
I'm on Firefox 17 but <a href="http://examples.binaryjs.com/hw.html" rel="nofollow">http://examples.binaryjs.com/hw.html</a> tells me<p>&#62; Your browser doesn't support binary websockets and is not yet supported by BinaryJS. Fallbacks are in the works but not yet complete. Chrome 15+ and Firefox 11+ are known to work.<p>I do see a picture of a flower, so it looks like it did actually work despite the message..?
评论 #4299670 未加载
评论 #4299662 未加载
评论 #4299669 未加载
评论 #4299634 未加载
AjayTripathyalmost 13 years ago
I can't wait to see a real, scalable game on the full javascript stack: webgl/html5 graphics , node.js / binary.js backend, and a mongodb database.
MatthewPhillipsalmost 13 years ago
Very nice! Could you explain a bit about the choice to go with BinaryPack, specifically what is wrong with sending ArrayBuffers over the wire?
评论 #4299551 未加载
makmanalpalmost 13 years ago
Pure javascript p2p video streaming, here we come!
drivebyacct2almost 13 years ago
Video or audio chat? Why? You need the new media stream components to get a usable stream for those anyway, and if you have that, you might as well use PeerConnection.
评论 #4300029 未加载