News for hackers. Stuff that matters.
Re:Proposal for a Binary Encoding of the JavaScript AST by gabrielcsapo on Wednesday August 02, 2017 @12:45AM (#14907984)
it just feels like putting lipstick on a pig, use binary to solve the problem of bloated utf8 files.
Re:Proposal for a Binary Encoding of the JavaScript AST by Gaelan on Wednesday August 02, 2017 @12:48AM (#14907996)
utf8 isn’t “bloated.” A utf8 file with just ASCII characters (every character you’ll see in JS, with the exception of foreign language strings) is identical to the ASCII encoding. You may be thinking of UTF16, which does use two bytes for every character.