2ality – JavaScript and more
フィード
Mastodon’s weaknesses and how to fix them
2ality – JavaScript and more
<p>As a web developer, I love Mastodon:</p><ul><li>Since Twitter became X, there are enough web dev people here.</li><li>I’m happy with the web app – it even has <a href="https://2ality.com/2022/10/mastodon-getting-started.html#nice-features">several nice touches</a> where it is better than Twitter.</li><li>I’m not locked into an ecosystem that is controlled by a single company.</li></ul><p>That being said, Mastodon still has several major weaknesses. In this blog post, I collect those and explain what’s being done to fix them. It is not meant to be exhaustive: If there is a weakness that affects you and isn’t mentioned here, then please let us know in the comments.</p>
1ヶ月前
Ecma International approves ECMAScript 2024: What’s new?
2ality – JavaScript and more
<p>On 26 June 2024, the 127th Ecma General Assembly approved the ECMAScript 2024 language specification (<a href="https://ecma-international.org/news/ecma-international-approves-new-standards-9/">press release</a>, <a href="https://github.com/tc39/ecma262/releases/tag/es2024">GitHub release</a>), which means that it’s officially a standard now.</p><p>This blog post explains what’s new.</p>
6ヶ月前
ECMAScript 2024 features: resizing and transferring ArrayBuffers
2ality – JavaScript and more
<p>In this blog post, we examine ArrayBuffer features that were introduced in ECMAScript 2024:</p><ul><li><a href="https://github.com/tc39/proposal-resizablearraybuffer">“In-place resizable ArrayBuffers”</a>, proposed by Shu-yu Guo</li><li><a href="https://github.com/tc39/proposal-arraybuffer-transfer">“ArrayBuffer.prototype.transfer and friends”</a> proposed by Shu-yu Guo, Jordan Harband and Yagiz Nizipli</li></ul>
7ヶ月前
ECMAScript 2023 feature: symbols as WeakMap keys
2ality – JavaScript and more
<p>In this blog post, we take a look at the ECMAScript 2023 feature <a href="https://github.com/tc39/proposal-symbols-as-weakmap-keys">“Symbols as WeakMap keys”</a> – which was proposed by Robin Ricard, Rick Button, Daniel Ehrenberg, Leo Balter, Caridy Patiño, Rick Waldron, and Ashley Claymore.</p>
7ヶ月前
ECMAScript 2025 feature: duplicate named capturing groups for regular expressions
2ality – JavaScript and more
<p>In this blog post, we take a look at the ECMAScript 2025 feature <a href="https://github.com/tc39/proposal-duplicate-named-capturing-groups">“Duplicate named capturing groups”</a> which was proposed by Kevin Gibbons.</p><p>It’s a feature for regular expressions that enables us to use the same capturing group name more than once.</p>
7ヶ月前
ECMAScript 2024 feature: <code>Promise.withResolvers()</code>
2ality – JavaScript and more
<p>In this blog post we take a look at the ECMAScript 2024 feature <a href="https://github.com/tc39/proposal-promise-with-resolvers">“<code>Promise.withResolvers</code>”</a> (proposed by Peter Klecha). It provides a new way of directly creating Promises, as an alternative to <code>new Promise(...)</code>.</p>
7ヶ月前