Fun Projects, Performance

Huffman Coding Explained

Due to patent issues with newer schemes [1], Huffman Coding remains to be the go-to compression algorithm of the day, being applied in ZIP, JPEG, PNG… and much more.

The core idea of Huffman Coding, is to use shorter codes to represent more frequent characters. As for why we always see a mysterious tree of zeros and ones, well, that’s essentially how computers store anything: with binary codes. Essentially the goal of constructing the Huffman binary tree is: to assign the most frequent characters to the shortest zero/one path, walking from tree root to end of a branch.


How to create such a tree?

Continue reading

JavaScript, Performance Intro


1. What is What makes it special?

A JavaScript framework which helps you create smooth, complex UIs for any screen. Stress on the smooth part. elements are styled with position:absolute and their positions are defined by matrix3d webkit transforms. This is what makes performant.

Continue reading