<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1311.2540/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1311.2540/feed.xml" rel="self" type="application/rss+xml" /><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by jiggawatts</title><link>https://news.ycombinator.com/item?id=39721928</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:39721928</guid><pubDate>Fri, 15 Mar 2024 23:53:03 GMT</pubDate><description>&lt;p&gt;Some people&amp;#x27;s brains just work this way. Here&amp;#x27;s an example of a somewhat popular and regularly maintained library written in a similar style: https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c66... Another example is Jarek Duda&amp;#x27;s paper on the ANS compression algorithm. A brilliant guy by all accounts, but his diagrams are... well... impenetrable. Check out Figure 4 on page 10: https://arxiv.org/pdf/1311.2540.pdf There&amp;#x27;s lines and arrows going every which way. There&amp;#x27;s about five different concepts layered on top of each other into one diagram, with nothing to obviously disambiguate…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — HN submission</title><link>https://news.ycombinator.com/item?id=34231137</link><guid isPermaLink="false">urn:hackerpapers:submission:1311.2540:34231137</guid><pubDate>Tue, 03 Jan 2023 13:40:08 GMT</pubDate><description>&lt;p&gt;Asymmetric numeral systems – A new approach to accurate entropy coding (2014) [pdf]&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;16 points; 2 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by pyinstallwoes</title><link>https://news.ycombinator.com/item?id=31456893</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:31456893</guid><pubDate>Sat, 21 May 2022 11:10:00 GMT</pubDate><description>&lt;p&gt;Sounds similar to: https://github.com/Cyan4973/FiniteStateEntropy https://arxiv.org/abs/1311.2540 &amp;gt; The modern data compression is mainly based on two approaches to entropy coding: Huffman (HC) and arithmetic/range coding (AC). The former is much faster, but approximates probabilities with powers of 2, usually leading to relatively low compression rates. The latter uses nearly exact probabilities - easily approaching theoretical compression rate limit (Shannon entropy), but at cost of much larger computational cost. Asymmetric numeral systems (ANS) is a new approach to accurate entropy…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by adamnemecek</title><link>https://news.ycombinator.com/item?id=15077108</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:15077108</guid><pubDate>Tue, 22 Aug 2017 23:03:49 GMT</pubDate><description>&lt;p&gt;It is. &amp;quot;Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding&amp;quot; https://arxiv.org/abs/1311.2540&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by pera</title><link>https://news.ycombinator.com/item?id=15059752</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:15059752</guid><pubDate>Sun, 20 Aug 2017 19:03:20 GMT</pubDate><description>&lt;p&gt;I think you are correct: ANS is an entropy coding method, so a patent shouldn&amp;#x27;t be able to claim a new use for encoding some specific type of information [1]. Also, Duda&amp;#x27;s paper even exemplifies the obvious use case for video compression [2]. [1] - https://en.wikipedia.org/wiki/Inventive_step_and_non-obvious... [2] - https://arxiv.org/abs/1311.2540&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by baybal2</title><link>https://news.ycombinator.com/item?id=14752901</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:14752901</guid><pubDate>Wed, 12 Jul 2017 14:43:02 GMT</pubDate><description>&lt;p&gt;Who is Jarek - his page http://th.if.uj.edu.pl/~dudaj/ His original publication from - https://arxiv.org/abs/1311.2540 . That work was a result of two years of research that was well documented, and was making noise in encoding community. His first notes on use ans for quick entropy coding date to 2008. First production grade code was published under GPL at around late 2013 with explicit intention to enforce copyleftness of derived works, and the patent poison pill clause. Jarek claims that Google has abruptly ended communications with him few month after the time of first code publication…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by TheGorramBatman</title><link>https://news.ycombinator.com/item?id=14203053</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:14203053</guid><pubDate>Wed, 26 Apr 2017 14:07:58 GMT</pubDate><description>&lt;p&gt;JPEG2000 used Arithmetic coding. But, you&amp;#x27;d have to re-write the standard and evaluate it to get JPEG to use Arithmetic coding (e.g. does the way JPEG coefficients are read out still make sense with Arithmetic coding)? There are also other algorithms for universal source coding that exist -- theres nothing to say that arithmetic coding is a good choice, esp. given its relatively complex compared to say Asymmetric Numeral Systems (Duda; arXiv:1311.2540 [cs.IT], though I don&amp;#x27;t remember where it was published) or (Recursive) Interleaved Entropy Coding (Klimesh and Kiely; NASA/JPL IPN Progress…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by rektide</title><link>https://news.ycombinator.com/item?id=12401504</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:12401504</guid><pubDate>Wed, 31 Aug 2016 21:11:02 GMT</pubDate><description>&lt;p&gt;Cyan4973/Yann also is well known for xxhash[1], which is one of the faster hashers[2] out there. Post a new hasher and people will probably ask about xxhash (ex: metrohash[3]). Guy is an absolute machine. If you search Google for &amp;#x27;zstd&amp;#x27; right now, you&amp;#x27;ll find him, not Facebook, namely: https://github.com/Cyan4973/zstd . Glad his work is being supported by someone now! Immensely well deserved, after so many years of helping make everyone fast. PS - I didn&amp;#x27;t know a lot of the terms you used, but the Finite State Entropy (FSE) link you provided does a good job intro&amp;#x27;ing some of them, and the…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by eln1</title><link>https://news.ycombinator.com/item?id=12058894</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:12058894</guid><pubDate>Fri, 08 Jul 2016 21:53:27 GMT</pubDate><description>&lt;p&gt;It points to even older paper for ANS: http://arxiv.org/abs/0710.3861 The more recent one is: http://arxiv.org/abs/1311.2540 The first one is about kind of multidimensional analogue of Fibonacci coding ( https://en.wikipedia.org/wiki/Fibonacci_coding )- on a lattice, such that there cannot be two neighboring &amp;#x27;1&amp;#x27;s. It also uses an interesting concept of Maximal Entropy Random Walk.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — HN submission</title><link>https://news.ycombinator.com/item?id=12055996</link><guid isPermaLink="false">urn:hackerpapers:submission:1311.2540:12055996</guid><pubDate>Fri, 08 Jul 2016 15:01:28 GMT</pubDate><description>&lt;p&gt;Asymmetric numeral systems (2014)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;39 points; 4 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by espadrine</title><link>https://news.ycombinator.com/item?id=12054242</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:12054242</guid><pubDate>Fri, 08 Jul 2016 08:34:54 GMT</pubDate><description>&lt;p&gt;LZ4 is a format. All you can say about how energy efficient a format is, is by looking at the average speeds of its implementations. However, zlib for instance (a DEFLATE library) is more energy efficient than zopfli (another DEFLATE library), just by virtue of taking less CPU cycles to crunch data. There is in fact a very high correlation between CPU cycles and energy efficiency, since compression algorithms don&amp;#x27;t sit idle and use roughly the same instructions. In fact, Yann Collet&amp;#x27;s Zstd uses the same principles as LZFSE, as both were sprouted from Jarek Duda&amp;#x27;s research…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by dchest</title><link>https://news.ycombinator.com/item?id=12048140</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:12048140</guid><pubDate>Thu, 07 Jul 2016 08:21:28 GMT</pubDate><description>&lt;p&gt;This is a baseless speculation. First of all, Apple provides LZ4 in libcompression. Secondly, LZFSE uses Lempel–Ziv algorithm and ANS coder invented by Jarek Duda (https://arxiv.org/abs/1311.2540): https://developer.apple.com/library/ios/documentation/Perfor...&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — HN submission</title><link>https://news.ycombinator.com/item?id=11630457</link><guid isPermaLink="false">urn:hackerpapers:submission:1311.2540:11630457</guid><pubDate>Wed, 04 May 2016 18:22:36 GMT</pubDate><description>&lt;p&gt;Asymmetric numeral systems: entropy encoding (2013)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;36 points; 9 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item><item><title>Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding — mentioned by wfn</title><link>https://news.ycombinator.com/item?id=7043500</link><guid isPermaLink="false">urn:hackerpapers:mention:1311.2540:7043500</guid><pubDate>Sat, 11 Jan 2014 19:42:19 GMT</pubDate><description>&lt;p&gt;Blog entry: http://fastcompression.blogspot.fr/2013/12/finite-state-entr... Paper: http://arxiv.org/abs/1311.2540&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1311.2540/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.IT</category></item></channel></rss>
