Ancestors

Toot

Written by Sergey Shandar on 2024-11-20 at 04:05

Just an idea for the future ECMAScript proposal: UTF8 literal. The literal should have the prefix u. For example, u"Hello!". The literal automatically converted into bigint. For example, u"Hello"will be converted into 0x1_6F_6C_6C_65_48n. LSB first, the most significant byte is 1 as a terminal symbol. The===` will work, but ordering (<,>) is not lexicographic. The good thing about this literal is that there is no need to change a JavaScript VM, only its parser. #JavasScript #utf8 #ecmascript

=> More informations about this toot | More toots from functionalscript@techhub.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113513300328561884
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
233.040978 milliseconds
Gemini-to-HTML Time
0.658711 milliseconds

This content has been proxied by September (3851b).