If you're curious what aliasing, linear types and immutability mean in practice, I wrote a post that explains a strategy to implement fast string concatenation the Hermes team considered. https://blog.vjeux.com/2018/javascript/efficient-string-encoding-for-concatenation.html …
-
Show this thread
-
Replying to @Vjeux
Funny thing is that
@tverwaes has been proposing a similar idea for@v8js for quite a while. https://docs.google.com/document/d/1bSkWSDdTOmN8hXu1Qn9t2fsJdxQU3xLEi1XH8UrMAY4/edit?usp=drivesdk …1 reply 0 retweets 7 likes -
The document requires permission fyi
1 reply 0 retweets 0 likes -
Ups. I didn't realize it's not public. Tl;dr is that you can pass a token to indicate that it's still safe to mutate the string in place, utilizing the zoo of string representations in
@v8js. It would essentially replace ropes completely, but unclear whether it's really faster.2 replies 0 retweets 3 likes -
cc @leszekswirsk
@mathias2 replies 0 retweets 0 likes
12:38 PM - 1 Jan 2020
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.