Irina Shestak: knock-knock-who-there-file-compression-TALK-FINAL-4.tar.trz.bz2.gz | JSConf EU 2017
http://2017.jsconf.eu/speakers/irina-shestak-knockknockwhotherefilecompressiontalkfinal4tartrzbz2gz.html Fade in. An opened terminal window. iTerm2 is the flavour. Dracula, the theme. You split the panes in two. You are at it again: a stash of audio buffers and that dream of manipulating a lossless file. With node as your language of choice you embark on the night. You manipulate, you transform, you have your byte order sorted, on their own accord your fingers type gzip -f yourFavPhilCollinsSong.mp3. All of a sudden, a whisper: But what if. we stream. file compression. on the fly. Fade to black. In this talk we will walk through file compression algorithms in node as well compression standards. We will cover working with streams, audio buffers, and typed arrays to get us to compress and decompress files, and yourFavPhilCollinsSong.mp3.