by Mrinal Wadhwa on Saturday, 2 July 2011

Vote on this proposal
Status: Submitted

Session type

Technical level


Working with data at the binary level can be great way to maximize your application's performance while at the same time minimize network and memory overhead. This talk will teach you everything you need to know to work on binary data with Javascript in web browsers.


We will start by refreshing our basics of binary and hexadecimal numbers, then move on to understand various bitwise operators in javascript that can be used to manipulate data at the bit level, further we'll explore various other binary manipulation techniques like masking, shifting etc. and then look at how these binary numbers are further encoded to form various higher level data formats like utf8, json, xml, base64, bit vectors or even your own custom format. We will also take an in-depth look at various constructs available within browsers for working with large amounts of binary data like using arrays of numbers, using strings to store the data or the more modern Typed Arrays and DataView introduced by the WebGL specification etc. Finally, we'll discuss example scenarios were we can use all the above knowledge to write elegant and performant web applications.


  • 2
    [-] Mrinal Wadhwa Proposer 5 years ago

    @Aditya David Flanagan's talk was focused on the various use cases and the related (new) APIs .. I'll try and focus on the fundamentals and nuances of working with binary data in addition to just the APIs.

    • 1
      [-] Aditya (@netroy) 5 years ago (edited 5 years ago)

      @Mrinal Thanks.

      Thats why i said "related". BTW Looking forward to your talk eagerly. Very interesting

      cheers :)

  • 1
    [-] Aditya (@netroy) 5 years ago

    a good related talk from jsconf

Login with Twitter or Google to leave a comment