<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Validating UTF-8 In Less Than One Instruction Per Byte · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2010.03090/</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/2010.03090/feed.xml" rel="self" type="application/rss+xml" /><item><title>Validating UTF-8 In Less Than One Instruction Per Byte — mentioned by 3pm</title><link>https://news.ycombinator.com/item?id=40383205</link><guid isPermaLink="false">urn:hackerpapers:mention:2010.03090:40383205</guid><pubDate>Thu, 16 May 2024 21:10:38 GMT</pubDate><description>&lt;p&gt;Good paper on UTF-8 validation performance: https://arxiv.org/pdf/2010.03090 The relatively simple algorithm (lookup) can be several times faster than conventional algorithms at a common task using nothing more than the instructions available on commodity processors. It requires fewer than an instruction per input byte in the worst case.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2010.03090/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DB</category></item><item><title>Validating UTF-8 In Less Than One Instruction Per Byte — mentioned by striking</title><link>https://news.ycombinator.com/item?id=39072183</link><guid isPermaLink="false">urn:hackerpapers:mention:2010.03090:39072183</guid><pubDate>Sat, 20 Jan 2024 20:52:01 GMT</pubDate><description>&lt;p&gt;From https://github.com/websockets/utf-8-validate/tree/master/dep... &amp;gt; This C++ library is part of the JavaScript package utf-8-validate. The utf-8-validate package is routinely downloaded more than a million times per week. &amp;gt; If you are using Node JS (19.4.0 or better), you already have access to this function as buffer.isUtf8(input). And at https://github.com/websockets/utf-8-validate/tree/master/dep... &amp;gt; # Reference &amp;gt; John Keiser, Daniel Lemire, [Validating UTF-8 In Less Than One Instruction Per Byte](https://arxiv.org/abs/2010.03090), Software: Practice &amp;amp; Experience 51 (5), 2021&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2010.03090/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DB</category></item><item><title>Validating UTF-8 In Less Than One Instruction Per Byte — mentioned by tlb</title><link>https://news.ycombinator.com/item?id=32965311</link><guid isPermaLink="false">urn:hackerpapers:mention:2010.03090:32965311</guid><pubDate>Sat, 24 Sep 2022 18:23:30 GMT</pubDate><description>&lt;p&gt;Modern CPUs can look ahead in the instruction stream and run 4 or more instructions simultaneously. This isn&amp;#x27;t easy: you have to respect data dependencies where one instruction depends on the output of a previous one. When something depends on a load instruction that missed in the cache, CPUs can keep going farther ahead and do some other work while waiting for load to complete. This &amp;quot;speculative out-of-order execution&amp;quot; requires a huge number of transistors to consider various combinations of future instructions it might be able to execute every clock cycle, and burns some extra power doing…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2010.03090/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DB</category></item><item><title>Validating UTF-8 In Less Than One Instruction Per Byte — HN submission</title><link>https://news.ycombinator.com/item?id=24843078</link><guid isPermaLink="false">urn:hackerpapers:submission:2010.03090:24843078</guid><pubDate>Tue, 20 Oct 2020 22:47:53 GMT</pubDate><description>&lt;p&gt;Validating UTF-8 in Less Than One Instruction per Byte&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2010.03090/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.DB</category></item><item><title>Validating UTF-8 In Less Than One Instruction Per Byte — HN submission</title><link>https://news.ycombinator.com/item?id=24771283</link><guid isPermaLink="false">urn:hackerpapers:submission:2010.03090:24771283</guid><pubDate>Tue, 13 Oct 2020 22:59:53 GMT</pubDate><description>&lt;p&gt;Validating UTF-8 in Less Than One Instruction per Byte&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2010.03090/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.DB</category></item></channel></rss>
